{ "metadata": { "toolPackage": "@microsoft/api-extractor", "toolVersion": "7.41.0", "schemaVersion": 1011, "oldestForwardsCompatibleVersion": 1001, "tsdocConfig": { "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json", "noStandardTags": true, "tagDefinitions": [ { "tagName": "@alpha", "syntaxKind": "modifier" }, { "tagName": "@beta", "syntaxKind": "modifier" }, { "tagName": "@defaultValue", "syntaxKind": "block" }, { "tagName": "@decorator", "syntaxKind": "block", "allowMultiple": true }, { "tagName": "@deprecated", "syntaxKind": "block" }, { "tagName": "@eventProperty", "syntaxKind": "modifier" }, { "tagName": "@example", "syntaxKind": "block", "allowMultiple": true }, { "tagName": "@experimental", "syntaxKind": "modifier" }, { "tagName": "@inheritDoc", "syntaxKind": "inline" }, { "tagName": "@internal", "syntaxKind": "modifier" }, { "tagName": "@label", "syntaxKind": "inline" }, { "tagName": "@link", "syntaxKind": "inline", "allowMultiple": true }, { "tagName": "@override", "syntaxKind": "modifier" }, { "tagName": "@packageDocumentation", "syntaxKind": "modifier" }, { "tagName": "@param", "syntaxKind": "block", "allowMultiple": true }, { "tagName": "@privateRemarks", "syntaxKind": "block" }, { "tagName": "@public", "syntaxKind": "modifier" }, { "tagName": "@readonly", "syntaxKind": "modifier" }, { "tagName": "@remarks", "syntaxKind": "block" }, { "tagName": "@returns", "syntaxKind": "block" }, { "tagName": "@sealed", "syntaxKind": "modifier" }, { "tagName": "@see", "syntaxKind": "block" }, { "tagName": "@throws", "syntaxKind": "block", "allowMultiple": true }, { "tagName": "@typeParam", "syntaxKind": "block", "allowMultiple": true }, { "tagName": "@virtual", "syntaxKind": "modifier" }, { "tagName": "@betaDocumentation", "syntaxKind": "modifier" }, { "tagName": "@internalRemarks", "syntaxKind": "block" }, { "tagName": "@preapproved", "syntaxKind": "modifier" } ], "supportForTags": { "@alpha": true, "@beta": true, "@defaultValue": true, "@decorator": true, "@deprecated": true, "@eventProperty": true, "@example": true, "@experimental": true, "@inheritDoc": true, "@internal": true, "@label": true, "@link": true, "@override": true, "@packageDocumentation": true, "@param": true, "@privateRemarks": true, "@public": true, "@readonly": true, "@remarks": true, "@returns": true, "@sealed": true, "@see": true, "@throws": true, "@typeParam": true, "@virtual": true, "@betaDocumentation": true, "@internalRemarks": true, "@preapproved": true }, "reportUnsupportedHtmlElements": false } }, "kind": "Package", "canonicalReference": "tldraw!", "docComment": "", "name": "tldraw", "preserveMemberOrder": false, "members": [ { "kind": "EntryPoint", "canonicalReference": "tldraw!", "name": "", "preserveMemberOrder": false, "members": [ { "kind": "Function", "canonicalReference": "tldraw!AlignMenuItems:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function AlignMenuItems(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/ActionsMenu/DefaultActionsMenuContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "AlignMenuItems" }, { "kind": "Function", "canonicalReference": "tldraw!ArrangeMenuSubmenu:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ArrangeMenuSubmenu(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ArrangeMenuSubmenu" }, { "kind": "Function", "canonicalReference": "tldraw!ArrowheadStylePickerSet:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ArrowheadStylePickerSet({ styles }: " }, { "kind": "Content", "text": "{\n styles: " }, { "kind": "Reference", "text": "ReadonlySharedStyleMap", "canonicalReference": "@tldraw/editor!ReadonlySharedStyleMap:class" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/StylePanel/DefaultStylePanelContent.tsx", "returnTypeTokenRange": { "startIndex": 5, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ styles }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "isOptional": false } ], "name": "ArrowheadStylePickerSet" }, { "kind": "Class", "canonicalReference": "tldraw!ArrowShapeTool:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class ArrowShapeTool extends " }, { "kind": "Reference", "text": "StateNode", "canonicalReference": "@tldraw/editor!StateNode:class" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/shapes/arrow/ArrowShapeTool.ts", "releaseTag": "Public", "isAbstract": false, "name": "ArrowShapeTool", "preserveMemberOrder": false, "members": [ { "kind": "Property", "canonicalReference": "tldraw!ArrowShapeTool.children:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static children: " }, { "kind": "Content", "text": "() => (typeof " }, { "kind": "Reference", "text": "Idle", "canonicalReference": "tldraw!~Idle:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "Pointing", "canonicalReference": "tldraw!~Pointing:class" }, { "kind": "Content", "text": ")[]" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "children", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 6 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ArrowShapeTool.id:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static id: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "id", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ArrowShapeTool.initial:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static initial: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "initial", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ArrowShapeTool#shapeType:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "shapeType: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "shapeType", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 2 }, "implementsTokenRanges": [] }, { "kind": "Class", "canonicalReference": "tldraw!ArrowShapeUtil:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class ArrowShapeUtil extends " }, { "kind": "Reference", "text": "ShapeUtil", "canonicalReference": "@tldraw/editor!ShapeUtil:class" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLArrowShape", "canonicalReference": "@tldraw/tlschema!TLArrowShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/shapes/arrow/ArrowShapeUtil.tsx", "releaseTag": "Public", "isAbstract": false, "name": "ArrowShapeUtil", "preserveMemberOrder": false, "members": [ { "kind": "Property", "canonicalReference": "tldraw!ArrowShapeUtil#canBind:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "canBind: " }, { "kind": "Content", "text": "() => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "canBind", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ArrowShapeUtil#canEdit:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "canEdit: " }, { "kind": "Content", "text": "() => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "canEdit", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ArrowShapeUtil#canSnap:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "canSnap: " }, { "kind": "Content", "text": "() => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "canSnap", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!ArrowShapeUtil#component:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "component(shape: " }, { "kind": "Reference", "text": "TLArrowShape", "canonicalReference": "@tldraw/tlschema!TLArrowShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 6 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "component" }, { "kind": "Method", "canonicalReference": "tldraw!ArrowShapeUtil#getCanvasSvgDefs:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getCanvasSvgDefs(): " }, { "kind": "Reference", "text": "TLShapeUtilCanvasSvgDef", "canonicalReference": "@tldraw/editor!TLShapeUtilCanvasSvgDef:interface" }, { "kind": "Content", "text": "[]" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [], "isOptional": false, "isAbstract": false, "name": "getCanvasSvgDefs" }, { "kind": "Method", "canonicalReference": "tldraw!ArrowShapeUtil#getDefaultProps:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getDefaultProps(): " }, { "kind": "Reference", "text": "TLArrowShape", "canonicalReference": "@tldraw/tlschema!TLArrowShape:type" }, { "kind": "Content", "text": "['props']" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [], "isOptional": false, "isAbstract": false, "name": "getDefaultProps" }, { "kind": "Method", "canonicalReference": "tldraw!ArrowShapeUtil#getGeometry:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getGeometry(shape: " }, { "kind": "Reference", "text": "TLArrowShape", "canonicalReference": "@tldraw/tlschema!TLArrowShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "Group2d", "canonicalReference": "@tldraw/editor!Group2d:class" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "getGeometry" }, { "kind": "Method", "canonicalReference": "tldraw!ArrowShapeUtil#getHandles:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getHandles(shape: " }, { "kind": "Reference", "text": "TLArrowShape", "canonicalReference": "@tldraw/tlschema!TLArrowShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "TLHandle", "canonicalReference": "@tldraw/tlschema!TLHandle:interface" }, { "kind": "Content", "text": "[]" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "getHandles" }, { "kind": "Property", "canonicalReference": "tldraw!ArrowShapeUtil#hideResizeHandles:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "hideResizeHandles: " }, { "kind": "Reference", "text": "TLShapeUtilFlag", "canonicalReference": "@tldraw/editor!TLShapeUtilFlag:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLArrowShape", "canonicalReference": "@tldraw/tlschema!TLArrowShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "hideResizeHandles", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ArrowShapeUtil#hideRotateHandle:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "hideRotateHandle: " }, { "kind": "Reference", "text": "TLShapeUtilFlag", "canonicalReference": "@tldraw/editor!TLShapeUtilFlag:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLArrowShape", "canonicalReference": "@tldraw/tlschema!TLArrowShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "hideRotateHandle", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ArrowShapeUtil#hideSelectionBoundsBg:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "hideSelectionBoundsBg: " }, { "kind": "Reference", "text": "TLShapeUtilFlag", "canonicalReference": "@tldraw/editor!TLShapeUtilFlag:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLArrowShape", "canonicalReference": "@tldraw/tlschema!TLArrowShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "hideSelectionBoundsBg", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ArrowShapeUtil#hideSelectionBoundsFg:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "hideSelectionBoundsFg: " }, { "kind": "Reference", "text": "TLShapeUtilFlag", "canonicalReference": "@tldraw/editor!TLShapeUtilFlag:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLArrowShape", "canonicalReference": "@tldraw/tlschema!TLArrowShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "hideSelectionBoundsFg", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!ArrowShapeUtil#indicator:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "indicator(shape: " }, { "kind": "Reference", "text": "TLArrowShape", "canonicalReference": "@tldraw/tlschema!TLArrowShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 6 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "indicator" }, { "kind": "Property", "canonicalReference": "tldraw!ArrowShapeUtil.migrations:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static migrations: " }, { "kind": "Content", "text": "import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Migrations", "canonicalReference": "@tldraw/store!Migrations:interface" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "migrations", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ArrowShapeUtil#onDoubleClickHandle:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onDoubleClickHandle: " }, { "kind": "Content", "text": "(shape: " }, { "kind": "Reference", "text": "TLArrowShape", "canonicalReference": "@tldraw/tlschema!TLArrowShape:type" }, { "kind": "Content", "text": ", handle: " }, { "kind": "Reference", "text": "TLHandle", "canonicalReference": "@tldraw/tlschema!TLHandle:interface" }, { "kind": "Content", "text": ") => " }, { "kind": "Reference", "text": "TLShapePartial", "canonicalReference": "@tldraw/tlschema!TLShapePartial:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLArrowShape", "canonicalReference": "@tldraw/tlschema!TLArrowShape:type" }, { "kind": "Content", "text": "> | void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onDoubleClickHandle", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 10 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ArrowShapeUtil#onEditEnd:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onEditEnd: " }, { "kind": "Reference", "text": "TLOnEditEndHandler", "canonicalReference": "@tldraw/editor!TLOnEditEndHandler:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLArrowShape", "canonicalReference": "@tldraw/tlschema!TLArrowShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onEditEnd", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ArrowShapeUtil#onHandleDrag:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onHandleDrag: " }, { "kind": "Reference", "text": "TLOnHandleDragHandler", "canonicalReference": "@tldraw/editor!TLOnHandleDragHandler:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLArrowShape", "canonicalReference": "@tldraw/tlschema!TLArrowShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onHandleDrag", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ArrowShapeUtil#onResize:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onResize: " }, { "kind": "Reference", "text": "TLOnResizeHandler", "canonicalReference": "@tldraw/editor!TLOnResizeHandler:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLArrowShape", "canonicalReference": "@tldraw/tlschema!TLArrowShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onResize", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ArrowShapeUtil#onTranslate:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onTranslate?: " }, { "kind": "Reference", "text": "TLOnTranslateHandler", "canonicalReference": "@tldraw/editor!TLOnTranslateHandler:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLArrowShape", "canonicalReference": "@tldraw/tlschema!TLArrowShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "onTranslate", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ArrowShapeUtil#onTranslateStart:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onTranslateStart: " }, { "kind": "Reference", "text": "TLOnTranslateStartHandler", "canonicalReference": "@tldraw/editor!TLOnTranslateStartHandler:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLArrowShape", "canonicalReference": "@tldraw/tlschema!TLArrowShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onTranslateStart", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ArrowShapeUtil.props:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static props: " }, { "kind": "Content", "text": "{\n labelColor: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"black\" | \"blue\" | \"green\" | \"grey\" | \"light-blue\" | \"light-green\" | \"light-red\" | \"light-violet\" | \"orange\" | \"red\" | \"violet\" | \"yellow\">;\n color: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"black\" | \"blue\" | \"green\" | \"grey\" | \"light-blue\" | \"light-green\" | \"light-red\" | \"light-violet\" | \"orange\" | \"red\" | \"violet\" | \"yellow\">;\n fill: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"none\" | \"pattern\" | \"semi\" | \"solid\">;\n dash: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"dashed\" | \"dotted\" | \"draw\" | \"solid\">;\n size: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"l\" | \"m\" | \"s\" | \"xl\">;\n arrowheadStart: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"arrow\" | \"bar\" | \"diamond\" | \"dot\" | \"inverted\" | \"none\" | \"pipe\" | \"square\" | \"triangle\">;\n arrowheadEnd: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"arrow\" | \"bar\" | \"diamond\" | \"dot\" | \"inverted\" | \"none\" | \"pipe\" | \"square\" | \"triangle\">;\n font: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"draw\" | \"mono\" | \"sans\" | \"serif\">;\n start: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "UnionValidator", "canonicalReference": "@tldraw/validate!UnionValidator:class" }, { "kind": "Content", "text": "<\"type\", {\n binding: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "ObjectValidator", "canonicalReference": "@tldraw/validate!ObjectValidator:class" }, { "kind": "Content", "text": "<{\n type: \"binding\";\n boundShapeId: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "TLShapeId", "canonicalReference": "@tldraw/tlschema!TLShapeId:type" }, { "kind": "Content", "text": ";\n normalizedAnchor: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "VecModel", "canonicalReference": "@tldraw/tlschema!VecModel:interface" }, { "kind": "Content", "text": ";\n isExact: boolean;\n isPrecise: boolean;\n }>;\n point: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "ObjectValidator", "canonicalReference": "@tldraw/validate!ObjectValidator:class" }, { "kind": "Content", "text": "<{\n x: number;\n y: number;\n type: \"point\";\n }>;\n }, never>;\n end: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "UnionValidator", "canonicalReference": "@tldraw/validate!UnionValidator:class" }, { "kind": "Content", "text": "<\"type\", {\n binding: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "ObjectValidator", "canonicalReference": "@tldraw/validate!ObjectValidator:class" }, { "kind": "Content", "text": "<{\n type: \"binding\";\n boundShapeId: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "TLShapeId", "canonicalReference": "@tldraw/tlschema!TLShapeId:type" }, { "kind": "Content", "text": ";\n normalizedAnchor: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "VecModel", "canonicalReference": "@tldraw/tlschema!VecModel:interface" }, { "kind": "Content", "text": ";\n isExact: boolean;\n isPrecise: boolean;\n }>;\n point: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "ObjectValidator", "canonicalReference": "@tldraw/validate!ObjectValidator:class" }, { "kind": "Content", "text": "<{\n x: number;\n y: number;\n type: \"point\";\n }>;\n }, never>;\n bend: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n text: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n labelPosition: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "props", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 44 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!ArrowShapeUtil#toSvg:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "toSvg(shape: " }, { "kind": "Reference", "text": "TLArrowShape", "canonicalReference": "@tldraw/tlschema!TLArrowShape:type" }, { "kind": "Content", "text": ", ctx: " }, { "kind": "Reference", "text": "SvgExportContext", "canonicalReference": "@tldraw/editor!SvgExportContext:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "SVGGElement", "canonicalReference": "!SVGGElement:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "ctx", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "toSvg" }, { "kind": "Property", "canonicalReference": "tldraw!ArrowShapeUtil.type:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static type: " }, { "kind": "Content", "text": "\"arrow\"" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "type", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 5 }, "implementsTokenRanges": [] }, { "kind": "Class", "canonicalReference": "tldraw!BookmarkShapeUtil:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class BookmarkShapeUtil extends " }, { "kind": "Reference", "text": "BaseBoxShapeUtil", "canonicalReference": "@tldraw/editor!BaseBoxShapeUtil:class" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLBookmarkShape", "canonicalReference": "@tldraw/tlschema!TLBookmarkShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/shapes/bookmark/BookmarkShapeUtil.tsx", "releaseTag": "Public", "isAbstract": false, "name": "BookmarkShapeUtil", "preserveMemberOrder": false, "members": [ { "kind": "Property", "canonicalReference": "tldraw!BookmarkShapeUtil#canResize:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "canResize: " }, { "kind": "Content", "text": "() => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "canResize", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!BookmarkShapeUtil#component:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "component(shape: " }, { "kind": "Reference", "text": "TLBookmarkShape", "canonicalReference": "@tldraw/tlschema!TLBookmarkShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "component" }, { "kind": "Method", "canonicalReference": "tldraw!BookmarkShapeUtil#getDefaultProps:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getDefaultProps(): " }, { "kind": "Reference", "text": "TLBookmarkShape", "canonicalReference": "@tldraw/tlschema!TLBookmarkShape:type" }, { "kind": "Content", "text": "['props']" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [], "isOptional": false, "isAbstract": false, "name": "getDefaultProps" }, { "kind": "Property", "canonicalReference": "tldraw!BookmarkShapeUtil#hideSelectionBoundsFg:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "hideSelectionBoundsFg: " }, { "kind": "Content", "text": "() => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "hideSelectionBoundsFg", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!BookmarkShapeUtil#indicator:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "indicator(shape: " }, { "kind": "Reference", "text": "TLBookmarkShape", "canonicalReference": "@tldraw/tlschema!TLBookmarkShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "indicator" }, { "kind": "Property", "canonicalReference": "tldraw!BookmarkShapeUtil.migrations:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static migrations: " }, { "kind": "Content", "text": "import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Migrations", "canonicalReference": "@tldraw/store!Migrations:interface" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "migrations", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!BookmarkShapeUtil#onBeforeCreate:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onBeforeCreate?: " }, { "kind": "Reference", "text": "TLOnBeforeCreateHandler", "canonicalReference": "@tldraw/editor!TLOnBeforeCreateHandler:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLBookmarkShape", "canonicalReference": "@tldraw/tlschema!TLBookmarkShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "onBeforeCreate", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!BookmarkShapeUtil#onBeforeUpdate:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onBeforeUpdate?: " }, { "kind": "Reference", "text": "TLOnBeforeUpdateHandler", "canonicalReference": "@tldraw/editor!TLOnBeforeUpdateHandler:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLBookmarkShape", "canonicalReference": "@tldraw/tlschema!TLBookmarkShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "onBeforeUpdate", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!BookmarkShapeUtil.props:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static props: " }, { "kind": "Content", "text": "{\n w: " }, { "kind": "Reference", "text": "T.Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n h: " }, { "kind": "Reference", "text": "T.Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n assetId: " }, { "kind": "Reference", "text": "T.Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n url: " }, { "kind": "Reference", "text": "T.Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "props", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 12 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!BookmarkShapeUtil.type:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static type: " }, { "kind": "Content", "text": "\"bookmark\"" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "type", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 5 }, "implementsTokenRanges": [] }, { "kind": "Function", "canonicalReference": "tldraw!BreakPointProvider:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function BreakPointProvider({ forceMobile, children, }: " }, { "kind": "Content", "text": "{\n forceMobile?: boolean;\n children: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/breakpoints.tsx", "returnTypeTokenRange": { "startIndex": 5, "endIndex": 7 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ forceMobile, children, }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "isOptional": false } ], "name": "BreakPointProvider" }, { "kind": "Function", "canonicalReference": "tldraw!ClipboardMenuGroup:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ClipboardMenuGroup(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ClipboardMenuGroup" }, { "kind": "Function", "canonicalReference": "tldraw!CommonStylePickerSet:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function CommonStylePickerSet({ styles }: " }, { "kind": "Content", "text": "{\n styles: " }, { "kind": "Reference", "text": "ReadonlySharedStyleMap", "canonicalReference": "@tldraw/editor!ReadonlySharedStyleMap:class" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/StylePanel/DefaultStylePanelContent.tsx", "returnTypeTokenRange": { "startIndex": 5, "endIndex": 7 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ styles }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "isOptional": false } ], "name": "CommonStylePickerSet" }, { "kind": "Function", "canonicalReference": "tldraw!containBoxSize:function(1)", "docComment": "/**\n * Contains the size within the given box size\n *\n * @param originalSize - The size of the asset\n *\n * @param containBoxSize - The container size\n *\n * @returns Adjusted size\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function containBoxSize(originalSize: " }, { "kind": "Reference", "text": "BoxWidthHeight", "canonicalReference": "tldraw!~BoxWidthHeight:type" }, { "kind": "Content", "text": ", containBoxSize: " }, { "kind": "Reference", "text": "BoxWidthHeight", "canonicalReference": "tldraw!~BoxWidthHeight:type" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "BoxWidthHeight", "canonicalReference": "tldraw!~BoxWidthHeight:type" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/utils/assets/assets.ts", "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "originalSize", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "containBoxSize", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false } ], "name": "containBoxSize" }, { "kind": "Function", "canonicalReference": "tldraw!ConversionsMenuGroup:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ConversionsMenuGroup(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ConversionsMenuGroup" }, { "kind": "Function", "canonicalReference": "tldraw!ConvertToBookmarkMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ConvertToBookmarkMenuItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ConvertToBookmarkMenuItem" }, { "kind": "Function", "canonicalReference": "tldraw!ConvertToEmbedMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ConvertToEmbedMenuItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ConvertToEmbedMenuItem" }, { "kind": "Function", "canonicalReference": "tldraw!copyAs:function(1)", "docComment": "/**\n * Copy the given shapes to the clipboard.\n *\n * @param editor - The editor instance.\n *\n * @param ids - The ids of the shapes to copy.\n *\n * @param format - The format to copy as.\n *\n * @param opts - Options for the copy.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function copyAs(editor: " }, { "kind": "Reference", "text": "Editor", "canonicalReference": "@tldraw/editor!Editor:class" }, { "kind": "Content", "text": ", ids: " }, { "kind": "Reference", "text": "TLShapeId", "canonicalReference": "@tldraw/tlschema!TLShapeId:type" }, { "kind": "Content", "text": "[]" }, { "kind": "Content", "text": ", format?: " }, { "kind": "Reference", "text": "TLCopyType", "canonicalReference": "tldraw!~TLCopyType:type" }, { "kind": "Content", "text": ", opts?: " }, { "kind": "Reference", "text": "Partial", "canonicalReference": "!Partial:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLSvgOptions", "canonicalReference": "@tldraw/editor!TLSvgOptions:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "Promise", "canonicalReference": "!Promise:interface" }, { "kind": "Content", "text": "" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/utils/export/copyAs.ts", "returnTypeTokenRange": { "startIndex": 13, "endIndex": 15 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "editor", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "ids", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "isOptional": false }, { "parameterName": "format", "parameterTypeTokenRange": { "startIndex": 6, "endIndex": 7 }, "isOptional": true }, { "parameterName": "opts", "parameterTypeTokenRange": { "startIndex": 8, "endIndex": 12 }, "isOptional": true } ], "name": "copyAs" }, { "kind": "Function", "canonicalReference": "tldraw!CopyAsMenuGroup:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function CopyAsMenuGroup(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "CopyAsMenuGroup" }, { "kind": "Function", "canonicalReference": "tldraw!CopyMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function CopyMenuItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "CopyMenuItem" }, { "kind": "Function", "canonicalReference": "tldraw!CutMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function CutMenuItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "CutMenuItem" }, { "kind": "Function", "canonicalReference": "tldraw!DebugFlags:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function DebugFlags(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/DebugMenu/DefaultDebugMenuContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "DebugFlags" }, { "kind": "Variable", "canonicalReference": "tldraw!DEFAULT_ACCEPTED_IMG_TYPE:var", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "DEFAULT_ACCEPTED_IMG_TYPE: " }, { "kind": "Content", "text": "string[]" } ], "fileUrlPath": "packages/tldraw/src/lib/utils/assets/assets.ts", "isReadonly": true, "releaseTag": "Public", "name": "DEFAULT_ACCEPTED_IMG_TYPE", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "Variable", "canonicalReference": "tldraw!DEFAULT_ACCEPTED_VID_TYPE:var", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "DEFAULT_ACCEPTED_VID_TYPE: " }, { "kind": "Content", "text": "string[]" } ], "fileUrlPath": "packages/tldraw/src/lib/utils/assets/assets.ts", "isReadonly": true, "releaseTag": "Public", "name": "DEFAULT_ACCEPTED_VID_TYPE", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "Variable", "canonicalReference": "tldraw!DefaultActionsMenu:var", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "DefaultActionsMenu: " }, { "kind": "Content", "text": "import(\"react\")." }, { "kind": "Reference", "text": "NamedExoticComponent", "canonicalReference": "@types/react!React.NamedExoticComponent:interface" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiActionsMenuProps", "canonicalReference": "tldraw!TLUiActionsMenuProps:type" }, { "kind": "Content", "text": ">" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/ActionsMenu/DefaultActionsMenu.tsx", "isReadonly": true, "releaseTag": "Public", "name": "DefaultActionsMenu", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 6 } }, { "kind": "Function", "canonicalReference": "tldraw!DefaultActionsMenuContent:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function DefaultActionsMenuContent(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/ActionsMenu/DefaultActionsMenuContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "DefaultActionsMenuContent" }, { "kind": "Variable", "canonicalReference": "tldraw!DefaultContextMenu:var", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "DefaultContextMenu: " }, { "kind": "Content", "text": "import(\"react\")." }, { "kind": "Reference", "text": "NamedExoticComponent", "canonicalReference": "@types/react!React.NamedExoticComponent:interface" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiContextMenuProps", "canonicalReference": "tldraw!TLUiContextMenuProps:interface" }, { "kind": "Content", "text": ">" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/ContextMenu/DefaultContextMenu.tsx", "isReadonly": true, "releaseTag": "Public", "name": "DefaultContextMenu", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 6 } }, { "kind": "Function", "canonicalReference": "tldraw!DefaultContextMenuContent:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function DefaultContextMenuContent(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/ContextMenu/DefaultContextMenuContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "DefaultContextMenuContent" }, { "kind": "Function", "canonicalReference": "tldraw!DefaultDebugMenu:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function DefaultDebugMenu({ children }: " }, { "kind": "Reference", "text": "TLUiDebugMenuProps", "canonicalReference": "tldraw!TLUiDebugMenuProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/DebugMenu/DefaultDebugMenu.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ children }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "DefaultDebugMenu" }, { "kind": "Function", "canonicalReference": "tldraw!DefaultDebugMenuContent:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function DefaultDebugMenuContent(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/DebugMenu/DefaultDebugMenuContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "DefaultDebugMenuContent" }, { "kind": "Function", "canonicalReference": "tldraw!DefaultHelperButtons:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function DefaultHelperButtons({ children }: " }, { "kind": "Reference", "text": "TLUiHelperButtonsProps", "canonicalReference": "tldraw!TLUiHelperButtonsProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/HelperButtons/DefaultHelperButtons.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ children }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "DefaultHelperButtons" }, { "kind": "Function", "canonicalReference": "tldraw!DefaultHelperButtonsContent:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function DefaultHelperButtonsContent(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/HelperButtons/DefaultHelperButtonsContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "DefaultHelperButtonsContent" }, { "kind": "Variable", "canonicalReference": "tldraw!DefaultHelpMenu:var", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "DefaultHelpMenu: " }, { "kind": "Content", "text": "import(\"react\")." }, { "kind": "Reference", "text": "NamedExoticComponent", "canonicalReference": "@types/react!React.NamedExoticComponent:interface" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiHelpMenuProps", "canonicalReference": "tldraw!TLUiHelpMenuProps:type" }, { "kind": "Content", "text": ">" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/HelpMenu/DefaultHelpMenu.tsx", "isReadonly": true, "releaseTag": "Public", "name": "DefaultHelpMenu", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 6 } }, { "kind": "Function", "canonicalReference": "tldraw!DefaultHelpMenuContent:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function DefaultHelpMenuContent(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/HelpMenu/DefaultHelpMenuContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "DefaultHelpMenuContent" }, { "kind": "Variable", "canonicalReference": "tldraw!DefaultKeyboardShortcutsDialog:var", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "DefaultKeyboardShortcutsDialog: " }, { "kind": "Content", "text": "import(\"react\")." }, { "kind": "Reference", "text": "NamedExoticComponent", "canonicalReference": "@types/react!React.NamedExoticComponent:interface" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiKeyboardShortcutsDialogProps", "canonicalReference": "tldraw!TLUiKeyboardShortcutsDialogProps:type" }, { "kind": "Content", "text": ">" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/KeyboardShortcutsDialog/DefaultKeyboardShortcutsDialog.tsx", "isReadonly": true, "releaseTag": "Public", "name": "DefaultKeyboardShortcutsDialog", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 6 } }, { "kind": "Function", "canonicalReference": "tldraw!DefaultKeyboardShortcutsDialogContent:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function DefaultKeyboardShortcutsDialogContent(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/KeyboardShortcutsDialog/DefaultKeyboardShortcutsDialogContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "DefaultKeyboardShortcutsDialogContent" }, { "kind": "Variable", "canonicalReference": "tldraw!DefaultMainMenu:var", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "DefaultMainMenu: " }, { "kind": "Content", "text": "import(\"react\")." }, { "kind": "Reference", "text": "NamedExoticComponent", "canonicalReference": "@types/react!React.NamedExoticComponent:interface" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiMainMenuProps", "canonicalReference": "tldraw!TLUiMainMenuProps:type" }, { "kind": "Content", "text": ">" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/MainMenu/DefaultMainMenu.tsx", "isReadonly": true, "releaseTag": "Public", "name": "DefaultMainMenu", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 6 } }, { "kind": "Function", "canonicalReference": "tldraw!DefaultMainMenuContent:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function DefaultMainMenuContent(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/MainMenu/DefaultMainMenuContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "DefaultMainMenuContent" }, { "kind": "Function", "canonicalReference": "tldraw!DefaultMinimap:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function DefaultMinimap(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/Minimap/DefaultMinimap.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "DefaultMinimap" }, { "kind": "Variable", "canonicalReference": "tldraw!DefaultPageMenu:var", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "DefaultPageMenu: " }, { "kind": "Content", "text": "import(\"react\")." }, { "kind": "Reference", "text": "NamedExoticComponent", "canonicalReference": "@types/react!React.NamedExoticComponent:interface" }, { "kind": "Content", "text": "" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/PageMenu/DefaultPageMenu.tsx", "isReadonly": true, "releaseTag": "Public", "name": "DefaultPageMenu", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "Variable", "canonicalReference": "tldraw!DefaultQuickActions:var", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "DefaultQuickActions: " }, { "kind": "Content", "text": "import(\"react\")." }, { "kind": "Reference", "text": "NamedExoticComponent", "canonicalReference": "@types/react!React.NamedExoticComponent:interface" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiQuickActionsProps", "canonicalReference": "tldraw!TLUiQuickActionsProps:type" }, { "kind": "Content", "text": ">" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/QuickActions/DefaultQuickActions.tsx", "isReadonly": true, "releaseTag": "Public", "name": "DefaultQuickActions", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 6 } }, { "kind": "Function", "canonicalReference": "tldraw!DefaultQuickActionsContent:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function DefaultQuickActionsContent(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | undefined" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/QuickActions/DefaultQuickActionsContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "DefaultQuickActionsContent" }, { "kind": "Variable", "canonicalReference": "tldraw!defaultShapeTools:var", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "defaultShapeTools: " }, { "kind": "Content", "text": "(typeof " }, { "kind": "Reference", "text": "ArrowShapeTool", "canonicalReference": "tldraw!ArrowShapeTool:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "DrawShapeTool", "canonicalReference": "tldraw!DrawShapeTool:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "FrameShapeTool", "canonicalReference": "tldraw!FrameShapeTool:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "GeoShapeTool", "canonicalReference": "tldraw!GeoShapeTool:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "LineShapeTool", "canonicalReference": "tldraw!LineShapeTool:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "NoteShapeTool", "canonicalReference": "tldraw!NoteShapeTool:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "TextShapeTool", "canonicalReference": "tldraw!TextShapeTool:class" }, { "kind": "Content", "text": ")[]" } ], "fileUrlPath": "packages/tldraw/src/lib/defaultShapeTools.ts", "isReadonly": true, "releaseTag": "Public", "name": "defaultShapeTools", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 16 } }, { "kind": "Variable", "canonicalReference": "tldraw!defaultShapeUtils:var", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "defaultShapeUtils: " }, { "kind": "Reference", "text": "TLAnyShapeUtilConstructor", "canonicalReference": "@tldraw/editor!TLAnyShapeUtilConstructor:type" }, { "kind": "Content", "text": "[]" } ], "fileUrlPath": "packages/tldraw/src/lib/defaultShapeUtils.ts", "isReadonly": true, "releaseTag": "Public", "name": "defaultShapeUtils", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 3 } }, { "kind": "Variable", "canonicalReference": "tldraw!DefaultStylePanel:var", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "DefaultStylePanel: " }, { "kind": "Content", "text": "import(\"react\")." }, { "kind": "Reference", "text": "NamedExoticComponent", "canonicalReference": "@types/react!React.NamedExoticComponent:interface" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiStylePanelProps", "canonicalReference": "tldraw!TLUiStylePanelProps:interface" }, { "kind": "Content", "text": ">" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/StylePanel/DefaultStylePanel.tsx", "isReadonly": true, "releaseTag": "Public", "name": "DefaultStylePanel", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 6 } }, { "kind": "Function", "canonicalReference": "tldraw!DefaultStylePanelContent:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function DefaultStylePanelContent({ styles }: " }, { "kind": "Reference", "text": "TLUiStylePanelContentProps", "canonicalReference": "tldraw!TLUiStylePanelContentProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/StylePanel/DefaultStylePanelContent.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ styles }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "DefaultStylePanelContent" }, { "kind": "Variable", "canonicalReference": "tldraw!DefaultToolbar:var", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "DefaultToolbar: " }, { "kind": "Reference", "text": "React.NamedExoticComponent", "canonicalReference": "@types/react!React.NamedExoticComponent:interface" }, { "kind": "Content", "text": "" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/Toolbar/DefaultToolbar.tsx", "isReadonly": true, "releaseTag": "Public", "name": "DefaultToolbar", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 3 } }, { "kind": "Variable", "canonicalReference": "tldraw!defaultTools:var", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "defaultTools: " }, { "kind": "Content", "text": "(typeof " }, { "kind": "Reference", "text": "EraserTool", "canonicalReference": "tldraw!EraserTool:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "HandTool", "canonicalReference": "tldraw!HandTool:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "LaserTool", "canonicalReference": "tldraw!LaserTool:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "SelectTool", "canonicalReference": "tldraw!SelectTool:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "ZoomTool", "canonicalReference": "tldraw!ZoomTool:class" }, { "kind": "Content", "text": ")[]" } ], "fileUrlPath": "packages/tldraw/src/lib/defaultTools.ts", "isReadonly": true, "releaseTag": "Public", "name": "defaultTools", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 12 } }, { "kind": "Variable", "canonicalReference": "tldraw!DefaultZoomMenu:var", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "DefaultZoomMenu: " }, { "kind": "Content", "text": "import(\"react\")." }, { "kind": "Reference", "text": "NamedExoticComponent", "canonicalReference": "@types/react!React.NamedExoticComponent:interface" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiZoomMenuProps", "canonicalReference": "tldraw!TLUiZoomMenuProps:type" }, { "kind": "Content", "text": ">" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/ZoomMenu/DefaultZoomMenu.tsx", "isReadonly": true, "releaseTag": "Public", "name": "DefaultZoomMenu", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 6 } }, { "kind": "Function", "canonicalReference": "tldraw!DefaultZoomMenuContent:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function DefaultZoomMenuContent(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/ZoomMenu/DefaultZoomMenuContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "DefaultZoomMenuContent" }, { "kind": "Function", "canonicalReference": "tldraw!DeleteMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function DeleteMenuItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "DeleteMenuItem" }, { "kind": "Function", "canonicalReference": "tldraw!DistributeMenuItems:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function DistributeMenuItems(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/ActionsMenu/DefaultActionsMenuContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "DistributeMenuItems" }, { "kind": "Function", "canonicalReference": "tldraw!downsizeImage:function(1)", "docComment": "/**\n * Resize an image Blob to be smaller than it is currently.\n *\n * @param image - The image Blob.\n *\n * @param width - The desired width.\n *\n * @param height - The desired height.\n *\n * @param opts - Options for the image.\n *\n * @example\n * ```ts\n * const image = await (await fetch('/image.jpg')).blob()\n * const size = await getImageSize(image)\n * const resizedImage = await downsizeImage(image, size.w / 2, size.h / 2, { type: \"image/jpeg\", quality: 0.92 })\n * ```\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function downsizeImage(blob: " }, { "kind": "Reference", "text": "Blob", "canonicalReference": "!Blob:interface" }, { "kind": "Content", "text": ", width: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", height: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ", opts?: " }, { "kind": "Content", "text": "{\n type?: string | undefined;\n quality?: number | undefined;\n}" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "Promise", "canonicalReference": "!Promise:interface" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "Blob", "canonicalReference": "!Blob:interface" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/utils/assets/assets.ts", "returnTypeTokenRange": { "startIndex": 9, "endIndex": 13 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "blob", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "width", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false }, { "parameterName": "height", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "isOptional": false }, { "parameterName": "opts", "parameterTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "isOptional": true } ], "name": "downsizeImage" }, { "kind": "Class", "canonicalReference": "tldraw!DrawShapeTool:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class DrawShapeTool extends " }, { "kind": "Reference", "text": "StateNode", "canonicalReference": "@tldraw/editor!StateNode:class" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/shapes/draw/DrawShapeTool.ts", "releaseTag": "Public", "isAbstract": false, "name": "DrawShapeTool", "preserveMemberOrder": false, "members": [ { "kind": "Property", "canonicalReference": "tldraw!DrawShapeTool.children:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static children: " }, { "kind": "Content", "text": "() => (typeof " }, { "kind": "Reference", "text": "Drawing", "canonicalReference": "tldraw!~Drawing:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "Idle", "canonicalReference": "tldraw!~Idle_2:class" }, { "kind": "Content", "text": ")[]" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "children", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 6 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!DrawShapeTool.id:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static id: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "id", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!DrawShapeTool.initial:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static initial: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "initial", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!DrawShapeTool#onExit:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onExit: " }, { "kind": "Content", "text": "() => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onExit", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!DrawShapeTool#shapeType:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "shapeType: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "shapeType", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 2 }, "implementsTokenRanges": [] }, { "kind": "Class", "canonicalReference": "tldraw!DrawShapeUtil:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class DrawShapeUtil extends " }, { "kind": "Reference", "text": "ShapeUtil", "canonicalReference": "@tldraw/editor!ShapeUtil:class" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLDrawShape", "canonicalReference": "@tldraw/tlschema!TLDrawShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/shapes/draw/DrawShapeUtil.tsx", "releaseTag": "Public", "isAbstract": false, "name": "DrawShapeUtil", "preserveMemberOrder": false, "members": [ { "kind": "Method", "canonicalReference": "tldraw!DrawShapeUtil#component:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "component(shape: " }, { "kind": "Reference", "text": "TLDrawShape", "canonicalReference": "@tldraw/tlschema!TLDrawShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "component" }, { "kind": "Method", "canonicalReference": "tldraw!DrawShapeUtil#expandSelectionOutlinePx:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "expandSelectionOutlinePx(shape: " }, { "kind": "Reference", "text": "TLDrawShape", "canonicalReference": "@tldraw/tlschema!TLDrawShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "expandSelectionOutlinePx" }, { "kind": "Method", "canonicalReference": "tldraw!DrawShapeUtil#getCanvasSvgDefs:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getCanvasSvgDefs(): " }, { "kind": "Reference", "text": "TLShapeUtilCanvasSvgDef", "canonicalReference": "@tldraw/editor!TLShapeUtilCanvasSvgDef:interface" }, { "kind": "Content", "text": "[]" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [], "isOptional": false, "isAbstract": false, "name": "getCanvasSvgDefs" }, { "kind": "Method", "canonicalReference": "tldraw!DrawShapeUtil#getDefaultProps:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getDefaultProps(): " }, { "kind": "Reference", "text": "TLDrawShape", "canonicalReference": "@tldraw/tlschema!TLDrawShape:type" }, { "kind": "Content", "text": "['props']" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [], "isOptional": false, "isAbstract": false, "name": "getDefaultProps" }, { "kind": "Method", "canonicalReference": "tldraw!DrawShapeUtil#getGeometry:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getGeometry(shape: " }, { "kind": "Reference", "text": "TLDrawShape", "canonicalReference": "@tldraw/tlschema!TLDrawShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "Circle2d", "canonicalReference": "@tldraw/editor!Circle2d:class" }, { "kind": "Content", "text": " | " }, { "kind": "Reference", "text": "Polyline2d", "canonicalReference": "@tldraw/editor!Polyline2d:class" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 6 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "getGeometry" }, { "kind": "Property", "canonicalReference": "tldraw!DrawShapeUtil#hideResizeHandles:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "hideResizeHandles: " }, { "kind": "Content", "text": "(shape: " }, { "kind": "Reference", "text": "TLDrawShape", "canonicalReference": "@tldraw/tlschema!TLDrawShape:type" }, { "kind": "Content", "text": ") => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "hideResizeHandles", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!DrawShapeUtil#hideRotateHandle:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "hideRotateHandle: " }, { "kind": "Content", "text": "(shape: " }, { "kind": "Reference", "text": "TLDrawShape", "canonicalReference": "@tldraw/tlschema!TLDrawShape:type" }, { "kind": "Content", "text": ") => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "hideRotateHandle", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!DrawShapeUtil#hideSelectionBoundsFg:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "hideSelectionBoundsFg: " }, { "kind": "Content", "text": "(shape: " }, { "kind": "Reference", "text": "TLDrawShape", "canonicalReference": "@tldraw/tlschema!TLDrawShape:type" }, { "kind": "Content", "text": ") => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "hideSelectionBoundsFg", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!DrawShapeUtil#indicator:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "indicator(shape: " }, { "kind": "Reference", "text": "TLDrawShape", "canonicalReference": "@tldraw/tlschema!TLDrawShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "indicator" }, { "kind": "Property", "canonicalReference": "tldraw!DrawShapeUtil.migrations:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static migrations: " }, { "kind": "Content", "text": "import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Migrations", "canonicalReference": "@tldraw/store!Migrations:interface" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "migrations", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!DrawShapeUtil#onResize:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onResize: " }, { "kind": "Reference", "text": "TLOnResizeHandler", "canonicalReference": "@tldraw/editor!TLOnResizeHandler:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLDrawShape", "canonicalReference": "@tldraw/tlschema!TLDrawShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onResize", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!DrawShapeUtil.props:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static props: " }, { "kind": "Content", "text": "{\n color: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"black\" | \"blue\" | \"green\" | \"grey\" | \"light-blue\" | \"light-green\" | \"light-red\" | \"light-violet\" | \"orange\" | \"red\" | \"violet\" | \"yellow\">;\n fill: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"none\" | \"pattern\" | \"semi\" | \"solid\">;\n dash: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"dashed\" | \"dotted\" | \"draw\" | \"solid\">;\n size: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"l\" | \"m\" | \"s\" | \"xl\">;\n segments: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "ArrayOfValidator", "canonicalReference": "@tldraw/validate!ArrayOfValidator:class" }, { "kind": "Content", "text": "<{\n type: \"free\" | \"straight\";\n points: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "VecModel", "canonicalReference": "@tldraw/tlschema!VecModel:interface" }, { "kind": "Content", "text": "[];\n }>;\n isComplete: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n isClosed: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n isPen: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "props", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 20 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!DrawShapeUtil#toSvg:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "toSvg(shape: " }, { "kind": "Reference", "text": "TLDrawShape", "canonicalReference": "@tldraw/tlschema!TLDrawShape:type" }, { "kind": "Content", "text": ", ctx: " }, { "kind": "Reference", "text": "SvgExportContext", "canonicalReference": "@tldraw/editor!SvgExportContext:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "SVGGElement", "canonicalReference": "!SVGGElement:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "ctx", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "toSvg" }, { "kind": "Property", "canonicalReference": "tldraw!DrawShapeUtil.type:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static type: " }, { "kind": "Content", "text": "\"draw\"" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "type", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 5 }, "implementsTokenRanges": [] }, { "kind": "Function", "canonicalReference": "tldraw!DuplicateMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function DuplicateMenuItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "DuplicateMenuItem" }, { "kind": "Function", "canonicalReference": "tldraw!EditLinkMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function EditLinkMenuItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "EditLinkMenuItem" }, { "kind": "Function", "canonicalReference": "tldraw!EditSubmenu:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function EditSubmenu(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/MainMenu/DefaultMainMenuContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "EditSubmenu" }, { "kind": "Class", "canonicalReference": "tldraw!EmbedShapeUtil:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class EmbedShapeUtil extends " }, { "kind": "Reference", "text": "BaseBoxShapeUtil", "canonicalReference": "@tldraw/editor!BaseBoxShapeUtil:class" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLEmbedShape", "canonicalReference": "@tldraw/tlschema!TLEmbedShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/shapes/embed/EmbedShapeUtil.tsx", "releaseTag": "Public", "isAbstract": false, "name": "EmbedShapeUtil", "preserveMemberOrder": false, "members": [ { "kind": "Property", "canonicalReference": "tldraw!EmbedShapeUtil#canEdit:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "canEdit: " }, { "kind": "Reference", "text": "TLShapeUtilFlag", "canonicalReference": "@tldraw/editor!TLShapeUtilFlag:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLEmbedShape", "canonicalReference": "@tldraw/tlschema!TLEmbedShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "canEdit", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!EmbedShapeUtil#canEditInReadOnly:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "canEditInReadOnly: " }, { "kind": "Content", "text": "() => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "canEditInReadOnly", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!EmbedShapeUtil#canResize:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "canResize: " }, { "kind": "Content", "text": "(shape: " }, { "kind": "Reference", "text": "TLEmbedShape", "canonicalReference": "@tldraw/tlschema!TLEmbedShape:type" }, { "kind": "Content", "text": ") => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "canResize", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!EmbedShapeUtil#canUnmount:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "canUnmount: " }, { "kind": "Reference", "text": "TLShapeUtilFlag", "canonicalReference": "@tldraw/editor!TLShapeUtilFlag:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLEmbedShape", "canonicalReference": "@tldraw/tlschema!TLEmbedShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "canUnmount", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!EmbedShapeUtil#component:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "component(shape: " }, { "kind": "Reference", "text": "TLEmbedShape", "canonicalReference": "@tldraw/tlschema!TLEmbedShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "component" }, { "kind": "Method", "canonicalReference": "tldraw!EmbedShapeUtil#getDefaultProps:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getDefaultProps(): " }, { "kind": "Reference", "text": "TLEmbedShape", "canonicalReference": "@tldraw/tlschema!TLEmbedShape:type" }, { "kind": "Content", "text": "['props']" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [], "isOptional": false, "isAbstract": false, "name": "getDefaultProps" }, { "kind": "Property", "canonicalReference": "tldraw!EmbedShapeUtil#hideSelectionBoundsFg:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "hideSelectionBoundsFg: " }, { "kind": "Reference", "text": "TLShapeUtilFlag", "canonicalReference": "@tldraw/editor!TLShapeUtilFlag:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLEmbedShape", "canonicalReference": "@tldraw/tlschema!TLEmbedShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "hideSelectionBoundsFg", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!EmbedShapeUtil#indicator:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "indicator(shape: " }, { "kind": "Reference", "text": "TLEmbedShape", "canonicalReference": "@tldraw/tlschema!TLEmbedShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "indicator" }, { "kind": "Property", "canonicalReference": "tldraw!EmbedShapeUtil#isAspectRatioLocked:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "isAspectRatioLocked: " }, { "kind": "Reference", "text": "TLShapeUtilFlag", "canonicalReference": "@tldraw/editor!TLShapeUtilFlag:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLEmbedShape", "canonicalReference": "@tldraw/tlschema!TLEmbedShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "isAspectRatioLocked", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!EmbedShapeUtil.migrations:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static migrations: " }, { "kind": "Content", "text": "import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Migrations", "canonicalReference": "@tldraw/store!Migrations:interface" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "migrations", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!EmbedShapeUtil#onResize:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onResize: " }, { "kind": "Reference", "text": "TLOnResizeHandler", "canonicalReference": "@tldraw/editor!TLOnResizeHandler:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLEmbedShape", "canonicalReference": "@tldraw/tlschema!TLEmbedShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onResize", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!EmbedShapeUtil.props:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static props: " }, { "kind": "Content", "text": "{\n w: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n h: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n url: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "props", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 8 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!EmbedShapeUtil.type:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static type: " }, { "kind": "Content", "text": "\"embed\"" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "type", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 5 }, "implementsTokenRanges": [] }, { "kind": "Class", "canonicalReference": "tldraw!EraserTool:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class EraserTool extends " }, { "kind": "Reference", "text": "StateNode", "canonicalReference": "@tldraw/editor!StateNode:class" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/tools/EraserTool/EraserTool.ts", "releaseTag": "Public", "isAbstract": false, "name": "EraserTool", "preserveMemberOrder": false, "members": [ { "kind": "Property", "canonicalReference": "tldraw!EraserTool.children:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static children: " }, { "kind": "Content", "text": "() => (typeof " }, { "kind": "Reference", "text": "Erasing", "canonicalReference": "tldraw!~Erasing:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "Idle", "canonicalReference": "tldraw!~Idle_7:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "Pointing", "canonicalReference": "tldraw!~Pointing_6:class" }, { "kind": "Content", "text": ")[]" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "children", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 8 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!EraserTool.id:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static id: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "id", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!EraserTool.initial:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static initial: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "initial", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!EraserTool#onEnter:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onEnter: " }, { "kind": "Content", "text": "() => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onEnter", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 2 }, "implementsTokenRanges": [] }, { "kind": "TypeAlias", "canonicalReference": "tldraw!EventsProviderProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type EventsProviderProps = " }, { "kind": "Content", "text": "{\n onEvent?: " }, { "kind": "Reference", "text": "TLUiEventHandler", "canonicalReference": "tldraw!TLUiEventHandler:type" }, { "kind": "Content", "text": ";\n children: " }, { "kind": "Reference", "text": "React.ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/events.tsx", "releaseTag": "Public", "name": "EventsProviderProps", "typeTokenRange": { "startIndex": 1, "endIndex": 6 } }, { "kind": "Function", "canonicalReference": "tldraw!ExampleDialog:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ExampleDialog({ title, body, cancel, confirm, displayDontShowAgain, onCancel, onContinue, }: " }, { "kind": "Content", "text": "{\n title?: string;\n body?: string;\n cancel?: string;\n confirm?: string;\n displayDontShowAgain?: boolean;\n onCancel: () => void;\n onContinue: () => void;\n}" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/DebugMenu/DefaultDebugMenuContent.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ title, body, cancel, confirm, displayDontShowAgain, onCancel, onContinue, }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "ExampleDialog" }, { "kind": "Function", "canonicalReference": "tldraw!exportAs:function(1)", "docComment": "/**\n * Export the given shapes as files.\n *\n * @param editor - The editor instance.\n *\n * @param ids - The ids of the shapes to export.\n *\n * @param format - The format to export as.\n *\n * @param name - Name of the exported file. If undefined a predefined name, based on the selection, will be used.\n *\n * @param opts - Options for the export.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function exportAs(editor: " }, { "kind": "Reference", "text": "Editor", "canonicalReference": "@tldraw/editor!Editor:class" }, { "kind": "Content", "text": ", ids: " }, { "kind": "Reference", "text": "TLShapeId", "canonicalReference": "@tldraw/tlschema!TLShapeId:type" }, { "kind": "Content", "text": "[]" }, { "kind": "Content", "text": ", format: " }, { "kind": "Reference", "text": "TLExportType", "canonicalReference": "tldraw!~TLExportType:type" }, { "kind": "Content", "text": " | undefined" }, { "kind": "Content", "text": ", name: " }, { "kind": "Content", "text": "string | undefined" }, { "kind": "Content", "text": ", opts?: " }, { "kind": "Reference", "text": "Partial", "canonicalReference": "!Partial:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLSvgOptions", "canonicalReference": "@tldraw/editor!TLSvgOptions:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "Promise", "canonicalReference": "!Promise:interface" }, { "kind": "Content", "text": "" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/utils/export/exportAs.ts", "returnTypeTokenRange": { "startIndex": 16, "endIndex": 18 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "editor", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "ids", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "isOptional": false }, { "parameterName": "format", "parameterTypeTokenRange": { "startIndex": 6, "endIndex": 8 }, "isOptional": false }, { "parameterName": "name", "parameterTypeTokenRange": { "startIndex": 9, "endIndex": 10 }, "isOptional": false }, { "parameterName": "opts", "parameterTypeTokenRange": { "startIndex": 11, "endIndex": 15 }, "isOptional": true } ], "name": "exportAs" }, { "kind": "Function", "canonicalReference": "tldraw!ExportFileContentSubMenu:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ExportFileContentSubMenu(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/MainMenu/DefaultMainMenuContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ExportFileContentSubMenu" }, { "kind": "Function", "canonicalReference": "tldraw!exportToBlob:function(1)", "docComment": "/**\n * Export the given shapes as a blob.\n *\n * @param editor - The editor instance.\n *\n * @param ids - The ids of the shapes to export.\n *\n * @param format - The format to export as.\n *\n * @param opts - Rendering options.\n *\n * @returns A promise that resolves to a blob.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function exportToBlob({ editor, ids, format, opts, }: " }, { "kind": "Content", "text": "{\n editor: " }, { "kind": "Reference", "text": "Editor", "canonicalReference": "@tldraw/editor!Editor:class" }, { "kind": "Content", "text": ";\n ids: " }, { "kind": "Reference", "text": "TLShapeId", "canonicalReference": "@tldraw/tlschema!TLShapeId:type" }, { "kind": "Content", "text": "[];\n format: 'jpeg' | 'json' | 'png' | 'svg' | 'webp';\n opts?: " }, { "kind": "Reference", "text": "Partial", "canonicalReference": "!Partial:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLSvgOptions", "canonicalReference": "@tldraw/editor!TLSvgOptions:type" }, { "kind": "Content", "text": ">;\n}" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "Promise", "canonicalReference": "!Promise:interface" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "Blob", "canonicalReference": "!Blob:interface" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/utils/export/export.ts", "returnTypeTokenRange": { "startIndex": 11, "endIndex": 15 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ editor, ids, format, opts, }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 10 }, "isOptional": false } ], "name": "exportToBlob" }, { "kind": "Function", "canonicalReference": "tldraw!ExtrasGroup:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ExtrasGroup(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/MainMenu/DefaultMainMenuContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ExtrasGroup" }, { "kind": "Function", "canonicalReference": "tldraw!FeatureFlags:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function FeatureFlags(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/DebugMenu/DefaultDebugMenuContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "FeatureFlags" }, { "kind": "Function", "canonicalReference": "tldraw!fitFrameToContent:function(1)", "docComment": "/**\n * Fit a frame to its content.\n *\n * @param id - Id of the frame you wish to fit to content.\n *\n * @param editor - tlraw editor instance.\n *\n * @param opts - Options for fitting the frame.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function fitFrameToContent(editor: " }, { "kind": "Reference", "text": "Editor", "canonicalReference": "@tldraw/editor!Editor:class" }, { "kind": "Content", "text": ", id: " }, { "kind": "Reference", "text": "TLShapeId", "canonicalReference": "@tldraw/tlschema!TLShapeId:type" }, { "kind": "Content", "text": ", opts?: " }, { "kind": "Content", "text": "{\n padding: number;\n}" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/utils/frames/frames.ts", "returnTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "editor", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "id", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false }, { "parameterName": "opts", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "isOptional": true } ], "name": "fitFrameToContent" }, { "kind": "Function", "canonicalReference": "tldraw!FitFrameToContentMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function FitFrameToContentMenuItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "FitFrameToContentMenuItem" }, { "kind": "Class", "canonicalReference": "tldraw!FrameShapeTool:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class FrameShapeTool extends " }, { "kind": "Reference", "text": "BaseBoxShapeTool", "canonicalReference": "@tldraw/editor!BaseBoxShapeTool:class" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/shapes/frame/FrameShapeTool.ts", "releaseTag": "Public", "isAbstract": false, "name": "FrameShapeTool", "preserveMemberOrder": false, "members": [ { "kind": "Property", "canonicalReference": "tldraw!FrameShapeTool.id:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static id: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "id", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!FrameShapeTool.initial:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static initial: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "initial", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!FrameShapeTool#onCreate:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onCreate: " }, { "kind": "Content", "text": "(shape: null | " }, { "kind": "Reference", "text": "TLShape", "canonicalReference": "@tldraw/tlschema!TLShape:type" }, { "kind": "Content", "text": ") => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onCreate", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!FrameShapeTool#shapeType:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "shapeType: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "shapeType", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 2 }, "implementsTokenRanges": [] }, { "kind": "Class", "canonicalReference": "tldraw!FrameShapeUtil:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class FrameShapeUtil extends " }, { "kind": "Reference", "text": "BaseBoxShapeUtil", "canonicalReference": "@tldraw/editor!BaseBoxShapeUtil:class" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLFrameShape", "canonicalReference": "@tldraw/tlschema!TLFrameShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/shapes/frame/FrameShapeUtil.tsx", "releaseTag": "Public", "isAbstract": false, "name": "FrameShapeUtil", "preserveMemberOrder": false, "members": [ { "kind": "Property", "canonicalReference": "tldraw!FrameShapeUtil#canBind:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "canBind: " }, { "kind": "Content", "text": "() => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "canBind", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!FrameShapeUtil#canDropShapes:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "canDropShapes: " }, { "kind": "Content", "text": "(shape: " }, { "kind": "Reference", "text": "TLFrameShape", "canonicalReference": "@tldraw/tlschema!TLFrameShape:type" }, { "kind": "Content", "text": ", _shapes: " }, { "kind": "Reference", "text": "TLShape", "canonicalReference": "@tldraw/tlschema!TLShape:type" }, { "kind": "Content", "text": "[]) => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "canDropShapes", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 6 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!FrameShapeUtil#canEdit:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "canEdit: " }, { "kind": "Content", "text": "() => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "canEdit", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!FrameShapeUtil#canReceiveNewChildrenOfType:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "canReceiveNewChildrenOfType: " }, { "kind": "Content", "text": "(shape: " }, { "kind": "Reference", "text": "TLShape", "canonicalReference": "@tldraw/tlschema!TLShape:type" }, { "kind": "Content", "text": ", _type: " }, { "kind": "Reference", "text": "TLShape", "canonicalReference": "@tldraw/tlschema!TLShape:type" }, { "kind": "Content", "text": "['type']) => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "canReceiveNewChildrenOfType", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 6 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!FrameShapeUtil#component:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "component(shape: " }, { "kind": "Reference", "text": "TLFrameShape", "canonicalReference": "@tldraw/tlschema!TLFrameShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "component" }, { "kind": "Method", "canonicalReference": "tldraw!FrameShapeUtil#getDefaultProps:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getDefaultProps(): " }, { "kind": "Reference", "text": "TLFrameShape", "canonicalReference": "@tldraw/tlschema!TLFrameShape:type" }, { "kind": "Content", "text": "['props']" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [], "isOptional": false, "isAbstract": false, "name": "getDefaultProps" }, { "kind": "Method", "canonicalReference": "tldraw!FrameShapeUtil#getGeometry:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getGeometry(shape: " }, { "kind": "Reference", "text": "TLFrameShape", "canonicalReference": "@tldraw/tlschema!TLFrameShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "Geometry2d", "canonicalReference": "@tldraw/editor!Geometry2d:class" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "getGeometry" }, { "kind": "Method", "canonicalReference": "tldraw!FrameShapeUtil#indicator:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "indicator(shape: " }, { "kind": "Reference", "text": "TLFrameShape", "canonicalReference": "@tldraw/tlschema!TLFrameShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "indicator" }, { "kind": "Property", "canonicalReference": "tldraw!FrameShapeUtil.migrations:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static migrations: " }, { "kind": "Content", "text": "import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Migrations", "canonicalReference": "@tldraw/store!Migrations:interface" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "migrations", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!FrameShapeUtil#onDragShapesOut:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onDragShapesOut: " }, { "kind": "Content", "text": "(_shape: " }, { "kind": "Reference", "text": "TLFrameShape", "canonicalReference": "@tldraw/tlschema!TLFrameShape:type" }, { "kind": "Content", "text": ", shapes: " }, { "kind": "Reference", "text": "TLShape", "canonicalReference": "@tldraw/tlschema!TLShape:type" }, { "kind": "Content", "text": "[]) => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onDragShapesOut", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 6 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!FrameShapeUtil#onDragShapesOver:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onDragShapesOver: " }, { "kind": "Content", "text": "(frame: " }, { "kind": "Reference", "text": "TLFrameShape", "canonicalReference": "@tldraw/tlschema!TLFrameShape:type" }, { "kind": "Content", "text": ", shapes: " }, { "kind": "Reference", "text": "TLShape", "canonicalReference": "@tldraw/tlschema!TLShape:type" }, { "kind": "Content", "text": "[]) => {\n shouldHint: boolean;\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onDragShapesOver", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 6 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!FrameShapeUtil#onResize:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onResize: " }, { "kind": "Reference", "text": "TLOnResizeHandler", "canonicalReference": "@tldraw/editor!TLOnResizeHandler:type" }, { "kind": "Content", "text": "" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onResize", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!FrameShapeUtil#onResizeEnd:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onResizeEnd: " }, { "kind": "Reference", "text": "TLOnResizeEndHandler", "canonicalReference": "@tldraw/editor!TLOnResizeEndHandler:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLFrameShape", "canonicalReference": "@tldraw/tlschema!TLFrameShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onResizeEnd", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!FrameShapeUtil.props:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static props: " }, { "kind": "Content", "text": "{\n w: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n h: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n name: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "props", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 8 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!FrameShapeUtil#providesBackgroundForChildren:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "providesBackgroundForChildren(): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [], "isOptional": false, "isAbstract": false, "name": "providesBackgroundForChildren" }, { "kind": "Method", "canonicalReference": "tldraw!FrameShapeUtil#toSvg:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "toSvg(shape: " }, { "kind": "Reference", "text": "TLFrameShape", "canonicalReference": "@tldraw/tlschema!TLFrameShape:type" }, { "kind": "Content", "text": ", ctx: " }, { "kind": "Reference", "text": "SvgExportContext", "canonicalReference": "@tldraw/editor!SvgExportContext:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "Promise", "canonicalReference": "!Promise:interface" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "SVGElement", "canonicalReference": "!SVGElement:interface" }, { "kind": "Content", "text": "> | " }, { "kind": "Reference", "text": "SVGElement", "canonicalReference": "!SVGElement:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 10 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "ctx", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "toSvg" }, { "kind": "Property", "canonicalReference": "tldraw!FrameShapeUtil.type:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static type: " }, { "kind": "Content", "text": "\"frame\"" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "type", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 5 }, "implementsTokenRanges": [] }, { "kind": "Class", "canonicalReference": "tldraw!GeoShapeTool:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class GeoShapeTool extends " }, { "kind": "Reference", "text": "StateNode", "canonicalReference": "@tldraw/editor!StateNode:class" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/shapes/geo/GeoShapeTool.ts", "releaseTag": "Public", "isAbstract": false, "name": "GeoShapeTool", "preserveMemberOrder": false, "members": [ { "kind": "Property", "canonicalReference": "tldraw!GeoShapeTool.children:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static children: " }, { "kind": "Content", "text": "() => (typeof " }, { "kind": "Reference", "text": "Idle", "canonicalReference": "tldraw!~Idle_3:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "Pointing", "canonicalReference": "tldraw!~Pointing_2:class" }, { "kind": "Content", "text": ")[]" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "children", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 6 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!GeoShapeTool.id:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static id: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "id", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!GeoShapeTool.initial:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static initial: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "initial", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!GeoShapeTool#shapeType:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "shapeType: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "shapeType", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 2 }, "implementsTokenRanges": [] }, { "kind": "Class", "canonicalReference": "tldraw!GeoShapeUtil:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class GeoShapeUtil extends " }, { "kind": "Reference", "text": "BaseBoxShapeUtil", "canonicalReference": "@tldraw/editor!BaseBoxShapeUtil:class" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLGeoShape", "canonicalReference": "@tldraw/tlschema!TLGeoShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/shapes/geo/GeoShapeUtil.tsx", "releaseTag": "Public", "isAbstract": false, "name": "GeoShapeUtil", "preserveMemberOrder": false, "members": [ { "kind": "Property", "canonicalReference": "tldraw!GeoShapeUtil#canEdit:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "canEdit: " }, { "kind": "Content", "text": "() => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "canEdit", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!GeoShapeUtil#component:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "component(shape: " }, { "kind": "Reference", "text": "TLGeoShape", "canonicalReference": "@tldraw/tlschema!TLGeoShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "component" }, { "kind": "Method", "canonicalReference": "tldraw!GeoShapeUtil#getCanvasSvgDefs:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getCanvasSvgDefs(): " }, { "kind": "Reference", "text": "TLShapeUtilCanvasSvgDef", "canonicalReference": "@tldraw/editor!TLShapeUtilCanvasSvgDef:interface" }, { "kind": "Content", "text": "[]" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [], "isOptional": false, "isAbstract": false, "name": "getCanvasSvgDefs" }, { "kind": "Method", "canonicalReference": "tldraw!GeoShapeUtil#getDefaultProps:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getDefaultProps(): " }, { "kind": "Reference", "text": "TLGeoShape", "canonicalReference": "@tldraw/tlschema!TLGeoShape:type" }, { "kind": "Content", "text": "['props']" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [], "isOptional": false, "isAbstract": false, "name": "getDefaultProps" }, { "kind": "Method", "canonicalReference": "tldraw!GeoShapeUtil#getGeometry:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getGeometry(shape: " }, { "kind": "Reference", "text": "TLGeoShape", "canonicalReference": "@tldraw/tlschema!TLGeoShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "Group2d", "canonicalReference": "@tldraw/editor!Group2d:class" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "getGeometry" }, { "kind": "Method", "canonicalReference": "tldraw!GeoShapeUtil#getHandleSnapGeometry:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getHandleSnapGeometry(shape: " }, { "kind": "Reference", "text": "TLGeoShape", "canonicalReference": "@tldraw/tlschema!TLGeoShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "HandleSnapGeometry", "canonicalReference": "@tldraw/editor!HandleSnapGeometry:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "getHandleSnapGeometry" }, { "kind": "Method", "canonicalReference": "tldraw!GeoShapeUtil#indicator:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "indicator(shape: " }, { "kind": "Reference", "text": "TLGeoShape", "canonicalReference": "@tldraw/tlschema!TLGeoShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "indicator" }, { "kind": "Property", "canonicalReference": "tldraw!GeoShapeUtil.migrations:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static migrations: " }, { "kind": "Content", "text": "import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Migrations", "canonicalReference": "@tldraw/store!Migrations:interface" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "migrations", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!GeoShapeUtil#onBeforeCreate:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onBeforeCreate: " }, { "kind": "Content", "text": "(shape: " }, { "kind": "Reference", "text": "TLGeoShape", "canonicalReference": "@tldraw/tlschema!TLGeoShape:type" }, { "kind": "Content", "text": ") => {\n props: {\n growY: number;\n geo: \"arrow-down\" | \"arrow-left\" | \"arrow-right\" | \"arrow-up\" | \"check-box\" | \"cloud\" | \"diamond\" | \"ellipse\" | \"hexagon\" | \"octagon\" | \"oval\" | \"pentagon\" | \"rectangle\" | \"rhombus-2\" | \"rhombus\" | \"star\" | \"trapezoid\" | \"triangle\" | \"x-box\";\n labelColor: \"black\" | \"blue\" | \"green\" | \"grey\" | \"light-blue\" | \"light-green\" | \"light-red\" | \"light-violet\" | \"orange\" | \"red\" | \"violet\" | \"yellow\";\n color: \"black\" | \"blue\" | \"green\" | \"grey\" | \"light-blue\" | \"light-green\" | \"light-red\" | \"light-violet\" | \"orange\" | \"red\" | \"violet\" | \"yellow\";\n fill: \"none\" | \"pattern\" | \"semi\" | \"solid\";\n dash: \"dashed\" | \"dotted\" | \"draw\" | \"solid\";\n size: \"l\" | \"m\" | \"s\" | \"xl\";\n font: \"draw\" | \"mono\" | \"sans\" | \"serif\";\n align: \"end-legacy\" | \"end\" | \"middle-legacy\" | \"middle\" | \"start-legacy\" | \"start\";\n verticalAlign: \"end\" | \"middle\" | \"start\";\n url: string;\n w: number;\n h: number;\n text: string;\n };\n type: \"geo\";\n x: number;\n y: number;\n rotation: number;\n index: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "IndexKey", "canonicalReference": "@tldraw/utils!IndexKey:type" }, { "kind": "Content", "text": ";\n parentId: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "TLParentId", "canonicalReference": "@tldraw/tlschema!TLParentId:type" }, { "kind": "Content", "text": ";\n isLocked: boolean;\n opacity: number;\n meta: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "JsonObject", "canonicalReference": "@tldraw/utils!JsonObject:type" }, { "kind": "Content", "text": ";\n id: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "TLShapeId", "canonicalReference": "@tldraw/tlschema!TLShapeId:type" }, { "kind": "Content", "text": ";\n typeName: \"shape\";\n } | undefined" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onBeforeCreate", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 12 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!GeoShapeUtil#onBeforeUpdate:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onBeforeUpdate: " }, { "kind": "Content", "text": "(prev: " }, { "kind": "Reference", "text": "TLGeoShape", "canonicalReference": "@tldraw/tlschema!TLGeoShape:type" }, { "kind": "Content", "text": ", next: " }, { "kind": "Reference", "text": "TLGeoShape", "canonicalReference": "@tldraw/tlschema!TLGeoShape:type" }, { "kind": "Content", "text": ") => {\n props: {\n growY: number;\n geo: \"arrow-down\" | \"arrow-left\" | \"arrow-right\" | \"arrow-up\" | \"check-box\" | \"cloud\" | \"diamond\" | \"ellipse\" | \"hexagon\" | \"octagon\" | \"oval\" | \"pentagon\" | \"rectangle\" | \"rhombus-2\" | \"rhombus\" | \"star\" | \"trapezoid\" | \"triangle\" | \"x-box\";\n labelColor: \"black\" | \"blue\" | \"green\" | \"grey\" | \"light-blue\" | \"light-green\" | \"light-red\" | \"light-violet\" | \"orange\" | \"red\" | \"violet\" | \"yellow\";\n color: \"black\" | \"blue\" | \"green\" | \"grey\" | \"light-blue\" | \"light-green\" | \"light-red\" | \"light-violet\" | \"orange\" | \"red\" | \"violet\" | \"yellow\";\n fill: \"none\" | \"pattern\" | \"semi\" | \"solid\";\n dash: \"dashed\" | \"dotted\" | \"draw\" | \"solid\";\n size: \"l\" | \"m\" | \"s\" | \"xl\";\n font: \"draw\" | \"mono\" | \"sans\" | \"serif\";\n align: \"end-legacy\" | \"end\" | \"middle-legacy\" | \"middle\" | \"start-legacy\" | \"start\";\n verticalAlign: \"end\" | \"middle\" | \"start\";\n url: string;\n w: number;\n h: number;\n text: string;\n };\n type: \"geo\";\n x: number;\n y: number;\n rotation: number;\n index: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "IndexKey", "canonicalReference": "@tldraw/utils!IndexKey:type" }, { "kind": "Content", "text": ";\n parentId: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "TLParentId", "canonicalReference": "@tldraw/tlschema!TLParentId:type" }, { "kind": "Content", "text": ";\n isLocked: boolean;\n opacity: number;\n meta: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "JsonObject", "canonicalReference": "@tldraw/utils!JsonObject:type" }, { "kind": "Content", "text": ";\n id: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "TLShapeId", "canonicalReference": "@tldraw/tlschema!TLShapeId:type" }, { "kind": "Content", "text": ";\n typeName: \"shape\";\n } | undefined" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onBeforeUpdate", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 14 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!GeoShapeUtil#onDoubleClick:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onDoubleClick: " }, { "kind": "Content", "text": "(shape: " }, { "kind": "Reference", "text": "TLGeoShape", "canonicalReference": "@tldraw/tlschema!TLGeoShape:type" }, { "kind": "Content", "text": ") => {\n props: {\n geo: \"check-box\";\n };\n type: \"geo\";\n x: number;\n y: number;\n rotation: number;\n index: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "IndexKey", "canonicalReference": "@tldraw/utils!IndexKey:type" }, { "kind": "Content", "text": ";\n parentId: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "TLParentId", "canonicalReference": "@tldraw/tlschema!TLParentId:type" }, { "kind": "Content", "text": ";\n isLocked: boolean;\n opacity: number;\n meta: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "JsonObject", "canonicalReference": "@tldraw/utils!JsonObject:type" }, { "kind": "Content", "text": ";\n id: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "TLShapeId", "canonicalReference": "@tldraw/tlschema!TLShapeId:type" }, { "kind": "Content", "text": ";\n typeName: \"shape\";\n } | {\n props: {\n geo: \"rectangle\";\n };\n type: \"geo\";\n x: number;\n y: number;\n rotation: number;\n index: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "IndexKey", "canonicalReference": "@tldraw/utils!IndexKey:type" }, { "kind": "Content", "text": ";\n parentId: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "TLParentId", "canonicalReference": "@tldraw/tlschema!TLParentId:type" }, { "kind": "Content", "text": ";\n isLocked: boolean;\n opacity: number;\n meta: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "JsonObject", "canonicalReference": "@tldraw/utils!JsonObject:type" }, { "kind": "Content", "text": ";\n id: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "TLShapeId", "canonicalReference": "@tldraw/tlschema!TLShapeId:type" }, { "kind": "Content", "text": ";\n typeName: \"shape\";\n } | undefined" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onDoubleClick", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 20 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!GeoShapeUtil#onEditEnd:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onEditEnd: " }, { "kind": "Reference", "text": "TLOnEditEndHandler", "canonicalReference": "@tldraw/editor!TLOnEditEndHandler:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLGeoShape", "canonicalReference": "@tldraw/tlschema!TLGeoShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onEditEnd", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!GeoShapeUtil#onResize:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onResize: " }, { "kind": "Reference", "text": "TLOnResizeHandler", "canonicalReference": "@tldraw/editor!TLOnResizeHandler:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLGeoShape", "canonicalReference": "@tldraw/tlschema!TLGeoShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onResize", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!GeoShapeUtil.props:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static props: " }, { "kind": "Content", "text": "{\n geo: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"arrow-down\" | \"arrow-left\" | \"arrow-right\" | \"arrow-up\" | \"check-box\" | \"cloud\" | \"diamond\" | \"ellipse\" | \"hexagon\" | \"octagon\" | \"oval\" | \"pentagon\" | \"rectangle\" | \"rhombus-2\" | \"rhombus\" | \"star\" | \"trapezoid\" | \"triangle\" | \"x-box\">;\n labelColor: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"black\" | \"blue\" | \"green\" | \"grey\" | \"light-blue\" | \"light-green\" | \"light-red\" | \"light-violet\" | \"orange\" | \"red\" | \"violet\" | \"yellow\">;\n color: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"black\" | \"blue\" | \"green\" | \"grey\" | \"light-blue\" | \"light-green\" | \"light-red\" | \"light-violet\" | \"orange\" | \"red\" | \"violet\" | \"yellow\">;\n fill: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"none\" | \"pattern\" | \"semi\" | \"solid\">;\n dash: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"dashed\" | \"dotted\" | \"draw\" | \"solid\">;\n size: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"l\" | \"m\" | \"s\" | \"xl\">;\n font: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"draw\" | \"mono\" | \"sans\" | \"serif\">;\n align: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"end-legacy\" | \"end\" | \"middle-legacy\" | \"middle\" | \"start-legacy\" | \"start\">;\n verticalAlign: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"end\" | \"middle\" | \"start\">;\n url: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n w: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n h: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n growY: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n text: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "props", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 30 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!GeoShapeUtil#toSvg:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "toSvg(shape: " }, { "kind": "Reference", "text": "TLGeoShape", "canonicalReference": "@tldraw/tlschema!TLGeoShape:type" }, { "kind": "Content", "text": ", ctx: " }, { "kind": "Reference", "text": "SvgExportContext", "canonicalReference": "@tldraw/editor!SvgExportContext:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "SVGElement", "canonicalReference": "!SVGElement:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "ctx", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "toSvg" }, { "kind": "Property", "canonicalReference": "tldraw!GeoShapeUtil.type:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static type: " }, { "kind": "Content", "text": "\"geo\"" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "type", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 5 }, "implementsTokenRanges": [] }, { "kind": "Function", "canonicalReference": "tldraw!GeoStylePickerSet:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function GeoStylePickerSet({ styles }: " }, { "kind": "Content", "text": "{\n styles: " }, { "kind": "Reference", "text": "ReadonlySharedStyleMap", "canonicalReference": "@tldraw/editor!ReadonlySharedStyleMap:class" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/StylePanel/DefaultStylePanelContent.tsx", "returnTypeTokenRange": { "startIndex": 5, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ styles }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "isOptional": false } ], "name": "GeoStylePickerSet" }, { "kind": "Function", "canonicalReference": "tldraw!getEmbedInfo:function(1)", "docComment": "/**\n * Tests whether an URL supports embedding and returns the result. If we encounter an error, we return undefined.\n *\n * @param inputUrl - The URL to match\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function getEmbedInfo(inputUrl: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "TLEmbedResult", "canonicalReference": "tldraw!~TLEmbedResult:type" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/utils/embeds/embeds.ts", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "inputUrl", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "getEmbedInfo" }, { "kind": "Function", "canonicalReference": "tldraw!getSvgAsImage:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function getSvgAsImage(svg: " }, { "kind": "Reference", "text": "SVGElement", "canonicalReference": "!SVGElement:interface" }, { "kind": "Content", "text": ", isSafari: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ", options: " }, { "kind": "Content", "text": "{\n type: 'jpeg' | 'png' | 'webp';\n quality: number;\n scale: number;\n}" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "Promise", "canonicalReference": "!Promise:interface" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "Blob", "canonicalReference": "!Blob:interface" }, { "kind": "Content", "text": " | null>" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/utils/export/export.ts", "returnTypeTokenRange": { "startIndex": 7, "endIndex": 11 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "svg", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "isSafari", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false }, { "parameterName": "options", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "isOptional": false } ], "name": "getSvgAsImage" }, { "kind": "Function", "canonicalReference": "tldraw!getSvgAsString:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function getSvgAsString(svg: " }, { "kind": "Reference", "text": "SVGElement", "canonicalReference": "!SVGElement:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "Promise", "canonicalReference": "!Promise:interface" }, { "kind": "Content", "text": "" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/utils/export/export.ts", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "svg", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "getSvgAsString" }, { "kind": "Function", "canonicalReference": "tldraw!GroupMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function GroupMenuItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "GroupMenuItem" }, { "kind": "Function", "canonicalReference": "tldraw!GroupOrUngroupMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function GroupOrUngroupMenuItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/ActionsMenu/DefaultActionsMenuContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "GroupOrUngroupMenuItem" }, { "kind": "Class", "canonicalReference": "tldraw!HandTool:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class HandTool extends " }, { "kind": "Reference", "text": "StateNode", "canonicalReference": "@tldraw/editor!StateNode:class" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/tools/HandTool/HandTool.ts", "releaseTag": "Public", "isAbstract": false, "name": "HandTool", "preserveMemberOrder": false, "members": [ { "kind": "Property", "canonicalReference": "tldraw!HandTool.children:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static children: " }, { "kind": "Content", "text": "() => (typeof " }, { "kind": "Reference", "text": "Dragging", "canonicalReference": "tldraw!~Dragging:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "Idle", "canonicalReference": "tldraw!~Idle_8:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "Pointing", "canonicalReference": "tldraw!~Pointing_7:class" }, { "kind": "Content", "text": ")[]" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "children", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 8 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!HandTool.id:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static id: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "id", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!HandTool.initial:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static initial: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "initial", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!HandTool#onDoubleClick:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onDoubleClick: " }, { "kind": "Reference", "text": "TLClickEvent", "canonicalReference": "@tldraw/editor!TLClickEvent:type" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onDoubleClick", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!HandTool#onQuadrupleClick:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onQuadrupleClick: " }, { "kind": "Reference", "text": "TLClickEvent", "canonicalReference": "@tldraw/editor!TLClickEvent:type" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onQuadrupleClick", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!HandTool#onTripleClick:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onTripleClick: " }, { "kind": "Reference", "text": "TLClickEvent", "canonicalReference": "@tldraw/editor!TLClickEvent:type" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onTripleClick", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 2 }, "implementsTokenRanges": [] }, { "kind": "Class", "canonicalReference": "tldraw!HighlightShapeTool:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class HighlightShapeTool extends " }, { "kind": "Reference", "text": "StateNode", "canonicalReference": "@tldraw/editor!StateNode:class" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/shapes/highlight/HighlightShapeTool.ts", "releaseTag": "Public", "isAbstract": false, "name": "HighlightShapeTool", "preserveMemberOrder": false, "members": [ { "kind": "Property", "canonicalReference": "tldraw!HighlightShapeTool.children:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static children: " }, { "kind": "Content", "text": "() => (typeof " }, { "kind": "Reference", "text": "Drawing", "canonicalReference": "tldraw!~Drawing:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "Idle", "canonicalReference": "tldraw!~Idle_2:class" }, { "kind": "Content", "text": ")[]" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "children", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 6 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!HighlightShapeTool.id:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static id: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "id", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!HighlightShapeTool.initial:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static initial: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "initial", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!HighlightShapeTool#onExit:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onExit: " }, { "kind": "Content", "text": "() => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onExit", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!HighlightShapeTool#shapeType:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "shapeType: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "shapeType", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 2 }, "implementsTokenRanges": [] }, { "kind": "Class", "canonicalReference": "tldraw!HighlightShapeUtil:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class HighlightShapeUtil extends " }, { "kind": "Reference", "text": "ShapeUtil", "canonicalReference": "@tldraw/editor!ShapeUtil:class" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLHighlightShape", "canonicalReference": "@tldraw/tlschema!TLHighlightShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/shapes/highlight/HighlightShapeUtil.tsx", "releaseTag": "Public", "isAbstract": false, "name": "HighlightShapeUtil", "preserveMemberOrder": false, "members": [ { "kind": "Method", "canonicalReference": "tldraw!HighlightShapeUtil#backgroundComponent:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "backgroundComponent(shape: " }, { "kind": "Reference", "text": "TLHighlightShape", "canonicalReference": "@tldraw/tlschema!TLHighlightShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "backgroundComponent" }, { "kind": "Method", "canonicalReference": "tldraw!HighlightShapeUtil#component:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "component(shape: " }, { "kind": "Reference", "text": "TLHighlightShape", "canonicalReference": "@tldraw/tlschema!TLHighlightShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "component" }, { "kind": "Method", "canonicalReference": "tldraw!HighlightShapeUtil#getDefaultProps:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getDefaultProps(): " }, { "kind": "Reference", "text": "TLHighlightShape", "canonicalReference": "@tldraw/tlschema!TLHighlightShape:type" }, { "kind": "Content", "text": "['props']" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [], "isOptional": false, "isAbstract": false, "name": "getDefaultProps" }, { "kind": "Method", "canonicalReference": "tldraw!HighlightShapeUtil#getGeometry:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getGeometry(shape: " }, { "kind": "Reference", "text": "TLHighlightShape", "canonicalReference": "@tldraw/tlschema!TLHighlightShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "Circle2d", "canonicalReference": "@tldraw/editor!Circle2d:class" }, { "kind": "Content", "text": " | " }, { "kind": "Reference", "text": "Polygon2d", "canonicalReference": "@tldraw/editor!Polygon2d:class" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 6 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "getGeometry" }, { "kind": "Property", "canonicalReference": "tldraw!HighlightShapeUtil#hideResizeHandles:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "hideResizeHandles: " }, { "kind": "Content", "text": "(shape: " }, { "kind": "Reference", "text": "TLHighlightShape", "canonicalReference": "@tldraw/tlschema!TLHighlightShape:type" }, { "kind": "Content", "text": ") => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "hideResizeHandles", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!HighlightShapeUtil#hideRotateHandle:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "hideRotateHandle: " }, { "kind": "Content", "text": "(shape: " }, { "kind": "Reference", "text": "TLHighlightShape", "canonicalReference": "@tldraw/tlschema!TLHighlightShape:type" }, { "kind": "Content", "text": ") => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "hideRotateHandle", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!HighlightShapeUtil#hideSelectionBoundsFg:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "hideSelectionBoundsFg: " }, { "kind": "Content", "text": "(shape: " }, { "kind": "Reference", "text": "TLHighlightShape", "canonicalReference": "@tldraw/tlschema!TLHighlightShape:type" }, { "kind": "Content", "text": ") => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "hideSelectionBoundsFg", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!HighlightShapeUtil#indicator:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "indicator(shape: " }, { "kind": "Reference", "text": "TLHighlightShape", "canonicalReference": "@tldraw/tlschema!TLHighlightShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "indicator" }, { "kind": "Property", "canonicalReference": "tldraw!HighlightShapeUtil.migrations:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static migrations: " }, { "kind": "Content", "text": "import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Migrations", "canonicalReference": "@tldraw/store!Migrations:interface" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "migrations", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!HighlightShapeUtil#onResize:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onResize: " }, { "kind": "Reference", "text": "TLOnResizeHandler", "canonicalReference": "@tldraw/editor!TLOnResizeHandler:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLHighlightShape", "canonicalReference": "@tldraw/tlschema!TLHighlightShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onResize", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!HighlightShapeUtil.props:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static props: " }, { "kind": "Content", "text": "{\n color: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"black\" | \"blue\" | \"green\" | \"grey\" | \"light-blue\" | \"light-green\" | \"light-red\" | \"light-violet\" | \"orange\" | \"red\" | \"violet\" | \"yellow\">;\n size: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"l\" | \"m\" | \"s\" | \"xl\">;\n segments: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "ArrayOfValidator", "canonicalReference": "@tldraw/validate!ArrayOfValidator:class" }, { "kind": "Content", "text": "<{\n type: \"free\" | \"straight\";\n points: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "VecModel", "canonicalReference": "@tldraw/tlschema!VecModel:interface" }, { "kind": "Content", "text": "[];\n }>;\n isComplete: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n isPen: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "props", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 14 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!HighlightShapeUtil#toBackgroundSvg:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "toBackgroundSvg(shape: " }, { "kind": "Reference", "text": "TLHighlightShape", "canonicalReference": "@tldraw/tlschema!TLHighlightShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "SVGPathElement", "canonicalReference": "!SVGPathElement:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "toBackgroundSvg" }, { "kind": "Method", "canonicalReference": "tldraw!HighlightShapeUtil#toSvg:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "toSvg(shape: " }, { "kind": "Reference", "text": "TLHighlightShape", "canonicalReference": "@tldraw/tlschema!TLHighlightShape:type" }, { "kind": "Content", "text": ", ctx: " }, { "kind": "Reference", "text": "SvgExportContext", "canonicalReference": "@tldraw/editor!SvgExportContext:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "SVGPathElement", "canonicalReference": "!SVGPathElement:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "ctx", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "toSvg" }, { "kind": "Property", "canonicalReference": "tldraw!HighlightShapeUtil.type:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static type: " }, { "kind": "Content", "text": "\"highlight\"" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "type", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 5 }, "implementsTokenRanges": [] }, { "kind": "Class", "canonicalReference": "tldraw!ImageShapeUtil:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class ImageShapeUtil extends " }, { "kind": "Reference", "text": "BaseBoxShapeUtil", "canonicalReference": "@tldraw/editor!BaseBoxShapeUtil:class" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLImageShape", "canonicalReference": "@tldraw/tlschema!TLImageShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/shapes/image/ImageShapeUtil.tsx", "releaseTag": "Public", "isAbstract": false, "name": "ImageShapeUtil", "preserveMemberOrder": false, "members": [ { "kind": "Property", "canonicalReference": "tldraw!ImageShapeUtil#canCrop:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "canCrop: " }, { "kind": "Content", "text": "() => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "canCrop", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!ImageShapeUtil#component:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "component(shape: " }, { "kind": "Reference", "text": "TLImageShape", "canonicalReference": "@tldraw/tlschema!TLImageShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "component" }, { "kind": "Method", "canonicalReference": "tldraw!ImageShapeUtil#getDefaultProps:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getDefaultProps(): " }, { "kind": "Reference", "text": "TLImageShape", "canonicalReference": "@tldraw/tlschema!TLImageShape:type" }, { "kind": "Content", "text": "['props']" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [], "isOptional": false, "isAbstract": false, "name": "getDefaultProps" }, { "kind": "Method", "canonicalReference": "tldraw!ImageShapeUtil#indicator:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "indicator(shape: " }, { "kind": "Reference", "text": "TLImageShape", "canonicalReference": "@tldraw/tlschema!TLImageShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 6 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "indicator" }, { "kind": "Property", "canonicalReference": "tldraw!ImageShapeUtil#isAspectRatioLocked:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "isAspectRatioLocked: " }, { "kind": "Content", "text": "() => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "isAspectRatioLocked", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ImageShapeUtil.migrations:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static migrations: " }, { "kind": "Content", "text": "import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Migrations", "canonicalReference": "@tldraw/store!Migrations:interface" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "migrations", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ImageShapeUtil#onDoubleClick:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onDoubleClick: " }, { "kind": "Content", "text": "(shape: " }, { "kind": "Reference", "text": "TLImageShape", "canonicalReference": "@tldraw/tlschema!TLImageShape:type" }, { "kind": "Content", "text": ") => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onDoubleClick", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ImageShapeUtil#onDoubleClickEdge:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onDoubleClickEdge: " }, { "kind": "Reference", "text": "TLOnDoubleClickHandler", "canonicalReference": "@tldraw/editor!TLOnDoubleClickHandler:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLImageShape", "canonicalReference": "@tldraw/tlschema!TLImageShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onDoubleClickEdge", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ImageShapeUtil.props:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static props: " }, { "kind": "Content", "text": "{\n w: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n h: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n playing: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n url: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n assetId: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n crop: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": "<{\n topLeft: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "VecModel", "canonicalReference": "@tldraw/tlschema!VecModel:interface" }, { "kind": "Content", "text": ";\n bottomRight: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "VecModel", "canonicalReference": "@tldraw/tlschema!VecModel:interface" }, { "kind": "Content", "text": ";\n } | null>;\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "props", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 20 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!ImageShapeUtil#toSvg:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "toSvg(shape: " }, { "kind": "Reference", "text": "TLImageShape", "canonicalReference": "@tldraw/tlschema!TLImageShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "Promise", "canonicalReference": "!Promise:interface" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "SVGGElement", "canonicalReference": "!SVGGElement:interface" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 7 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "toSvg" }, { "kind": "Property", "canonicalReference": "tldraw!ImageShapeUtil.type:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static type: " }, { "kind": "Content", "text": "\"image\"" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "type", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 5 }, "implementsTokenRanges": [] }, { "kind": "Function", "canonicalReference": "tldraw!isGifAnimated:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function isGifAnimated(file: " }, { "kind": "Reference", "text": "Blob", "canonicalReference": "!Blob:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "Promise", "canonicalReference": "!Promise:interface" }, { "kind": "Content", "text": "" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/utils/assets/assets.ts", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "file", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "isGifAnimated" }, { "kind": "Function", "canonicalReference": "tldraw!KeyboardShortcutsMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function KeyboardShortcutsMenuItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/HelpMenu/DefaultHelpMenuContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "KeyboardShortcutsMenuItem" }, { "kind": "Function", "canonicalReference": "tldraw!LanguageMenu:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function LanguageMenu(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/LanguageMenu.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "LanguageMenu" }, { "kind": "Class", "canonicalReference": "tldraw!LaserTool:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class LaserTool extends " }, { "kind": "Reference", "text": "StateNode", "canonicalReference": "@tldraw/editor!StateNode:class" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/tools/LaserTool/LaserTool.ts", "releaseTag": "Public", "isAbstract": false, "name": "LaserTool", "preserveMemberOrder": false, "members": [ { "kind": "Property", "canonicalReference": "tldraw!LaserTool.children:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static children: " }, { "kind": "Content", "text": "() => (typeof " }, { "kind": "Reference", "text": "Idle", "canonicalReference": "tldraw!~Idle_9:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "Lasering", "canonicalReference": "tldraw!~Lasering:class" }, { "kind": "Content", "text": ")[]" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "children", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 6 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!LaserTool.id:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static id: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "id", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!LaserTool.initial:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static initial: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "initial", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!LaserTool#onEnter:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onEnter: " }, { "kind": "Content", "text": "() => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onEnter", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 2 }, "implementsTokenRanges": [] }, { "kind": "Class", "canonicalReference": "tldraw!LineShapeTool:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class LineShapeTool extends " }, { "kind": "Reference", "text": "StateNode", "canonicalReference": "@tldraw/editor!StateNode:class" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/shapes/line/LineShapeTool.ts", "releaseTag": "Public", "isAbstract": false, "name": "LineShapeTool", "preserveMemberOrder": false, "members": [ { "kind": "Property", "canonicalReference": "tldraw!LineShapeTool.children:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static children: " }, { "kind": "Content", "text": "() => (typeof " }, { "kind": "Reference", "text": "Idle", "canonicalReference": "tldraw!~Idle_4:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "Pointing", "canonicalReference": "tldraw!~Pointing_3:class" }, { "kind": "Content", "text": ")[]" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "children", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 6 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!LineShapeTool.id:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static id: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "id", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!LineShapeTool.initial:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static initial: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "initial", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!LineShapeTool#shapeType:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "shapeType: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "shapeType", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 2 }, "implementsTokenRanges": [] }, { "kind": "Class", "canonicalReference": "tldraw!LineShapeUtil:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class LineShapeUtil extends " }, { "kind": "Reference", "text": "ShapeUtil", "canonicalReference": "@tldraw/editor!ShapeUtil:class" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLLineShape", "canonicalReference": "@tldraw/tlschema!TLLineShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/shapes/line/LineShapeUtil.tsx", "releaseTag": "Public", "isAbstract": false, "name": "LineShapeUtil", "preserveMemberOrder": false, "members": [ { "kind": "Method", "canonicalReference": "tldraw!LineShapeUtil#component:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "component(shape: " }, { "kind": "Reference", "text": "TLLineShape", "canonicalReference": "@tldraw/tlschema!TLLineShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | undefined" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 6 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "component" }, { "kind": "Method", "canonicalReference": "tldraw!LineShapeUtil#getDefaultProps:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getDefaultProps(): " }, { "kind": "Reference", "text": "TLLineShape", "canonicalReference": "@tldraw/tlschema!TLLineShape:type" }, { "kind": "Content", "text": "['props']" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [], "isOptional": false, "isAbstract": false, "name": "getDefaultProps" }, { "kind": "Method", "canonicalReference": "tldraw!LineShapeUtil#getGeometry:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getGeometry(shape: " }, { "kind": "Reference", "text": "TLLineShape", "canonicalReference": "@tldraw/tlschema!TLLineShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "CubicSpline2d", "canonicalReference": "@tldraw/editor!CubicSpline2d:class" }, { "kind": "Content", "text": " | " }, { "kind": "Reference", "text": "Polyline2d", "canonicalReference": "@tldraw/editor!Polyline2d:class" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 6 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "getGeometry" }, { "kind": "Method", "canonicalReference": "tldraw!LineShapeUtil#getHandles:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getHandles(shape: " }, { "kind": "Reference", "text": "TLLineShape", "canonicalReference": "@tldraw/tlschema!TLLineShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "TLHandle", "canonicalReference": "@tldraw/tlschema!TLHandle:interface" }, { "kind": "Content", "text": "[]" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "getHandles" }, { "kind": "Method", "canonicalReference": "tldraw!LineShapeUtil#getHandleSnapGeometry:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getHandleSnapGeometry(shape: " }, { "kind": "Reference", "text": "TLLineShape", "canonicalReference": "@tldraw/tlschema!TLLineShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "HandleSnapGeometry", "canonicalReference": "@tldraw/editor!HandleSnapGeometry:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "getHandleSnapGeometry" }, { "kind": "Property", "canonicalReference": "tldraw!LineShapeUtil#hideResizeHandles:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "hideResizeHandles: " }, { "kind": "Content", "text": "() => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "hideResizeHandles", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!LineShapeUtil#hideRotateHandle:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "hideRotateHandle: " }, { "kind": "Content", "text": "() => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "hideRotateHandle", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!LineShapeUtil#hideSelectionBoundsBg:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "hideSelectionBoundsBg: " }, { "kind": "Content", "text": "() => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "hideSelectionBoundsBg", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!LineShapeUtil#hideSelectionBoundsFg:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "hideSelectionBoundsFg: " }, { "kind": "Content", "text": "() => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "hideSelectionBoundsFg", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!LineShapeUtil#indicator:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "indicator(shape: " }, { "kind": "Reference", "text": "TLLineShape", "canonicalReference": "@tldraw/tlschema!TLLineShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "indicator" }, { "kind": "Property", "canonicalReference": "tldraw!LineShapeUtil.migrations:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static migrations: " }, { "kind": "Content", "text": "import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Migrations", "canonicalReference": "@tldraw/store!Migrations:interface" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "migrations", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!LineShapeUtil#onHandleDrag:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onHandleDrag: " }, { "kind": "Reference", "text": "TLOnHandleDragHandler", "canonicalReference": "@tldraw/editor!TLOnHandleDragHandler:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLLineShape", "canonicalReference": "@tldraw/tlschema!TLLineShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onHandleDrag", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!LineShapeUtil#onResize:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onResize: " }, { "kind": "Reference", "text": "TLOnResizeHandler", "canonicalReference": "@tldraw/editor!TLOnResizeHandler:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLLineShape", "canonicalReference": "@tldraw/tlschema!TLLineShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onResize", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!LineShapeUtil.props:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static props: " }, { "kind": "Content", "text": "{\n color: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"black\" | \"blue\" | \"green\" | \"grey\" | \"light-blue\" | \"light-green\" | \"light-red\" | \"light-violet\" | \"orange\" | \"red\" | \"violet\" | \"yellow\">;\n dash: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"dashed\" | \"dotted\" | \"draw\" | \"solid\">;\n size: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"l\" | \"m\" | \"s\" | \"xl\">;\n spline: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"cubic\" | \"line\">;\n points: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "DictValidator", "canonicalReference": "@tldraw/validate!DictValidator:class" }, { "kind": "Content", "text": ";\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "props", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 14 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!LineShapeUtil#toSvg:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "toSvg(shape: " }, { "kind": "Reference", "text": "TLLineShape", "canonicalReference": "@tldraw/tlschema!TLLineShape:type" }, { "kind": "Content", "text": ", ctx: " }, { "kind": "Reference", "text": "SvgExportContext", "canonicalReference": "@tldraw/editor!SvgExportContext:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "SVGGElement", "canonicalReference": "!SVGGElement:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "ctx", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "toSvg" }, { "kind": "Property", "canonicalReference": "tldraw!LineShapeUtil.type:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static type: " }, { "kind": "Content", "text": "\"line\"" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "type", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 5 }, "implementsTokenRanges": [] }, { "kind": "Function", "canonicalReference": "tldraw!MiscMenuGroup:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function MiscMenuGroup(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/MainMenu/DefaultMainMenuContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "MiscMenuGroup" }, { "kind": "Function", "canonicalReference": "tldraw!MoveToPageMenu:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function MoveToPageMenu(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "MoveToPageMenu" }, { "kind": "Class", "canonicalReference": "tldraw!NoteShapeTool:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class NoteShapeTool extends " }, { "kind": "Reference", "text": "StateNode", "canonicalReference": "@tldraw/editor!StateNode:class" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/shapes/note/NoteShapeTool.ts", "releaseTag": "Public", "isAbstract": false, "name": "NoteShapeTool", "preserveMemberOrder": false, "members": [ { "kind": "Property", "canonicalReference": "tldraw!NoteShapeTool.children:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static children: " }, { "kind": "Content", "text": "() => (typeof " }, { "kind": "Reference", "text": "Idle", "canonicalReference": "tldraw!~Idle_5:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "Pointing", "canonicalReference": "tldraw!~Pointing_4:class" }, { "kind": "Content", "text": ")[]" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "children", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 6 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!NoteShapeTool.id:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static id: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "id", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!NoteShapeTool.initial:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static initial: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "initial", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!NoteShapeTool#shapeType:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "shapeType: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "shapeType", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 2 }, "implementsTokenRanges": [] }, { "kind": "Class", "canonicalReference": "tldraw!NoteShapeUtil:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class NoteShapeUtil extends " }, { "kind": "Reference", "text": "ShapeUtil", "canonicalReference": "@tldraw/editor!ShapeUtil:class" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLNoteShape", "canonicalReference": "@tldraw/tlschema!TLNoteShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/shapes/note/NoteShapeUtil.tsx", "releaseTag": "Public", "isAbstract": false, "name": "NoteShapeUtil", "preserveMemberOrder": false, "members": [ { "kind": "Property", "canonicalReference": "tldraw!NoteShapeUtil#canEdit:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "canEdit: " }, { "kind": "Content", "text": "() => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "canEdit", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!NoteShapeUtil#component:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "component(shape: " }, { "kind": "Reference", "text": "TLNoteShape", "canonicalReference": "@tldraw/tlschema!TLNoteShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "component" }, { "kind": "Method", "canonicalReference": "tldraw!NoteShapeUtil#getDefaultProps:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getDefaultProps(): " }, { "kind": "Reference", "text": "TLNoteShape", "canonicalReference": "@tldraw/tlschema!TLNoteShape:type" }, { "kind": "Content", "text": "['props']" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [], "isOptional": false, "isAbstract": false, "name": "getDefaultProps" }, { "kind": "Method", "canonicalReference": "tldraw!NoteShapeUtil#getGeometry:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getGeometry(shape: " }, { "kind": "Reference", "text": "TLNoteShape", "canonicalReference": "@tldraw/tlschema!TLNoteShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "Rectangle2d", "canonicalReference": "@tldraw/editor!Rectangle2d:class" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "getGeometry" }, { "kind": "Method", "canonicalReference": "tldraw!NoteShapeUtil#getHeight:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getHeight(shape: " }, { "kind": "Reference", "text": "TLNoteShape", "canonicalReference": "@tldraw/tlschema!TLNoteShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "getHeight" }, { "kind": "Property", "canonicalReference": "tldraw!NoteShapeUtil#hideResizeHandles:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "hideResizeHandles: " }, { "kind": "Content", "text": "() => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "hideResizeHandles", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!NoteShapeUtil#hideSelectionBoundsFg:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "hideSelectionBoundsFg: " }, { "kind": "Content", "text": "() => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "hideSelectionBoundsFg", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!NoteShapeUtil#indicator:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "indicator(shape: " }, { "kind": "Reference", "text": "TLNoteShape", "canonicalReference": "@tldraw/tlschema!TLNoteShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "indicator" }, { "kind": "Property", "canonicalReference": "tldraw!NoteShapeUtil.migrations:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static migrations: " }, { "kind": "Content", "text": "import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Migrations", "canonicalReference": "@tldraw/store!Migrations:interface" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "migrations", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!NoteShapeUtil#onBeforeCreate:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onBeforeCreate: " }, { "kind": "Content", "text": "(next: " }, { "kind": "Reference", "text": "TLNoteShape", "canonicalReference": "@tldraw/tlschema!TLNoteShape:type" }, { "kind": "Content", "text": ") => {\n props: {\n growY: number;\n color: \"black\" | \"blue\" | \"green\" | \"grey\" | \"light-blue\" | \"light-green\" | \"light-red\" | \"light-violet\" | \"orange\" | \"red\" | \"violet\" | \"yellow\";\n size: \"l\" | \"m\" | \"s\" | \"xl\";\n font: \"draw\" | \"mono\" | \"sans\" | \"serif\";\n align: \"end-legacy\" | \"end\" | \"middle-legacy\" | \"middle\" | \"start-legacy\" | \"start\";\n verticalAlign: \"end\" | \"middle\" | \"start\";\n url: string;\n text: string;\n };\n type: \"note\";\n x: number;\n y: number;\n rotation: number;\n index: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "IndexKey", "canonicalReference": "@tldraw/utils!IndexKey:type" }, { "kind": "Content", "text": ";\n parentId: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "TLParentId", "canonicalReference": "@tldraw/tlschema!TLParentId:type" }, { "kind": "Content", "text": ";\n isLocked: boolean;\n opacity: number;\n meta: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "JsonObject", "canonicalReference": "@tldraw/utils!JsonObject:type" }, { "kind": "Content", "text": ";\n id: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "TLShapeId", "canonicalReference": "@tldraw/tlschema!TLShapeId:type" }, { "kind": "Content", "text": ";\n typeName: \"shape\";\n } | undefined" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onBeforeCreate", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 12 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!NoteShapeUtil#onBeforeUpdate:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onBeforeUpdate: " }, { "kind": "Content", "text": "(prev: " }, { "kind": "Reference", "text": "TLNoteShape", "canonicalReference": "@tldraw/tlschema!TLNoteShape:type" }, { "kind": "Content", "text": ", next: " }, { "kind": "Reference", "text": "TLNoteShape", "canonicalReference": "@tldraw/tlschema!TLNoteShape:type" }, { "kind": "Content", "text": ") => {\n props: {\n growY: number;\n color: \"black\" | \"blue\" | \"green\" | \"grey\" | \"light-blue\" | \"light-green\" | \"light-red\" | \"light-violet\" | \"orange\" | \"red\" | \"violet\" | \"yellow\";\n size: \"l\" | \"m\" | \"s\" | \"xl\";\n font: \"draw\" | \"mono\" | \"sans\" | \"serif\";\n align: \"end-legacy\" | \"end\" | \"middle-legacy\" | \"middle\" | \"start-legacy\" | \"start\";\n verticalAlign: \"end\" | \"middle\" | \"start\";\n url: string;\n text: string;\n };\n type: \"note\";\n x: number;\n y: number;\n rotation: number;\n index: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "IndexKey", "canonicalReference": "@tldraw/utils!IndexKey:type" }, { "kind": "Content", "text": ";\n parentId: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "TLParentId", "canonicalReference": "@tldraw/tlschema!TLParentId:type" }, { "kind": "Content", "text": ";\n isLocked: boolean;\n opacity: number;\n meta: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "JsonObject", "canonicalReference": "@tldraw/utils!JsonObject:type" }, { "kind": "Content", "text": ";\n id: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "TLShapeId", "canonicalReference": "@tldraw/tlschema!TLShapeId:type" }, { "kind": "Content", "text": ";\n typeName: \"shape\";\n } | undefined" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onBeforeUpdate", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 14 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!NoteShapeUtil#onEditEnd:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onEditEnd: " }, { "kind": "Reference", "text": "TLOnEditEndHandler", "canonicalReference": "@tldraw/editor!TLOnEditEndHandler:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLNoteShape", "canonicalReference": "@tldraw/tlschema!TLNoteShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onEditEnd", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!NoteShapeUtil.props:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static props: " }, { "kind": "Content", "text": "{\n color: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"black\" | \"blue\" | \"green\" | \"grey\" | \"light-blue\" | \"light-green\" | \"light-red\" | \"light-violet\" | \"orange\" | \"red\" | \"violet\" | \"yellow\">;\n size: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"l\" | \"m\" | \"s\" | \"xl\">;\n font: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"draw\" | \"mono\" | \"sans\" | \"serif\">;\n align: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"end-legacy\" | \"end\" | \"middle-legacy\" | \"middle\" | \"start-legacy\" | \"start\">;\n verticalAlign: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"end\" | \"middle\" | \"start\">;\n growY: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n url: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n text: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "props", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 18 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!NoteShapeUtil#toSvg:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "toSvg(shape: " }, { "kind": "Reference", "text": "TLNoteShape", "canonicalReference": "@tldraw/tlschema!TLNoteShape:type" }, { "kind": "Content", "text": ", ctx: " }, { "kind": "Reference", "text": "SvgExportContext", "canonicalReference": "@tldraw/editor!SvgExportContext:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "SVGGElement", "canonicalReference": "!SVGGElement:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "ctx", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "toSvg" }, { "kind": "Property", "canonicalReference": "tldraw!NoteShapeUtil.type:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static type: " }, { "kind": "Content", "text": "\"note\"" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "type", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 5 }, "implementsTokenRanges": [] }, { "kind": "Function", "canonicalReference": "tldraw!OfflineIndicator:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function OfflineIndicator(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/OfflineIndicator/OfflineIndicator.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "OfflineIndicator" }, { "kind": "Function", "canonicalReference": "tldraw!OpacitySlider:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function OpacitySlider(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/StylePanel/DefaultStylePanelContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "OpacitySlider" }, { "kind": "Function", "canonicalReference": "tldraw!PageItemInput:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "PageItemInput: ({ name, id, isCurrentPage, }: " }, { "kind": "Content", "text": "{\n name: string;\n id: " }, { "kind": "Reference", "text": "TLPageId", "canonicalReference": "@tldraw/tlschema!TLPageId:type" }, { "kind": "Content", "text": ";\n isCurrentPage: boolean;\n}" }, { "kind": "Content", "text": ") => " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/PageMenu/PageItemInput.tsx", "returnTypeTokenRange": { "startIndex": 5, "endIndex": 7 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ name, id, isCurrentPage, }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "isOptional": false } ], "name": "PageItemInput" }, { "kind": "Variable", "canonicalReference": "tldraw!PageItemSubmenu:var", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "PageItemSubmenu: " }, { "kind": "Content", "text": "import(\"react\")." }, { "kind": "Reference", "text": "MemoExoticComponent", "canonicalReference": "@types/react!React.MemoExoticComponent:type" }, { "kind": "Content", "text": "<({ index, listSize, item, onRename, }: " }, { "kind": "Reference", "text": "PageItemSubmenuProps", "canonicalReference": "tldraw!~PageItemSubmenuProps:interface" }, { "kind": "Content", "text": ") => import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ">" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/PageMenu/PageItemSubmenu.tsx", "isReadonly": true, "releaseTag": "Public", "name": "PageItemSubmenu", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 8 } }, { "kind": "Function", "canonicalReference": "tldraw!parseTldrawJsonFile:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function parseTldrawJsonFile({ json, schema, }: " }, { "kind": "Content", "text": "{\n schema: " }, { "kind": "Reference", "text": "TLSchema", "canonicalReference": "@tldraw/tlschema!TLSchema:type" }, { "kind": "Content", "text": ";\n json: string;\n}" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "Result", "canonicalReference": "@tldraw/utils!Result:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLStore", "canonicalReference": "@tldraw/tlschema!TLStore:type" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "TldrawFileParseError", "canonicalReference": "tldraw!~TldrawFileParseError:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/utils/tldr/file.ts", "returnTypeTokenRange": { "startIndex": 5, "endIndex": 11 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ json, schema, }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "isOptional": false } ], "name": "parseTldrawJsonFile" }, { "kind": "Function", "canonicalReference": "tldraw!PasteMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function PasteMenuItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "PasteMenuItem" }, { "kind": "Function", "canonicalReference": "tldraw!PreferencesGroup:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function PreferencesGroup(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/MainMenu/DefaultMainMenuContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "PreferencesGroup" }, { "kind": "Function", "canonicalReference": "tldraw!preloadFont:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function preloadFont(id: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", font: " }, { "kind": "Reference", "text": "TLTypeFace", "canonicalReference": "tldraw!~TLTypeFace:type" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "Promise", "canonicalReference": "!Promise:interface" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "FontFace", "canonicalReference": "!FontFace:interface" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/utils/assets/preload-font.ts", "returnTypeTokenRange": { "startIndex": 5, "endIndex": 9 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "id", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "font", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false } ], "name": "preloadFont" }, { "kind": "Function", "canonicalReference": "tldraw!PrintItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function PrintItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "PrintItem" }, { "kind": "Function", "canonicalReference": "tldraw!removeFrame:function(1)", "docComment": "/**\n * Remove a frame.\n *\n * @param editor - tlraw editor instance.\n *\n * @param ids - Ids of the frames you wish to remove.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function removeFrame(editor: " }, { "kind": "Reference", "text": "Editor", "canonicalReference": "@tldraw/editor!Editor:class" }, { "kind": "Content", "text": ", ids: " }, { "kind": "Reference", "text": "TLShapeId", "canonicalReference": "@tldraw/tlschema!TLShapeId:type" }, { "kind": "Content", "text": "[]" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/utils/frames/frames.ts", "returnTypeTokenRange": { "startIndex": 6, "endIndex": 7 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "editor", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "ids", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "isOptional": false } ], "name": "removeFrame" }, { "kind": "Function", "canonicalReference": "tldraw!RemoveFrameMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function RemoveFrameMenuItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "RemoveFrameMenuItem" }, { "kind": "Function", "canonicalReference": "tldraw!ReorderMenuItems:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ReorderMenuItems(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/ActionsMenu/DefaultActionsMenuContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ReorderMenuItems" }, { "kind": "Function", "canonicalReference": "tldraw!ReorderMenuSubmenu:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ReorderMenuSubmenu(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ReorderMenuSubmenu" }, { "kind": "Function", "canonicalReference": "tldraw!RotateCWMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function RotateCWMenuItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/ActionsMenu/DefaultActionsMenuContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "RotateCWMenuItem" }, { "kind": "Function", "canonicalReference": "tldraw!SelectAllMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function SelectAllMenuItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "SelectAllMenuItem" }, { "kind": "Class", "canonicalReference": "tldraw!SelectTool:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class SelectTool extends " }, { "kind": "Reference", "text": "StateNode", "canonicalReference": "@tldraw/editor!StateNode:class" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/tools/SelectTool/SelectTool.ts", "releaseTag": "Public", "isAbstract": false, "name": "SelectTool", "preserveMemberOrder": false, "members": [ { "kind": "Property", "canonicalReference": "tldraw!SelectTool.children:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static children: " }, { "kind": "Content", "text": "() => (typeof " }, { "kind": "Reference", "text": "Brushing", "canonicalReference": "tldraw!~Brushing:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "Crop", "canonicalReference": "tldraw!~Crop:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "Cropping", "canonicalReference": "tldraw!~Cropping:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "DraggingHandle", "canonicalReference": "tldraw!~DraggingHandle:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "EditingShape", "canonicalReference": "tldraw!~EditingShape:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "Idle", "canonicalReference": "tldraw!~Idle_11:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "PointingArrowLabel", "canonicalReference": "tldraw!~PointingArrowLabel:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "PointingCanvas", "canonicalReference": "tldraw!~PointingCanvas:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "PointingCropHandle", "canonicalReference": "tldraw!~PointingCropHandle:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "PointingHandle", "canonicalReference": "tldraw!~PointingHandle:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "PointingResizeHandle", "canonicalReference": "tldraw!~PointingResizeHandle:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "PointingRotateHandle", "canonicalReference": "tldraw!~PointingRotateHandle:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "PointingSelection", "canonicalReference": "tldraw!~PointingSelection:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "PointingShape", "canonicalReference": "tldraw!~PointingShape:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "Resizing", "canonicalReference": "tldraw!~Resizing:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "Rotating", "canonicalReference": "tldraw!~Rotating:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "ScribbleBrushing", "canonicalReference": "tldraw!~ScribbleBrushing:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "Translating", "canonicalReference": "tldraw!~Translating:class" }, { "kind": "Content", "text": ")[]" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "children", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 38 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!SelectTool.id:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static id: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "id", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!SelectTool.initial:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static initial: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "initial", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!SelectTool#onEnter:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onEnter: " }, { "kind": "Content", "text": "() => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onEnter", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!SelectTool#onExit:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onExit: " }, { "kind": "Content", "text": "() => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onExit", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!SelectTool#reactor:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "reactor: " }, { "kind": "Content", "text": "(() => void) | undefined" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "reactor", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 2 }, "implementsTokenRanges": [] }, { "kind": "Function", "canonicalReference": "tldraw!serializeTldrawJson:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function serializeTldrawJson(store: " }, { "kind": "Reference", "text": "TLStore", "canonicalReference": "@tldraw/tlschema!TLStore:type" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "Promise", "canonicalReference": "!Promise:interface" }, { "kind": "Content", "text": "" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/utils/tldr/file.ts", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "store", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "serializeTldrawJson" }, { "kind": "Function", "canonicalReference": "tldraw!serializeTldrawJsonBlob:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function serializeTldrawJsonBlob(store: " }, { "kind": "Reference", "text": "TLStore", "canonicalReference": "@tldraw/tlschema!TLStore:type" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "Promise", "canonicalReference": "!Promise:interface" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "Blob", "canonicalReference": "!Blob:interface" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/utils/tldr/file.ts", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 7 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "store", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "serializeTldrawJsonBlob" }, { "kind": "Function", "canonicalReference": "tldraw!setDefaultEditorAssetUrls:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function setDefaultEditorAssetUrls(assetUrls: " }, { "kind": "Reference", "text": "TLEditorAssetUrls", "canonicalReference": "tldraw!~TLEditorAssetUrls:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/utils/static-assets/assetUrls.ts", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "assetUrls", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "setDefaultEditorAssetUrls" }, { "kind": "Function", "canonicalReference": "tldraw!SplineStylePickerSet:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function SplineStylePickerSet({ styles }: " }, { "kind": "Content", "text": "{\n styles: " }, { "kind": "Reference", "text": "ReadonlySharedStyleMap", "canonicalReference": "@tldraw/editor!ReadonlySharedStyleMap:class" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/StylePanel/DefaultStylePanelContent.tsx", "returnTypeTokenRange": { "startIndex": 5, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ styles }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "isOptional": false } ], "name": "SplineStylePickerSet" }, { "kind": "Function", "canonicalReference": "tldraw!StackMenuItems:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function StackMenuItems(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/ActionsMenu/DefaultActionsMenuContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "StackMenuItems" }, { "kind": "Class", "canonicalReference": "tldraw!TextShapeTool:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class TextShapeTool extends " }, { "kind": "Reference", "text": "StateNode", "canonicalReference": "@tldraw/editor!StateNode:class" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/shapes/text/TextShapeTool.ts", "releaseTag": "Public", "isAbstract": false, "name": "TextShapeTool", "preserveMemberOrder": false, "members": [ { "kind": "Property", "canonicalReference": "tldraw!TextShapeTool.children:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static children: " }, { "kind": "Content", "text": "() => (typeof " }, { "kind": "Reference", "text": "Idle", "canonicalReference": "tldraw!~Idle_6:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "Pointing", "canonicalReference": "tldraw!~Pointing_5:class" }, { "kind": "Content", "text": ")[]" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "children", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 6 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!TextShapeTool.id:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static id: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "id", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!TextShapeTool.initial:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static initial: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "initial", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!TextShapeTool#shapeType:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "shapeType: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "shapeType", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 2 }, "implementsTokenRanges": [] }, { "kind": "Class", "canonicalReference": "tldraw!TextShapeUtil:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class TextShapeUtil extends " }, { "kind": "Reference", "text": "ShapeUtil", "canonicalReference": "@tldraw/editor!ShapeUtil:class" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLTextShape", "canonicalReference": "@tldraw/tlschema!TLTextShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/shapes/text/TextShapeUtil.tsx", "releaseTag": "Public", "isAbstract": false, "name": "TextShapeUtil", "preserveMemberOrder": false, "members": [ { "kind": "Property", "canonicalReference": "tldraw!TextShapeUtil#canEdit:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "canEdit: " }, { "kind": "Content", "text": "() => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "canEdit", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!TextShapeUtil#component:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "component(shape: " }, { "kind": "Reference", "text": "TLTextShape", "canonicalReference": "@tldraw/tlschema!TLTextShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "component" }, { "kind": "Method", "canonicalReference": "tldraw!TextShapeUtil#getDefaultProps:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getDefaultProps(): " }, { "kind": "Reference", "text": "TLTextShape", "canonicalReference": "@tldraw/tlschema!TLTextShape:type" }, { "kind": "Content", "text": "['props']" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [], "isOptional": false, "isAbstract": false, "name": "getDefaultProps" }, { "kind": "Method", "canonicalReference": "tldraw!TextShapeUtil#getGeometry:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getGeometry(shape: " }, { "kind": "Reference", "text": "TLTextShape", "canonicalReference": "@tldraw/tlschema!TLTextShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "Rectangle2d", "canonicalReference": "@tldraw/editor!Rectangle2d:class" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "getGeometry" }, { "kind": "Method", "canonicalReference": "tldraw!TextShapeUtil#getMinDimensions:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getMinDimensions(shape: " }, { "kind": "Reference", "text": "TLTextShape", "canonicalReference": "@tldraw/tlschema!TLTextShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "{\n height: number;\n width: number;\n }" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "getMinDimensions" }, { "kind": "Method", "canonicalReference": "tldraw!TextShapeUtil#indicator:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "indicator(shape: " }, { "kind": "Reference", "text": "TLTextShape", "canonicalReference": "@tldraw/tlschema!TLTextShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 6 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "indicator" }, { "kind": "Property", "canonicalReference": "tldraw!TextShapeUtil#isAspectRatioLocked:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "isAspectRatioLocked: " }, { "kind": "Reference", "text": "TLShapeUtilFlag", "canonicalReference": "@tldraw/editor!TLShapeUtilFlag:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLTextShape", "canonicalReference": "@tldraw/tlschema!TLTextShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "isAspectRatioLocked", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!TextShapeUtil.migrations:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static migrations: " }, { "kind": "Content", "text": "import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Migrations", "canonicalReference": "@tldraw/store!Migrations:interface" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "migrations", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!TextShapeUtil#onBeforeCreate:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onBeforeCreate: " }, { "kind": "Content", "text": "(shape: " }, { "kind": "Reference", "text": "TLTextShape", "canonicalReference": "@tldraw/tlschema!TLTextShape:type" }, { "kind": "Content", "text": ") => {\n x: number;\n y: number;\n type: \"text\";\n rotation: number;\n index: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "IndexKey", "canonicalReference": "@tldraw/utils!IndexKey:type" }, { "kind": "Content", "text": ";\n parentId: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "TLParentId", "canonicalReference": "@tldraw/tlschema!TLParentId:type" }, { "kind": "Content", "text": ";\n isLocked: boolean;\n opacity: number;\n props: {\n color: \"black\" | \"blue\" | \"green\" | \"grey\" | \"light-blue\" | \"light-green\" | \"light-red\" | \"light-violet\" | \"orange\" | \"red\" | \"violet\" | \"yellow\";\n size: \"l\" | \"m\" | \"s\" | \"xl\";\n font: \"draw\" | \"mono\" | \"sans\" | \"serif\";\n align: \"end-legacy\" | \"end\" | \"middle-legacy\" | \"middle\" | \"start-legacy\" | \"start\";\n w: number;\n text: string;\n scale: number;\n autoSize: boolean;\n };\n meta: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "JsonObject", "canonicalReference": "@tldraw/utils!JsonObject:type" }, { "kind": "Content", "text": ";\n id: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "TLShapeId", "canonicalReference": "@tldraw/tlschema!TLShapeId:type" }, { "kind": "Content", "text": ";\n typeName: \"shape\";\n } | undefined" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onBeforeCreate", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 12 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!TextShapeUtil#onBeforeUpdate:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onBeforeUpdate: " }, { "kind": "Content", "text": "(prev: " }, { "kind": "Reference", "text": "TLTextShape", "canonicalReference": "@tldraw/tlschema!TLTextShape:type" }, { "kind": "Content", "text": ", next: " }, { "kind": "Reference", "text": "TLTextShape", "canonicalReference": "@tldraw/tlschema!TLTextShape:type" }, { "kind": "Content", "text": ") => {\n x: number;\n y: number;\n props: {\n w: number;\n color: \"black\" | \"blue\" | \"green\" | \"grey\" | \"light-blue\" | \"light-green\" | \"light-red\" | \"light-violet\" | \"orange\" | \"red\" | \"violet\" | \"yellow\";\n size: \"l\" | \"m\" | \"s\" | \"xl\";\n font: \"draw\" | \"mono\" | \"sans\" | \"serif\";\n align: \"end-legacy\" | \"end\" | \"middle-legacy\" | \"middle\" | \"start-legacy\" | \"start\";\n text: string;\n scale: number;\n autoSize: boolean;\n };\n type: \"text\";\n rotation: number;\n index: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "IndexKey", "canonicalReference": "@tldraw/utils!IndexKey:type" }, { "kind": "Content", "text": ";\n parentId: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "TLParentId", "canonicalReference": "@tldraw/tlschema!TLParentId:type" }, { "kind": "Content", "text": ";\n isLocked: boolean;\n opacity: number;\n meta: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "JsonObject", "canonicalReference": "@tldraw/utils!JsonObject:type" }, { "kind": "Content", "text": ";\n id: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "TLShapeId", "canonicalReference": "@tldraw/tlschema!TLShapeId:type" }, { "kind": "Content", "text": ";\n typeName: \"shape\";\n } | undefined" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onBeforeUpdate", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 14 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!TextShapeUtil#onDoubleClickEdge:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onDoubleClickEdge: " }, { "kind": "Content", "text": "(shape: " }, { "kind": "Reference", "text": "TLTextShape", "canonicalReference": "@tldraw/tlschema!TLTextShape:type" }, { "kind": "Content", "text": ") => {\n id: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "TLShapeId", "canonicalReference": "@tldraw/tlschema!TLShapeId:type" }, { "kind": "Content", "text": ";\n type: \"text\";\n props: {\n autoSize: boolean;\n scale?: undefined;\n };\n } | {\n id: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "TLShapeId", "canonicalReference": "@tldraw/tlschema!TLShapeId:type" }, { "kind": "Content", "text": ";\n type: \"text\";\n props: {\n scale: number;\n autoSize?: undefined;\n };\n } | undefined" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onDoubleClickEdge", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 8 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!TextShapeUtil#onEditEnd:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onEditEnd: " }, { "kind": "Reference", "text": "TLOnEditEndHandler", "canonicalReference": "@tldraw/editor!TLOnEditEndHandler:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLTextShape", "canonicalReference": "@tldraw/tlschema!TLTextShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onEditEnd", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!TextShapeUtil#onResize:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onResize: " }, { "kind": "Reference", "text": "TLOnResizeHandler", "canonicalReference": "@tldraw/editor!TLOnResizeHandler:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLTextShape", "canonicalReference": "@tldraw/tlschema!TLTextShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onResize", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!TextShapeUtil.props:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static props: " }, { "kind": "Content", "text": "{\n color: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"black\" | \"blue\" | \"green\" | \"grey\" | \"light-blue\" | \"light-green\" | \"light-red\" | \"light-violet\" | \"orange\" | \"red\" | \"violet\" | \"yellow\">;\n size: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"l\" | \"m\" | \"s\" | \"xl\">;\n font: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"draw\" | \"mono\" | \"sans\" | \"serif\">;\n align: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "EnumStyleProp", "canonicalReference": "@tldraw/tlschema!EnumStyleProp:class" }, { "kind": "Content", "text": "<\"end-legacy\" | \"end\" | \"middle-legacy\" | \"middle\" | \"start-legacy\" | \"start\">;\n w: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n text: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n scale: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n autoSize: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "props", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 18 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!TextShapeUtil#toSvg:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "toSvg(shape: " }, { "kind": "Reference", "text": "TLTextShape", "canonicalReference": "@tldraw/tlschema!TLTextShape:type" }, { "kind": "Content", "text": ", ctx: " }, { "kind": "Reference", "text": "SvgExportContext", "canonicalReference": "@tldraw/editor!SvgExportContext:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "SVGGElement", "canonicalReference": "!SVGGElement:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "ctx", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "toSvg" }, { "kind": "Property", "canonicalReference": "tldraw!TextShapeUtil.type:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static type: " }, { "kind": "Content", "text": "\"text\"" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "type", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 5 }, "implementsTokenRanges": [] }, { "kind": "Function", "canonicalReference": "tldraw!TextStylePickerSet:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TextStylePickerSet({ styles }: " }, { "kind": "Content", "text": "{\n styles: " }, { "kind": "Reference", "text": "ReadonlySharedStyleMap", "canonicalReference": "@tldraw/editor!ReadonlySharedStyleMap:class" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/StylePanel/DefaultStylePanelContent.tsx", "returnTypeTokenRange": { "startIndex": 5, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ styles }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "isOptional": false } ], "name": "TextStylePickerSet" }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLComponents:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLComponents = " }, { "kind": "Reference", "text": "Expand", "canonicalReference": "@tldraw/utils!Expand:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLEditorComponents", "canonicalReference": "@tldraw/editor!TLEditorComponents:type" }, { "kind": "Content", "text": " & " }, { "kind": "Reference", "text": "TLUiComponents", "canonicalReference": "tldraw!TLUiComponents:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/Tldraw.tsx", "releaseTag": "Public", "name": "TLComponents", "typeTokenRange": { "startIndex": 1, "endIndex": 7 } }, { "kind": "Variable", "canonicalReference": "tldraw!TLDRAW_FILE_EXTENSION:var", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "TLDRAW_FILE_EXTENSION: " }, { "kind": "Content", "text": "\".tldr\"" } ], "fileUrlPath": "packages/tldraw/src/lib/utils/tldr/file.ts", "isReadonly": true, "releaseTag": "Public", "name": "TLDRAW_FILE_EXTENSION", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "Function", "canonicalReference": "tldraw!Tldraw:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function Tldraw(props: " }, { "kind": "Reference", "text": "TldrawProps", "canonicalReference": "tldraw!TldrawProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/Tldraw.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "props", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "Tldraw" }, { "kind": "Interface", "canonicalReference": "tldraw!TldrawFile:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface TldrawFile " } ], "fileUrlPath": "packages/tldraw/src/lib/utils/tldr/file.ts", "releaseTag": "Public", "name": "TldrawFile", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "tldraw!TldrawFile#records:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "records: " }, { "kind": "Reference", "text": "UnknownRecord", "canonicalReference": "@tldraw/store!UnknownRecord:type" }, { "kind": "Content", "text": "[]" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "records", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TldrawFile#schema:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "schema: " }, { "kind": "Reference", "text": "SerializedSchema", "canonicalReference": "@tldraw/store!SerializedSchema:interface" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "schema", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TldrawFile#tldrawFileFormatVersion:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "tldrawFileFormatVersion: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "tldrawFileFormatVersion", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Function", "canonicalReference": "tldraw!TldrawHandles:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawHandles({ children }: " }, { "kind": "Reference", "text": "TLHandlesProps", "canonicalReference": "@tldraw/editor!TLHandlesProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/canvas/TldrawHandles.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ children }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawHandles" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawHoveredShapeIndicator:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawHoveredShapeIndicator({ shapeId }: " }, { "kind": "Reference", "text": "TLHoveredShapeIndicatorProps", "canonicalReference": "@tldraw/editor!TLHoveredShapeIndicatorProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/canvas/TldrawHoveredShapeIndicator.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ shapeId }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawHoveredShapeIndicator" }, { "kind": "Variable", "canonicalReference": "tldraw!TldrawImage:var", "docComment": "/**\n * A renderered SVG image of a Tldraw snapshot.\n *\n * @example\n * ```tsx\n * \n * \tsnapshot={snapshot}\n * \tpageId={pageId}\n * \tbackground={false}\n * darkMode={true}\n * bounds={new Box(0,0,600,400)}\n * scale={1}\n * />\n * ```\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "TldrawImage: " }, { "kind": "Content", "text": "import(\"react\")." }, { "kind": "Reference", "text": "NamedExoticComponent", "canonicalReference": "@types/react!React.NamedExoticComponent:interface" }, { "kind": "Content", "text": "<{\n snapshot: " }, { "kind": "Reference", "text": "StoreSnapshot", "canonicalReference": "@tldraw/store!StoreSnapshot:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLRecord", "canonicalReference": "@tldraw/tlschema!TLRecord:type" }, { "kind": "Content", "text": ">;\n format?: \"png\" | \"svg\" | undefined;\n pageId?: " }, { "kind": "Reference", "text": "TLPageId", "canonicalReference": "@tldraw/tlschema!TLPageId:type" }, { "kind": "Content", "text": " | undefined;\n shapeUtils?: readonly " }, { "kind": "Reference", "text": "TLAnyShapeUtilConstructor", "canonicalReference": "@tldraw/editor!TLAnyShapeUtilConstructor:type" }, { "kind": "Content", "text": "[] | undefined;\n bounds?: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Box", "canonicalReference": "@tldraw/editor!Box:class" }, { "kind": "Content", "text": " | undefined;\n scale?: number | undefined;\n background?: boolean | undefined;\n padding?: number | undefined;\n darkMode?: boolean | undefined;\n preserveAspectRatio?: string | undefined;\n}>" } ], "fileUrlPath": "packages/tldraw/src/lib/TldrawImage.tsx", "isReadonly": true, "releaseTag": "Public", "name": "TldrawImage", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 14 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TldrawImageProps:type", "docComment": "/**\n * Props for the {@link tldraw#TldrawImage} component.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TldrawImageProps = " }, { "kind": "Reference", "text": "Expand", "canonicalReference": "@tldraw/utils!Expand:type" }, { "kind": "Content", "text": "<{\n snapshot: " }, { "kind": "Reference", "text": "StoreSnapshot", "canonicalReference": "@tldraw/store!StoreSnapshot:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLRecord", "canonicalReference": "@tldraw/tlschema!TLRecord:type" }, { "kind": "Content", "text": ">;\n format?: 'png' | 'svg';\n pageId?: " }, { "kind": "Reference", "text": "TLPageId", "canonicalReference": "@tldraw/tlschema!TLPageId:type" }, { "kind": "Content", "text": ";\n shapeUtils?: readonly " }, { "kind": "Reference", "text": "TLAnyShapeUtilConstructor", "canonicalReference": "@tldraw/editor!TLAnyShapeUtilConstructor:type" }, { "kind": "Content", "text": "[];\n} & " }, { "kind": "Reference", "text": "Partial", "canonicalReference": "!Partial:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLSvgOptions", "canonicalReference": "@tldraw/editor!TLSvgOptions:type" }, { "kind": "Content", "text": ">>" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/TldrawImage.tsx", "releaseTag": "Public", "name": "TldrawImageProps", "typeTokenRange": { "startIndex": 1, "endIndex": 15 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TldrawProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TldrawProps = " }, { "kind": "Reference", "text": "Expand", "canonicalReference": "@tldraw/utils!Expand:type" }, { "kind": "Content", "text": "<(" }, { "kind": "Reference", "text": "Omit", "canonicalReference": "!Omit:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TldrawUiProps", "canonicalReference": "tldraw!TldrawUiProps:type" }, { "kind": "Content", "text": ", 'components'> & " }, { "kind": "Reference", "text": "Omit", "canonicalReference": "!Omit:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TldrawEditorBaseProps", "canonicalReference": "@tldraw/editor!TldrawEditorBaseProps:interface" }, { "kind": "Content", "text": ", 'components'> & {\n components?: " }, { "kind": "Reference", "text": "TLComponents", "canonicalReference": "tldraw!TLComponents:type" }, { "kind": "Content", "text": ";\n}) & " }, { "kind": "Reference", "text": "Partial", "canonicalReference": "!Partial:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLExternalContentProps", "canonicalReference": "tldraw!~TLExternalContentProps:type" }, { "kind": "Content", "text": "> & ({\n store: " }, { "kind": "Reference", "text": "TLStore", "canonicalReference": "@tldraw/tlschema!TLStore:type" }, { "kind": "Content", "text": " | " }, { "kind": "Reference", "text": "TLStoreWithStatus", "canonicalReference": "@tldraw/editor!TLStoreWithStatus:type" }, { "kind": "Content", "text": ";\n} | {\n store?: undefined;\n persistenceKey?: string;\n sessionId?: string;\n defaultName?: string;\n snapshot?: " }, { "kind": "Reference", "text": "StoreSnapshot", "canonicalReference": "@tldraw/store!StoreSnapshot:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLRecord", "canonicalReference": "@tldraw/tlschema!TLRecord:type" }, { "kind": "Content", "text": ">;\n})>" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/Tldraw.tsx", "releaseTag": "Public", "name": "TldrawProps", "typeTokenRange": { "startIndex": 1, "endIndex": 25 } }, { "kind": "Function", "canonicalReference": "tldraw!TldrawScribble:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawScribble({ scribble, zoom, color, opacity, className }: " }, { "kind": "Reference", "text": "TLScribbleProps", "canonicalReference": "@tldraw/editor!TLScribbleProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/canvas/TldrawScribble.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ scribble, zoom, color, opacity, className }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawScribble" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawSelectionBackground:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "TldrawSelectionBackground: ({ bounds, rotation }: " }, { "kind": "Reference", "text": "TLSelectionBackgroundProps", "canonicalReference": "@tldraw/editor!TLSelectionBackgroundProps:type" }, { "kind": "Content", "text": ") => " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" } ], "fileUrlPath": "packages/tldraw/src/lib/canvas/TldrawSelectionBackground.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ bounds, rotation }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawSelectionBackground" }, { "kind": "Variable", "canonicalReference": "tldraw!TldrawSelectionForeground:var", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "TldrawSelectionForeground: " }, { "kind": "Content", "text": "import(\"react\")." }, { "kind": "Reference", "text": "MemoExoticComponent", "canonicalReference": "@types/react!React.MemoExoticComponent:type" }, { "kind": "Content", "text": "<({ bounds, rotation, }: " }, { "kind": "Reference", "text": "TLSelectionForegroundProps", "canonicalReference": "@tldraw/editor!TLSelectionForegroundProps:type" }, { "kind": "Content", "text": ") => import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null>" } ], "fileUrlPath": "packages/tldraw/src/lib/canvas/TldrawSelectionForeground.tsx", "isReadonly": true, "releaseTag": "Public", "name": "TldrawSelectionForeground", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 8 } }, { "kind": "Variable", "canonicalReference": "tldraw!TldrawUi:var", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "TldrawUi: " }, { "kind": "Reference", "text": "React.NamedExoticComponent", "canonicalReference": "@types/react!React.NamedExoticComponent:interface" }, { "kind": "Content", "text": "<{\n children?: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n hideUi?: boolean | undefined;\n components?: " }, { "kind": "Reference", "text": "Partial", "canonicalReference": "!Partial:type" }, { "kind": "Content", "text": "<{\n ContextMenu: null | " }, { "kind": "Reference", "text": "React.ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": ";\n ActionsMenu: null | " }, { "kind": "Reference", "text": "React.ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": ";\n HelpMenu: null | " }, { "kind": "Reference", "text": "React.ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": ";\n ZoomMenu: null | " }, { "kind": "Reference", "text": "React.ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": ";\n MainMenu: null | " }, { "kind": "Reference", "text": "React.ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": ";\n Minimap: null | " }, { "kind": "Reference", "text": "React.ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": ";\n StylePanel: null | " }, { "kind": "Reference", "text": "React.ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": ";\n PageMenu: null | " }, { "kind": "Reference", "text": "React.ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": ";\n NavigationPanel: null | " }, { "kind": "Reference", "text": "React.ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": ";\n Toolbar: null | " }, { "kind": "Reference", "text": "React.ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": ";\n KeyboardShortcutsDialog: null | " }, { "kind": "Reference", "text": "React.ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": ";\n QuickActions: null | " }, { "kind": "Reference", "text": "React.ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": ";\n HelperButtons: null | " }, { "kind": "Reference", "text": "React.ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": ";\n DebugMenu: null | " }, { "kind": "Reference", "text": "React.ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": ";\n MenuPanel: null | " }, { "kind": "Reference", "text": "React.ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": ";\n TopPanel: null | " }, { "kind": "Reference", "text": "React.ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": ";\n SharePanel: null | " }, { "kind": "Reference", "text": "React.ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": ";\n }> | undefined;\n renderDebugMenuItems?: (() => " }, { "kind": "Reference", "text": "React.ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ") | undefined;\n assetUrls?: (import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "RecursivePartial", "canonicalReference": "@tldraw/utils!RecursivePartial:type" }, { "kind": "Content", "text": " & import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "RecursivePartial", "canonicalReference": "@tldraw/utils!RecursivePartial:type" }, { "kind": "Content", "text": ") | undefined;\n overrides?: " }, { "kind": "Reference", "text": "Partial", "canonicalReference": "!Partial:type" }, { "kind": "Content", "text": "<{\n actions: import(\"./overrides\")." }, { "kind": "Reference", "text": "TLUiOverride", "canonicalReference": "tldraw!~TLUiOverride:type" }, { "kind": "Content", "text": " & {\n id?: string | undefined;\n }) => string;\n removeToast: (id: string) => string;\n clearToasts: () => void;\n addDialog: (dialog: " }, { "kind": "Reference", "text": "Omit", "canonicalReference": "!Omit:type" }, { "kind": "Content", "text": " & {\n id?: string | undefined;\n }) => string;\n clearDialogs: () => void;\n removeDialog: (id: string) => string;\n updateDialog: (id: string, newDialogData: " }, { "kind": "Reference", "text": "Partial", "canonicalReference": "!Partial:type" }, { "kind": "Content", "text": ") => string;\n msg: (id?: string | undefined) => string;\n isMobile: boolean;\n }>;\n toolbar: import(\"./overrides\")." }, { "kind": "Reference", "text": "TLUiOverride", "canonicalReference": "tldraw!~TLUiOverride:type" }, { "kind": "Content", "text": " & {\n id?: string | undefined;\n }) => string;\n removeToast: (id: string) => string;\n clearToasts: () => void;\n addDialog: (dialog: " }, { "kind": "Reference", "text": "Omit", "canonicalReference": "!Omit:type" }, { "kind": "Content", "text": " & {\n id?: string | undefined;\n }) => string;\n clearDialogs: () => void;\n removeDialog: (id: string) => string;\n updateDialog: (id: string, newDialogData: " }, { "kind": "Reference", "text": "Partial", "canonicalReference": "!Partial:type" }, { "kind": "Content", "text": ") => string;\n msg: (id?: string | undefined) => string;\n isMobile: boolean;\n }>;\n tools: import(\"./overrides\")." }, { "kind": "Reference", "text": "TLUiOverride", "canonicalReference": "tldraw!~TLUiOverride:type" }, { "kind": "Content", "text": " void;\n } & {\n addToast: (toast: " }, { "kind": "Reference", "text": "Omit", "canonicalReference": "!Omit:type" }, { "kind": "Content", "text": " & {\n id?: string | undefined;\n }) => string;\n removeToast: (id: string) => string;\n clearToasts: () => void;\n addDialog: (dialog: " }, { "kind": "Reference", "text": "Omit", "canonicalReference": "!Omit:type" }, { "kind": "Content", "text": " & {\n id?: string | undefined;\n }) => string;\n clearDialogs: () => void;\n removeDialog: (id: string) => string;\n updateDialog: (id: string, newDialogData: " }, { "kind": "Reference", "text": "Partial", "canonicalReference": "!Partial:type" }, { "kind": "Content", "text": ") => string;\n msg: (id?: string | undefined) => string;\n isMobile: boolean;\n }>;\n translations: " }, { "kind": "Reference", "text": "Record", "canonicalReference": "!Record:type" }, { "kind": "Content", "text": "> | undefined;\n }> | " }, { "kind": "Reference", "text": "Partial", "canonicalReference": "!Partial:type" }, { "kind": "Content", "text": "<{\n actions: import(\"./overrides\")." }, { "kind": "Reference", "text": "TLUiOverride", "canonicalReference": "tldraw!~TLUiOverride:type" }, { "kind": "Content", "text": " & {\n id?: string | undefined;\n }) => string;\n removeToast: (id: string) => string;\n clearToasts: () => void;\n addDialog: (dialog: " }, { "kind": "Reference", "text": "Omit", "canonicalReference": "!Omit:type" }, { "kind": "Content", "text": " & {\n id?: string | undefined;\n }) => string;\n clearDialogs: () => void;\n removeDialog: (id: string) => string;\n updateDialog: (id: string, newDialogData: " }, { "kind": "Reference", "text": "Partial", "canonicalReference": "!Partial:type" }, { "kind": "Content", "text": ") => string;\n msg: (id?: string | undefined) => string;\n isMobile: boolean;\n }>;\n toolbar: import(\"./overrides\")." }, { "kind": "Reference", "text": "TLUiOverride", "canonicalReference": "tldraw!~TLUiOverride:type" }, { "kind": "Content", "text": " & {\n id?: string | undefined;\n }) => string;\n removeToast: (id: string) => string;\n clearToasts: () => void;\n addDialog: (dialog: " }, { "kind": "Reference", "text": "Omit", "canonicalReference": "!Omit:type" }, { "kind": "Content", "text": " & {\n id?: string | undefined;\n }) => string;\n clearDialogs: () => void;\n removeDialog: (id: string) => string;\n updateDialog: (id: string, newDialogData: " }, { "kind": "Reference", "text": "Partial", "canonicalReference": "!Partial:type" }, { "kind": "Content", "text": ") => string;\n msg: (id?: string | undefined) => string;\n isMobile: boolean;\n }>;\n tools: import(\"./overrides\")." }, { "kind": "Reference", "text": "TLUiOverride", "canonicalReference": "tldraw!~TLUiOverride:type" }, { "kind": "Content", "text": " void;\n } & {\n addToast: (toast: " }, { "kind": "Reference", "text": "Omit", "canonicalReference": "!Omit:type" }, { "kind": "Content", "text": " & {\n id?: string | undefined;\n }) => string;\n removeToast: (id: string) => string;\n clearToasts: () => void;\n addDialog: (dialog: " }, { "kind": "Reference", "text": "Omit", "canonicalReference": "!Omit:type" }, { "kind": "Content", "text": " & {\n id?: string | undefined;\n }) => string;\n clearDialogs: () => void;\n removeDialog: (id: string) => string;\n updateDialog: (id: string, newDialogData: " }, { "kind": "Reference", "text": "Partial", "canonicalReference": "!Partial:type" }, { "kind": "Content", "text": ") => string;\n msg: (id?: string | undefined) => string;\n isMobile: boolean;\n }>;\n translations: " }, { "kind": "Reference", "text": "Record", "canonicalReference": "!Record:type" }, { "kind": "Content", "text": "> | undefined;\n }>[] | undefined;\n onUiEvent?: import(\"./context/events\")." }, { "kind": "Reference", "text": "TLUiEventHandler", "canonicalReference": "tldraw!TLUiEventHandler:type" }, { "kind": "Content", "text": " | undefined;\n forceMobile?: boolean | undefined;\n}>" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/TldrawUi.tsx", "isReadonly": true, "releaseTag": "Public", "name": "TldrawUi", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 183 } }, { "kind": "Interface", "canonicalReference": "tldraw!TldrawUiBaseProps:interface", "docComment": "/**\n * Base props for the {@link tldraw#Tldraw} and {@link TldrawUi} components.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface TldrawUiBaseProps " } ], "fileUrlPath": "packages/tldraw/src/lib/ui/TldrawUi.tsx", "releaseTag": "Public", "name": "TldrawUiBaseProps", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "tldraw!TldrawUiBaseProps#assetUrls:member", "docComment": "/**\n * Asset URL override.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "assetUrls?: " }, { "kind": "Reference", "text": "TLUiAssetUrlOverrides", "canonicalReference": "tldraw!TLUiAssetUrlOverrides:type" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "assetUrls", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TldrawUiBaseProps#children:member", "docComment": "/**\n * The component's children.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "children?: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "children", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TldrawUiBaseProps#components:member", "docComment": "/**\n * Overrides for the UI components.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "components?: " }, { "kind": "Reference", "text": "TLUiComponents", "canonicalReference": "tldraw!TLUiComponents:type" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "components", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TldrawUiBaseProps#hideUi:member", "docComment": "/**\n * Whether to hide the user interface and only display the canvas.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "hideUi?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "hideUi", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TldrawUiBaseProps#renderDebugMenuItems:member", "docComment": "/**\n * Additional items to add to the debug menu (will be deprecated)\n */\n", "excerptTokens": [ { "kind": "Content", "text": "renderDebugMenuItems?: " }, { "kind": "Content", "text": "() => " }, { "kind": "Reference", "text": "React.ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "renderDebugMenuItems", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 } } ], "extendsTokenRanges": [] }, { "kind": "Variable", "canonicalReference": "tldraw!TldrawUiButton:var", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "TldrawUiButton: " }, { "kind": "Reference", "text": "React.ForwardRefExoticComponent", "canonicalReference": "@types/react!React.ForwardRefExoticComponent:interface" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiButtonProps", "canonicalReference": "tldraw!TLUiButtonProps:interface" }, { "kind": "Content", "text": " & " }, { "kind": "Reference", "text": "React.RefAttributes", "canonicalReference": "@types/react!React.RefAttributes:interface" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "HTMLButtonElement", "canonicalReference": "!HTMLButtonElement:interface" }, { "kind": "Content", "text": ">>" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/Button/TldrawUiButton.tsx", "isReadonly": true, "releaseTag": "Public", "name": "TldrawUiButton", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 9 } }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiButtonCheck:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiButtonCheck({ checked }: " }, { "kind": "Reference", "text": "TLUiButtonCheckProps", "canonicalReference": "tldraw!TLUiButtonCheckProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/Button/TldrawUiButtonCheck.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ checked }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawUiButtonCheck" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiButtonIcon:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiButtonIcon({ icon, small, invertIcon }: " }, { "kind": "Reference", "text": "TLUiButtonIconProps", "canonicalReference": "tldraw!TLUiButtonIconProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/Button/TldrawUiButtonIcon.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ icon, small, invertIcon }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawUiButtonIcon" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiButtonLabel:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiButtonLabel({ children }: " }, { "kind": "Reference", "text": "TLUiButtonLabelProps", "canonicalReference": "tldraw!TLUiButtonLabelProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/Button/TldrawUiButtonLabel.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ children }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawUiButtonLabel" }, { "kind": "Variable", "canonicalReference": "tldraw!TldrawUiButtonPicker:var", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "TldrawUiButtonPicker: " }, { "kind": "Content", "text": "typeof " }, { "kind": "Reference", "text": "_TldrawUiButtonPicker", "canonicalReference": "tldraw!~_TldrawUiButtonPicker:function" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiButtonPicker.tsx", "isReadonly": true, "releaseTag": "Public", "name": "TldrawUiButtonPicker", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 3 } }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiComponentsProvider:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiComponentsProvider({ overrides, children, }: " }, { "kind": "Reference", "text": "TLUiComponentsProviderProps", "canonicalReference": "tldraw!TLUiComponentsProviderProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/components.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ overrides, children, }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawUiComponentsProvider" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiContextProvider:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiContextProvider({ overrides, components, assetUrls, onUiEvent, forceMobile, children, }: " }, { "kind": "Reference", "text": "TldrawUiContextProviderProps", "canonicalReference": "tldraw!TldrawUiContextProviderProps:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/TldrawUiContextProvider.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ overrides, components, assetUrls, onUiEvent, forceMobile, children, }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawUiContextProvider" }, { "kind": "Interface", "canonicalReference": "tldraw!TldrawUiContextProviderProps:interface", "docComment": "/**\n * Props for the {@link tldraw#Tldraw} and {@link TldrawUi} components.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface TldrawUiContextProviderProps " } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/TldrawUiContextProvider.tsx", "releaseTag": "Public", "name": "TldrawUiContextProviderProps", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "tldraw!TldrawUiContextProviderProps#assetUrls:member", "docComment": "/**\n * Urls for where to find fonts and other assets for the UI.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "assetUrls?: " }, { "kind": "Reference", "text": "RecursivePartial", "canonicalReference": "@tldraw/utils!RecursivePartial:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiAssetUrls", "canonicalReference": "tldraw!~TLUiAssetUrls:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "assetUrls", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TldrawUiContextProviderProps#children:member", "docComment": "/**\n * The component's children.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "children?: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "children", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TldrawUiContextProviderProps#components:member", "docComment": "/**\n * Overrides for the UI components.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "components?: " }, { "kind": "Reference", "text": "TLUiComponents", "canonicalReference": "tldraw!TLUiComponents:type" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "components", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TldrawUiContextProviderProps#forceMobile:member", "docComment": "/**\n * Whether to always should the mobile breakpoints.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "forceMobile?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "forceMobile", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TldrawUiContextProviderProps#onUiEvent:member", "docComment": "/**\n * Callback for when an event occurs in the UI.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "onUiEvent?: " }, { "kind": "Reference", "text": "TLUiEventHandler", "canonicalReference": "tldraw!TLUiEventHandler:type" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "onUiEvent", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TldrawUiContextProviderProps#overrides:member", "docComment": "/**\n * Overrides for the UI.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "overrides?: " }, { "kind": "Reference", "text": "TLUiOverrides", "canonicalReference": "tldraw!TLUiOverrides:type" }, { "kind": "Content", "text": " | " }, { "kind": "Reference", "text": "TLUiOverrides", "canonicalReference": "tldraw!TLUiOverrides:type" }, { "kind": "Content", "text": "[]" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "overrides", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 } } ], "extendsTokenRanges": [] }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiDialogBody:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiDialogBody({ className, children, style }: " }, { "kind": "Reference", "text": "TLUiDialogBodyProps", "canonicalReference": "tldraw!TLUiDialogBodyProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDialog.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ className, children, style }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawUiDialogBody" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiDialogCloseButton:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiDialogCloseButton(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDialog.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "TldrawUiDialogCloseButton" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiDialogFooter:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiDialogFooter({ className, children }: " }, { "kind": "Reference", "text": "TLUiDialogFooterProps", "canonicalReference": "tldraw!TLUiDialogFooterProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDialog.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ className, children }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawUiDialogFooter" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiDialogHeader:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiDialogHeader({ className, children }: " }, { "kind": "Reference", "text": "TLUiDialogHeaderProps", "canonicalReference": "tldraw!TLUiDialogHeaderProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDialog.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ className, children }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawUiDialogHeader" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiDialogTitle:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiDialogTitle({ className, children }: " }, { "kind": "Reference", "text": "TLUiDialogTitleProps", "canonicalReference": "tldraw!TLUiDialogTitleProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDialog.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ className, children }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawUiDialogTitle" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiDropdownMenuCheckboxItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiDropdownMenuCheckboxItem({ children, onSelect, ...rest }: " }, { "kind": "Reference", "text": "TLUiDropdownMenuCheckboxItemProps", "canonicalReference": "tldraw!TLUiDropdownMenuCheckboxItemProps:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDropdownMenu.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ children, onSelect, ...rest }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawUiDropdownMenuCheckboxItem" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiDropdownMenuContent:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiDropdownMenuContent({ side, align, sideOffset, alignOffset, children, }: " }, { "kind": "Reference", "text": "TLUiDropdownMenuContentProps", "canonicalReference": "tldraw!TLUiDropdownMenuContentProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDropdownMenu.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ side, align, sideOffset, alignOffset, children, }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawUiDropdownMenuContent" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiDropdownMenuGroup:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiDropdownMenuGroup({ children }: " }, { "kind": "Reference", "text": "TLUiDropdownMenuGroupProps", "canonicalReference": "tldraw!TLUiDropdownMenuGroupProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDropdownMenu.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ children }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawUiDropdownMenuGroup" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiDropdownMenuIndicator:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiDropdownMenuIndicator(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDropdownMenu.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "TldrawUiDropdownMenuIndicator" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiDropdownMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiDropdownMenuItem({ noClose, children }: " }, { "kind": "Reference", "text": "TLUiDropdownMenuItemProps", "canonicalReference": "tldraw!TLUiDropdownMenuItemProps:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDropdownMenu.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ noClose, children }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawUiDropdownMenuItem" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiDropdownMenuRoot:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiDropdownMenuRoot({ id, children, modal, debugOpen, }: " }, { "kind": "Reference", "text": "TLUiDropdownMenuRootProps", "canonicalReference": "tldraw!TLUiDropdownMenuRootProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDropdownMenu.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ id, children, modal, debugOpen, }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawUiDropdownMenuRoot" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiDropdownMenuSub:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiDropdownMenuSub({ id, children }: " }, { "kind": "Reference", "text": "TLUiDropdownMenuSubProps", "canonicalReference": "tldraw!TLUiDropdownMenuSubProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDropdownMenu.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ id, children }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawUiDropdownMenuSub" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiDropdownMenuSubTrigger:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiDropdownMenuSubTrigger({ id, label, title, disabled, }: " }, { "kind": "Reference", "text": "TLUiDropdownMenuSubTriggerProps", "canonicalReference": "tldraw!TLUiDropdownMenuSubTriggerProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDropdownMenu.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ id, label, title, disabled, }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawUiDropdownMenuSubTrigger" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiDropdownMenuTrigger:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiDropdownMenuTrigger({ children, ...rest }: " }, { "kind": "Reference", "text": "TLUiDropdownMenuTriggerProps", "canonicalReference": "tldraw!TLUiDropdownMenuTriggerProps:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDropdownMenu.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ children, ...rest }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawUiDropdownMenuTrigger" }, { "kind": "Variable", "canonicalReference": "tldraw!TldrawUiIcon:var", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "TldrawUiIcon: " }, { "kind": "Content", "text": "import(\"react\")." }, { "kind": "Reference", "text": "NamedExoticComponent", "canonicalReference": "@types/react!React.NamedExoticComponent:interface" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiIconProps", "canonicalReference": "tldraw!TLUiIconProps:interface" }, { "kind": "Content", "text": ">" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiIcon.tsx", "isReadonly": true, "releaseTag": "Public", "name": "TldrawUiIcon", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 6 } }, { "kind": "Variable", "canonicalReference": "tldraw!TldrawUiInput:var", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "TldrawUiInput: " }, { "kind": "Reference", "text": "React.ForwardRefExoticComponent", "canonicalReference": "@types/react!React.ForwardRefExoticComponent:interface" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiInputProps", "canonicalReference": "tldraw!TLUiInputProps:interface" }, { "kind": "Content", "text": " & " }, { "kind": "Reference", "text": "React.RefAttributes", "canonicalReference": "@types/react!React.RefAttributes:interface" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "HTMLInputElement", "canonicalReference": "!HTMLInputElement:interface" }, { "kind": "Content", "text": ">>" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiInput.tsx", "isReadonly": true, "releaseTag": "Public", "name": "TldrawUiInput", "variableTypeTokenRange": { "startIndex": 1, "endIndex": 9 } }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiKbd:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiKbd({ children, visibleOnMobileLayout }: " }, { "kind": "Reference", "text": "TLUiKbdProps", "canonicalReference": "tldraw!TLUiKbdProps:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiKbd.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ children, visibleOnMobileLayout }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawUiKbd" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiMenuCheckboxItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiMenuCheckboxItem({ id, kbd, label, readonlyOk, onSelect, disabled, checked, }: " }, { "kind": "Reference", "text": "TLUiMenuCheckboxItemProps", "canonicalReference": "tldraw!TLUiMenuCheckboxItemProps:type" }, { "kind": "Content", "text": "" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/menus/TldrawUiMenuCheckboxItem.tsx", "returnTypeTokenRange": { "startIndex": 12, "endIndex": 15 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ id, kbd, label, readonlyOk, onSelect, disabled, checked, }", "parameterTypeTokenRange": { "startIndex": 9, "endIndex": 11 }, "isOptional": false } ], "typeParameters": [ { "typeParameterName": "TranslationKey", "constraintTokenRange": { "startIndex": 1, "endIndex": 2 }, "defaultTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "typeParameterName": "IconType", "constraintTokenRange": { "startIndex": 5, "endIndex": 6 }, "defaultTypeTokenRange": { "startIndex": 7, "endIndex": 8 } } ], "name": "TldrawUiMenuCheckboxItem" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiMenuContextProvider:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiMenuContextProvider({ type, sourceId, children, }: " }, { "kind": "Reference", "text": "TLUiMenuContextProviderProps", "canonicalReference": "tldraw!TLUiMenuContextProviderProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/menus/TldrawUiMenuContext.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ type, sourceId, children, }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawUiMenuContextProvider" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiMenuGroup:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiMenuGroup({ id, label, children }: " }, { "kind": "Reference", "text": "TLUiMenuGroupProps", "canonicalReference": "tldraw!TLUiMenuGroupProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean | import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | " }, { "kind": "Reference", "text": "Iterable", "canonicalReference": "!Iterable:interface" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": "> | null | number | string | undefined" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/menus/TldrawUiMenuGroup.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 10 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ id, label, children }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawUiMenuGroup" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiMenuItem({ disabled, spinner, readonlyOk, id, kbd, label, icon, onSelect, noClose, }: " }, { "kind": "Reference", "text": "TLUiMenuItemProps", "canonicalReference": "tldraw!TLUiMenuItemProps:type" }, { "kind": "Content", "text": "" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/menus/TldrawUiMenuItem.tsx", "returnTypeTokenRange": { "startIndex": 12, "endIndex": 15 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ disabled, spinner, readonlyOk, id, kbd, label, icon, onSelect, noClose, }", "parameterTypeTokenRange": { "startIndex": 9, "endIndex": 11 }, "isOptional": false } ], "typeParameters": [ { "typeParameterName": "TranslationKey", "constraintTokenRange": { "startIndex": 1, "endIndex": 2 }, "defaultTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "typeParameterName": "IconType", "constraintTokenRange": { "startIndex": 5, "endIndex": 6 }, "defaultTypeTokenRange": { "startIndex": 7, "endIndex": 8 } } ], "name": "TldrawUiMenuItem" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiMenuSubmenu:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiMenuSubmenu({ id, disabled, label, size, children, }: " }, { "kind": "Reference", "text": "TLUiMenuSubmenuProps", "canonicalReference": "tldraw!TLUiMenuSubmenuProps:type" }, { "kind": "Content", "text": "" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "boolean | import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | " }, { "kind": "Reference", "text": "Iterable", "canonicalReference": "!Iterable:interface" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": "> | null | number | string | undefined" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/menus/TldrawUiMenuSubmenu.tsx", "returnTypeTokenRange": { "startIndex": 8, "endIndex": 15 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ id, disabled, label, size, children, }", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 7 }, "isOptional": false } ], "typeParameters": [ { "typeParameterName": "Translation", "constraintTokenRange": { "startIndex": 1, "endIndex": 2 }, "defaultTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "name": "TldrawUiMenuSubmenu" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiPopover:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiPopover({ id, children, onOpenChange, open }: " }, { "kind": "Reference", "text": "TLUiPopoverProps", "canonicalReference": "tldraw!TLUiPopoverProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiPopover.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ id, children, onOpenChange, open }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawUiPopover" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiPopoverContent:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiPopoverContent({ side, children, align, sideOffset, alignOffset, }: " }, { "kind": "Reference", "text": "TLUiPopoverContentProps", "canonicalReference": "tldraw!TLUiPopoverContentProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiPopover.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ side, children, align, sideOffset, alignOffset, }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawUiPopoverContent" }, { "kind": "Function", "canonicalReference": "tldraw!TldrawUiPopoverTrigger:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function TldrawUiPopoverTrigger({ children }: " }, { "kind": "Reference", "text": "TLUiPopoverTriggerProps", "canonicalReference": "tldraw!TLUiPopoverTriggerProps:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiPopover.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ children }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "TldrawUiPopoverTrigger" }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TldrawUiProps:type", "docComment": "/**\n * Props for the {@link @tldraw/tldraw#Tldraw} and {@link TldrawUi} components.\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TldrawUiProps = " }, { "kind": "Reference", "text": "Expand", "canonicalReference": "@tldraw/utils!Expand:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TldrawUiBaseProps", "canonicalReference": "tldraw!TldrawUiBaseProps:interface" }, { "kind": "Content", "text": " & " }, { "kind": "Reference", "text": "TldrawUiContextProviderProps", "canonicalReference": "tldraw!TldrawUiContextProviderProps:interface" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/TldrawUi.tsx", "releaseTag": "Public", "name": "TldrawUiProps", "typeTokenRange": { "startIndex": 1, "endIndex": 7 } }, { "kind": "Interface", "canonicalReference": "tldraw!TLUiActionItem:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface TLUiActionItem " } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/actions.tsx", "releaseTag": "Public", "typeParameters": [ { "typeParameterName": "TransationKey", "constraintTokenRange": { "startIndex": 1, "endIndex": 2 }, "defaultTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "typeParameterName": "IconType", "constraintTokenRange": { "startIndex": 5, "endIndex": 6 }, "defaultTypeTokenRange": { "startIndex": 7, "endIndex": 8 } } ], "name": "TLUiActionItem", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiActionItem#checkbox:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "checkbox?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "checkbox", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiActionItem#icon:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "icon?: " }, { "kind": "Content", "text": "IconType" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "icon", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiActionItem#id:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "id: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "id", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiActionItem#kbd:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "kbd?: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "kbd", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiActionItem#label:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "label?: " }, { "kind": "Content", "text": "{\n [key: string]: TransationKey;\n } | TransationKey" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "label", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiActionItem#onSelect:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onSelect: " }, { "kind": "Content", "text": "(source: " }, { "kind": "Reference", "text": "TLUiEventSource", "canonicalReference": "tldraw!TLUiEventSource:type" }, { "kind": "Content", "text": ") => " }, { "kind": "Reference", "text": "Promise", "canonicalReference": "!Promise:interface" }, { "kind": "Content", "text": " | void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onSelect", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 6 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiActionItem#readonlyOk:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "readonlyOk?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "readonlyOk", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiActionItem#title:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "title?: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "title", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiActionsContextType:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiActionsContextType = " }, { "kind": "Reference", "text": "Record", "canonicalReference": "!Record:type" }, { "kind": "Content", "text": "" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/actions.tsx", "releaseTag": "Public", "name": "TLUiActionsContextType", "typeTokenRange": { "startIndex": 1, "endIndex": 5 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiActionsMenuProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiActionsMenuProps = " }, { "kind": "Content", "text": "{\n children?: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/ActionsMenu/DefaultActionsMenu.tsx", "releaseTag": "Public", "name": "TLUiActionsMenuProps", "typeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiAssetUrlOverrides:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiAssetUrlOverrides = " }, { "kind": "Reference", "text": "RecursivePartial", "canonicalReference": "@tldraw/utils!RecursivePartial:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiAssetUrls", "canonicalReference": "tldraw!~TLUiAssetUrls:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/assetUrls.ts", "releaseTag": "Public", "name": "TLUiAssetUrlOverrides", "typeTokenRange": { "startIndex": 1, "endIndex": 5 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiButtonCheckProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiButtonCheckProps = " }, { "kind": "Content", "text": "{\n checked: boolean;\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/Button/TldrawUiButtonCheck.tsx", "releaseTag": "Public", "name": "TLUiButtonCheckProps", "typeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiButtonIconProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiButtonIconProps = " }, { "kind": "Content", "text": "{\n icon: string;\n small?: boolean;\n invertIcon?: boolean;\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/Button/TldrawUiButtonIcon.tsx", "releaseTag": "Public", "name": "TLUiButtonIconProps", "typeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiButtonLabelProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiButtonLabelProps = " }, { "kind": "Content", "text": "{\n children?: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/Button/TldrawUiButtonLabel.tsx", "releaseTag": "Public", "name": "TLUiButtonLabelProps", "typeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "Interface", "canonicalReference": "tldraw!TLUiButtonPickerProps:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface TLUiButtonPickerProps " } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiButtonPicker.tsx", "releaseTag": "Public", "typeParameters": [ { "typeParameterName": "T", "constraintTokenRange": { "startIndex": 1, "endIndex": 2 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } } ], "name": "TLUiButtonPickerProps", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiButtonPickerProps#items:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "items: " }, { "kind": "Reference", "text": "StyleValuesForUi", "canonicalReference": "tldraw!~StyleValuesForUi:type" }, { "kind": "Content", "text": "" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "items", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiButtonPickerProps#onValueChange:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onValueChange: " }, { "kind": "Content", "text": "(style: " }, { "kind": "Reference", "text": "StyleProp", "canonicalReference": "@tldraw/tlschema!StyleProp:class" }, { "kind": "Content", "text": ", value: T, squashing: boolean) => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onValueChange", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiButtonPickerProps#style:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "style: " }, { "kind": "Reference", "text": "StyleProp", "canonicalReference": "@tldraw/tlschema!StyleProp:class" }, { "kind": "Content", "text": "" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "style", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiButtonPickerProps#title:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "title: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "title", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiButtonPickerProps#uiType:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "uiType: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "uiType", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiButtonPickerProps#value:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "value: " }, { "kind": "Reference", "text": "SharedStyle", "canonicalReference": "@tldraw/editor!SharedStyle:type" }, { "kind": "Content", "text": "" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "value", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "tldraw!TLUiButtonProps:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface TLUiButtonProps extends " }, { "kind": "Reference", "text": "React.HTMLAttributes", "canonicalReference": "@types/react!React.HTMLAttributes:interface" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "HTMLButtonElement", "canonicalReference": "!HTMLButtonElement:interface" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/Button/TldrawUiButton.tsx", "releaseTag": "Public", "name": "TLUiButtonProps", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiButtonProps#disabled:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "disabled?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "disabled", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiButtonProps#type:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "type: " }, { "kind": "Content", "text": "'danger' | 'help' | 'icon' | 'low' | 'menu' | 'normal' | 'primary' | 'tool'" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "type", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [ { "startIndex": 1, "endIndex": 5 } ] }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiComponents:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiComponents = " }, { "kind": "Reference", "text": "Partial", "canonicalReference": "!Partial:type" }, { "kind": "Content", "text": "<{\n [K in keyof " }, { "kind": "Reference", "text": "BaseTLUiComponents", "canonicalReference": "tldraw!~BaseTLUiComponents:interface" }, { "kind": "Content", "text": "]: " }, { "kind": "Reference", "text": "BaseTLUiComponents", "canonicalReference": "tldraw!~BaseTLUiComponents:interface" }, { "kind": "Content", "text": "[K] | null;\n}>" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/components.tsx", "releaseTag": "Public", "name": "TLUiComponents", "typeTokenRange": { "startIndex": 1, "endIndex": 7 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiComponentsProviderProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiComponentsProviderProps = " }, { "kind": "Content", "text": "{\n overrides?: " }, { "kind": "Reference", "text": "TLUiComponents", "canonicalReference": "tldraw!TLUiComponents:type" }, { "kind": "Content", "text": ";\n children: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/components.tsx", "releaseTag": "Public", "name": "TLUiComponentsProviderProps", "typeTokenRange": { "startIndex": 1, "endIndex": 6 } }, { "kind": "Interface", "canonicalReference": "tldraw!TLUiContextMenuProps:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface TLUiContextMenuProps " } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/ContextMenu/DefaultContextMenu.tsx", "releaseTag": "Public", "name": "TLUiContextMenuProps", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiContextMenuProps#children:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "children?: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "children", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiDebugMenuProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiDebugMenuProps = " }, { "kind": "Content", "text": "{\n children?: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/DebugMenu/DefaultDebugMenu.tsx", "releaseTag": "Public", "name": "TLUiDebugMenuProps", "typeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "Interface", "canonicalReference": "tldraw!TLUiDialog:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface TLUiDialog " } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/dialogs.tsx", "releaseTag": "Public", "name": "TLUiDialog", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiDialog#component:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "component: " }, { "kind": "Reference", "text": "ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiDialogProps", "canonicalReference": "tldraw!TLUiDialogProps:interface" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "component", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 5 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiDialog#id:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "id: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "id", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiDialog#onClose:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onClose?: " }, { "kind": "Content", "text": "() => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "onClose", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiDialogBodyProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiDialogBodyProps = " }, { "kind": "Content", "text": "{\n className?: string;\n children: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n style?: " }, { "kind": "Reference", "text": "React.CSSProperties", "canonicalReference": "@types/react!React.CSSProperties:interface" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDialog.tsx", "releaseTag": "Public", "name": "TLUiDialogBodyProps", "typeTokenRange": { "startIndex": 1, "endIndex": 6 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiDialogFooterProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiDialogFooterProps = " }, { "kind": "Content", "text": "{\n className?: string;\n children: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDialog.tsx", "releaseTag": "Public", "name": "TLUiDialogFooterProps", "typeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiDialogHeaderProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiDialogHeaderProps = " }, { "kind": "Content", "text": "{\n className?: string;\n children: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDialog.tsx", "releaseTag": "Public", "name": "TLUiDialogHeaderProps", "typeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "Interface", "canonicalReference": "tldraw!TLUiDialogProps:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface TLUiDialogProps " } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/dialogs.tsx", "releaseTag": "Public", "name": "TLUiDialogProps", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiDialogProps#onClose:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onClose: " }, { "kind": "Content", "text": "() => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onClose", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiDialogsContextType:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiDialogsContextType = " }, { "kind": "Content", "text": "{\n addDialog: (dialog: " }, { "kind": "Reference", "text": "Omit", "canonicalReference": "!Omit:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiDialog", "canonicalReference": "tldraw!TLUiDialog:interface" }, { "kind": "Content", "text": ", 'id'> & {\n id?: string;\n }) => string;\n removeDialog: (id: string) => string;\n updateDialog: (id: string, newDialogData: " }, { "kind": "Reference", "text": "Partial", "canonicalReference": "!Partial:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiDialog", "canonicalReference": "tldraw!TLUiDialog:interface" }, { "kind": "Content", "text": ">) => string;\n clearDialogs: () => void;\n dialogs: " }, { "kind": "Reference", "text": "TLUiDialog", "canonicalReference": "tldraw!TLUiDialog:interface" }, { "kind": "Content", "text": "[];\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/dialogs.tsx", "releaseTag": "Public", "name": "TLUiDialogsContextType", "typeTokenRange": { "startIndex": 1, "endIndex": 12 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiDialogTitleProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiDialogTitleProps = " }, { "kind": "Content", "text": "{\n className?: string;\n children: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDialog.tsx", "releaseTag": "Public", "name": "TLUiDialogTitleProps", "typeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "Interface", "canonicalReference": "tldraw!TLUiDropdownMenuCheckboxItemProps:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface TLUiDropdownMenuCheckboxItemProps " } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDropdownMenu.tsx", "releaseTag": "Public", "name": "TLUiDropdownMenuCheckboxItemProps", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiDropdownMenuCheckboxItemProps#checked:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "checked?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "checked", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiDropdownMenuCheckboxItemProps#children:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "children: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "children", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiDropdownMenuCheckboxItemProps#disabled:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "disabled?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "disabled", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiDropdownMenuCheckboxItemProps#onSelect:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onSelect?: " }, { "kind": "Content", "text": "(e: " }, { "kind": "Reference", "text": "Event", "canonicalReference": "!Event:interface" }, { "kind": "Content", "text": ") => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "onSelect", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiDropdownMenuCheckboxItemProps#title:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "title: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "title", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiDropdownMenuContentProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiDropdownMenuContentProps = " }, { "kind": "Content", "text": "{\n id?: string;\n children: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n alignOffset?: number;\n sideOffset?: number;\n align?: 'center' | 'end' | 'start';\n side?: 'bottom' | 'left' | 'right' | 'top';\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDropdownMenu.tsx", "releaseTag": "Public", "name": "TLUiDropdownMenuContentProps", "typeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiDropdownMenuGroupProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiDropdownMenuGroupProps = " }, { "kind": "Content", "text": "{\n children: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDropdownMenu.tsx", "releaseTag": "Public", "name": "TLUiDropdownMenuGroupProps", "typeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "Interface", "canonicalReference": "tldraw!TLUiDropdownMenuItemProps:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface TLUiDropdownMenuItemProps " } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDropdownMenu.tsx", "releaseTag": "Public", "name": "TLUiDropdownMenuItemProps", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiDropdownMenuItemProps#children:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "children: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "children", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiDropdownMenuItemProps#noClose:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "noClose?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "noClose", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiDropdownMenuRootProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiDropdownMenuRootProps = " }, { "kind": "Content", "text": "{\n id: string;\n children: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n modal?: boolean;\n debugOpen?: boolean;\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDropdownMenu.tsx", "releaseTag": "Public", "name": "TLUiDropdownMenuRootProps", "typeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiDropdownMenuSubProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiDropdownMenuSubProps = " }, { "kind": "Content", "text": "{\n id: string;\n children: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDropdownMenu.tsx", "releaseTag": "Public", "name": "TLUiDropdownMenuSubProps", "typeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiDropdownMenuSubTriggerProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiDropdownMenuSubTriggerProps = " }, { "kind": "Content", "text": "{\n label: string;\n id?: string;\n title?: string;\n disabled?: boolean;\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDropdownMenu.tsx", "releaseTag": "Public", "name": "TLUiDropdownMenuSubTriggerProps", "typeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "Interface", "canonicalReference": "tldraw!TLUiDropdownMenuTriggerProps:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface TLUiDropdownMenuTriggerProps " } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiDropdownMenu.tsx", "releaseTag": "Public", "name": "TLUiDropdownMenuTriggerProps", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiDropdownMenuTriggerProps#children:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "children?: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "children", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiEventContextType:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiEventContextType = " }, { "kind": "Reference", "text": "TLUiEventHandler", "canonicalReference": "tldraw!TLUiEventHandler:type" }, { "kind": "Content", "text": "" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/events.tsx", "releaseTag": "Public", "name": "TLUiEventContextType", "typeTokenRange": { "startIndex": 1, "endIndex": 5 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiEventHandler:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiEventHandler = " }, { "kind": "Content", "text": "(name: T, data: " }, { "kind": "Reference", "text": "Join", "canonicalReference": "tldraw!~Join:type" }, { "kind": "Content", "text": "<{\n source: " }, { "kind": "Reference", "text": "TLUiEventSource", "canonicalReference": "tldraw!TLUiEventSource:type" }, { "kind": "Content", "text": ";\n}, " }, { "kind": "Reference", "text": "TLUiEventMap", "canonicalReference": "tldraw!TLUiEventMap:interface" }, { "kind": "Content", "text": "[T]>) => void" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/events.tsx", "releaseTag": "Public", "name": "TLUiEventHandler", "typeParameters": [ { "typeParameterName": "T", "constraintTokenRange": { "startIndex": 1, "endIndex": 3 }, "defaultTypeTokenRange": { "startIndex": 4, "endIndex": 6 } } ], "typeTokenRange": { "startIndex": 7, "endIndex": 14 } }, { "kind": "Interface", "canonicalReference": "tldraw!TLUiEventMap:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface TLUiEventMap " } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/events.tsx", "releaseTag": "Public", "name": "TLUiEventMap", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"align-shapes\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'align-shapes': " }, { "kind": "Content", "text": "{\n operation: 'bottom' | 'center-horizontal' | 'center-vertical' | 'left' | 'right' | 'top';\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"align-shapes\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"change-language\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'change-language': " }, { "kind": "Content", "text": "{\n locale: string;\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"change-language\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"close-menu\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'close-menu': " }, { "kind": "Content", "text": "{\n id: string;\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"close-menu\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"convert-to-bookmark\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'convert-to-bookmark': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"convert-to-bookmark\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"convert-to-embed\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'convert-to-embed': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"convert-to-embed\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"copy-as\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'copy-as': " }, { "kind": "Content", "text": "{\n format: 'json' | 'png' | 'svg';\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"copy-as\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"create-new-project\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'create-new-project': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"create-new-project\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"delete-shapes\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'delete-shapes': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"delete-shapes\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"distribute-shapes\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'distribute-shapes': " }, { "kind": "Content", "text": "{\n operation: 'horizontal' | 'vertical';\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"distribute-shapes\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"duplicate-shapes\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'duplicate-shapes': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"duplicate-shapes\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"edit-link\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'edit-link': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"edit-link\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"exit-pen-mode\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'exit-pen-mode': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"exit-pen-mode\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"export-all-as\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'export-all-as': " }, { "kind": "Content", "text": "{\n format: 'json' | 'png' | 'svg';\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"export-all-as\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"export-as\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'export-as': " }, { "kind": "Content", "text": "{\n format: 'json' | 'png' | 'svg';\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"export-as\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"fit-frame-to-content\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'fit-frame-to-content': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"fit-frame-to-content\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"flip-shapes\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'flip-shapes': " }, { "kind": "Content", "text": "{\n operation: 'horizontal' | 'vertical';\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"flip-shapes\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"group-shapes\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'group-shapes': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"group-shapes\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"insert-embed\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'insert-embed': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"insert-embed\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"insert-media\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'insert-media': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"insert-media\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"move-to-page\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'move-to-page': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"move-to-page\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"new-page\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'new-page': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"new-page\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"open-cursor-chat\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'open-cursor-chat': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"open-cursor-chat\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"open-embed-link\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'open-embed-link': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"open-embed-link\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"open-file\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'open-file': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"open-file\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"open-menu\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'open-menu': " }, { "kind": "Content", "text": "{\n id: string;\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"open-menu\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"pack-shapes\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'pack-shapes': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"pack-shapes\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"remove-frame\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'remove-frame': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"remove-frame\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"reorder-shapes\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'reorder-shapes': " }, { "kind": "Content", "text": "{\n operation: 'backward' | 'forward' | 'toBack' | 'toFront';\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"reorder-shapes\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"reset-zoom\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'reset-zoom': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"reset-zoom\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"rotate-ccw\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'rotate-ccw': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"rotate-ccw\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"rotate-cw\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'rotate-cw': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"rotate-cw\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"save-project-to-file\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'save-project-to-file': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"save-project-to-file\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"select-all-shapes\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'select-all-shapes': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"select-all-shapes\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"select-none-shapes\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'select-none-shapes': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"select-none-shapes\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"select-tool\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'select-tool': " }, { "kind": "Content", "text": "{\n id: string;\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"select-tool\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"set-style\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'set-style': " }, { "kind": "Content", "text": "{\n id: string;\n value: number | string;\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"set-style\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"stack-shapes\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'stack-shapes': " }, { "kind": "Content", "text": "{\n operation: 'horizontal' | 'vertical';\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"stack-shapes\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"stop-following\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'stop-following': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"stop-following\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"stretch-shapes\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'stretch-shapes': " }, { "kind": "Content", "text": "{\n operation: 'horizontal' | 'vertical';\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"stretch-shapes\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"toggle-auto-size\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'toggle-auto-size': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"toggle-auto-size\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"toggle-dark-mode\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'toggle-dark-mode': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"toggle-dark-mode\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"toggle-debug-mode\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'toggle-debug-mode': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"toggle-debug-mode\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"toggle-edge-scrolling\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'toggle-edge-scrolling': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"toggle-edge-scrolling\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"toggle-focus-mode\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'toggle-focus-mode': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"toggle-focus-mode\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"toggle-grid-mode\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'toggle-grid-mode': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"toggle-grid-mode\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"toggle-lock\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'toggle-lock': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"toggle-lock\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"toggle-reduce-motion\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'toggle-reduce-motion': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"toggle-reduce-motion\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"toggle-snap-mode\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'toggle-snap-mode': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"toggle-snap-mode\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"toggle-tool-lock\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'toggle-tool-lock': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"toggle-tool-lock\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"toggle-transparent\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'toggle-transparent': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"toggle-transparent\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"toggle-wrap-mode\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'toggle-wrap-mode': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"toggle-wrap-mode\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"ungroup-shapes\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'ungroup-shapes': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"ungroup-shapes\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"unlock-all\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'unlock-all': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"unlock-all\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"zoom-in\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'zoom-in': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"zoom-in\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"zoom-into-view\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'zoom-into-view': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"zoom-into-view\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"zoom-out\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'zoom-out': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"zoom-out\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"zoom-to-content\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'zoom-to-content': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"zoom-to-content\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"zoom-to-fit\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'zoom-to-fit': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"zoom-to-fit\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"zoom-to-selection\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'zoom-to-selection': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"zoom-to-selection\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#\"zoom-tool\":member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "'zoom-tool': " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "\"zoom-tool\"", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#copy:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "copy: " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "copy", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#cut:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "cut: " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "cut", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#paste:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "paste: " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "paste", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#print:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "print: " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "print", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#redo:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "redo: " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "redo", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiEventMap#undo:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "undo: " }, { "kind": "Content", "text": "null" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "undo", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiEventSource:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiEventSource = " }, { "kind": "Content", "text": "'actions-menu' | 'context-menu' | 'debug-panel' | 'dialog' | 'document-name' | 'export-menu' | 'help-menu' | 'helper-buttons' | 'kbd' | 'main-menu' | 'menu' | 'navigation-zone' | 'page-menu' | 'people-menu' | 'quick-actions' | 'share-menu' | 'style-panel' | 'toolbar' | 'unknown' | 'zoom-menu'" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/events.tsx", "releaseTag": "Public", "name": "TLUiEventSource", "typeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiHelperButtonsProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiHelperButtonsProps = " }, { "kind": "Content", "text": "{\n children?: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/HelperButtons/DefaultHelperButtons.tsx", "releaseTag": "Public", "name": "TLUiHelperButtonsProps", "typeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiHelpMenuProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiHelpMenuProps = " }, { "kind": "Content", "text": "{\n children?: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/HelpMenu/DefaultHelpMenu.tsx", "releaseTag": "Public", "name": "TLUiHelpMenuProps", "typeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "Interface", "canonicalReference": "tldraw!TLUiIconProps:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface TLUiIconProps extends " }, { "kind": "Reference", "text": "React.HTMLProps", "canonicalReference": "@types/react!React.HTMLProps:interface" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "HTMLDivElement", "canonicalReference": "!HTMLDivElement:interface" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiIcon.tsx", "releaseTag": "Public", "name": "TLUiIconProps", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiIconProps#children:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "children?: " }, { "kind": "Content", "text": "undefined" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "children", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiIconProps#color:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "color?: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "color", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiIconProps#crossOrigin:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "crossOrigin?: " }, { "kind": "Content", "text": "'anonymous' | 'use-credentials'" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "crossOrigin", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiIconProps#icon:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "icon: " }, { "kind": "Reference", "text": "Exclude", "canonicalReference": "!Exclude:type" }, { "kind": "Content", "text": " | " }, { "kind": "Reference", "text": "TLUiIconType", "canonicalReference": "tldraw!TLUiIconType:type" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "icon", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 6 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiIconProps#invertIcon:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "invertIcon?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "invertIcon", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiIconProps#small:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "small?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "small", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [ { "startIndex": 1, "endIndex": 5 } ] }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiIconType:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiIconType = " }, { "kind": "Content", "text": "'align-bottom-center' | 'align-bottom-left' | 'align-bottom-right' | 'align-bottom' | 'align-center-center' | 'align-center-horizontal' | 'align-center-left' | 'align-center-right' | 'align-center-vertical' | 'align-left' | 'align-right' | 'align-top-center' | 'align-top-left' | 'align-top-right' | 'align-top' | 'arrow-left' | 'arrowhead-arrow' | 'arrowhead-bar' | 'arrowhead-diamond' | 'arrowhead-dot' | 'arrowhead-none' | 'arrowhead-square' | 'arrowhead-triangle-inverted' | 'arrowhead-triangle' | 'aspect-ratio' | 'avatar' | 'blob' | 'bring-forward' | 'bring-to-front' | 'check' | 'checkbox-checked' | 'checkbox-empty' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'chevrons-ne' | 'chevrons-sw' | 'clipboard-copied' | 'clipboard-copy' | 'code' | 'collab' | 'color' | 'comment' | 'cross-2' | 'cross' | 'dash-dashed' | 'dash-dotted' | 'dash-draw' | 'dash-solid' | 'discord' | 'distribute-horizontal' | 'distribute-vertical' | 'dot' | 'dots-horizontal' | 'dots-vertical' | 'drag-handle-dots' | 'duplicate' | 'edit' | 'external-link' | 'file' | 'fill-none' | 'fill-pattern' | 'fill-semi' | 'fill-solid' | 'follow' | 'following' | 'font-draw' | 'font-mono' | 'font-sans' | 'font-serif' | 'geo-arrow-down' | 'geo-arrow-left' | 'geo-arrow-right' | 'geo-arrow-up' | 'geo-check-box' | 'geo-cloud' | 'geo-diamond' | 'geo-ellipse' | 'geo-hexagon' | 'geo-octagon' | 'geo-oval' | 'geo-pentagon' | 'geo-rectangle' | 'geo-rhombus-2' | 'geo-rhombus' | 'geo-star' | 'geo-trapezoid' | 'geo-triangle' | 'geo-x-box' | 'github' | 'group' | 'hidden' | 'image' | 'info-circle' | 'leading' | 'link' | 'lock-small' | 'lock' | 'menu' | 'minus' | 'mixed' | 'pack' | 'page' | 'plus' | 'question-mark-circle' | 'question-mark' | 'redo' | 'reset-zoom' | 'rotate-ccw' | 'rotate-cw' | 'ruler' | 'search' | 'send-backward' | 'send-to-back' | 'settings-horizontal' | 'settings-vertical-1' | 'settings-vertical' | 'share-1' | 'share-2' | 'size-extra-large' | 'size-large' | 'size-medium' | 'size-small' | 'spline-cubic' | 'spline-line' | 'stack-horizontal' | 'stack-vertical' | 'status-offline' | 'status-online' | 'stretch-horizontal' | 'stretch-vertical' | 'text-align-center' | 'text-align-justify' | 'text-align-left' | 'text-align-right' | 'tool-arrow' | 'tool-embed' | 'tool-eraser' | 'tool-frame' | 'tool-hand' | 'tool-highlight' | 'tool-laser' | 'tool-line' | 'tool-media' | 'tool-note' | 'tool-pencil' | 'tool-pointer' | 'tool-text' | 'trash' | 'triangle-down' | 'triangle-up' | 'twitter' | 'undo' | 'ungroup' | 'unlock-small' | 'unlock' | 'vertical-align-center' | 'vertical-align-end' | 'vertical-align-start' | 'visible' | 'warning-triangle' | 'zoom-in' | 'zoom-out'" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/icon-types.ts", "releaseTag": "Public", "name": "TLUiIconType", "typeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "Interface", "canonicalReference": "tldraw!TLUiInputProps:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface TLUiInputProps " } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiInput.tsx", "releaseTag": "Public", "name": "TLUiInputProps", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiInputProps#autofocus:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "autofocus?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "autofocus", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiInputProps#autoselect:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "autoselect?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "autoselect", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiInputProps#children:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "children?: " }, { "kind": "Reference", "text": "React.ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "children", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiInputProps#className:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "className?: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "className", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiInputProps#defaultValue:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "defaultValue?: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "defaultValue", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiInputProps#disabled:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "disabled?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "disabled", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiInputProps#icon:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "icon?: " }, { "kind": "Reference", "text": "Exclude", "canonicalReference": "!Exclude:type" }, { "kind": "Content", "text": " | " }, { "kind": "Reference", "text": "TLUiIconType", "canonicalReference": "tldraw!TLUiIconType:type" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "icon", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 6 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiInputProps#iconLeft:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "iconLeft?: " }, { "kind": "Reference", "text": "Exclude", "canonicalReference": "!Exclude:type" }, { "kind": "Content", "text": " | " }, { "kind": "Reference", "text": "TLUiIconType", "canonicalReference": "tldraw!TLUiIconType:type" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "iconLeft", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 6 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiInputProps#label:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "label?: " }, { "kind": "Reference", "text": "Exclude", "canonicalReference": "!Exclude:type" }, { "kind": "Content", "text": " | " }, { "kind": "Reference", "text": "TLUiTranslationKey", "canonicalReference": "tldraw!TLUiTranslationKey:type" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "label", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 6 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiInputProps#onBlur:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onBlur?: " }, { "kind": "Content", "text": "(value: string) => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "onBlur", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiInputProps#onCancel:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onCancel?: " }, { "kind": "Content", "text": "(value: string) => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "onCancel", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiInputProps#onComplete:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onComplete?: " }, { "kind": "Content", "text": "(value: string) => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "onComplete", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiInputProps#onValueChange:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onValueChange?: " }, { "kind": "Content", "text": "(value: string) => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "onValueChange", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiInputProps#placeholder:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "placeholder?: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "placeholder", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiInputProps#shouldManuallyMaintainScrollPositionWhenFocused:member", "docComment": "/**\n * Usually on iOS when you focus an input, the browser will adjust the viewport to bring the input into view. Sometimes this doesn't work properly though - for example, if the input is newly created, iOS seems to have a hard time adjusting the viewport for it. This prop allows you to opt-in to some extra code to manually bring the input into view when the visual viewport of the browser changes, but we don't want to use it everywhere because generally the native behavior looks nicer in scenarios where it's sufficient.\n */\n", "excerptTokens": [ { "kind": "Content", "text": "shouldManuallyMaintainScrollPositionWhenFocused?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "shouldManuallyMaintainScrollPositionWhenFocused", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiInputProps#value:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "value?: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "value", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "tldraw!TLUiKbdProps:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface TLUiKbdProps " } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiKbd.tsx", "releaseTag": "Public", "name": "TLUiKbdProps", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiKbdProps#children:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "children: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "children", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiKbdProps#visibleOnMobileLayout:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "visibleOnMobileLayout?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "visibleOnMobileLayout", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiKeyboardShortcutsDialogProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiKeyboardShortcutsDialogProps = " }, { "kind": "Reference", "text": "TLUiDialogProps", "canonicalReference": "tldraw!TLUiDialogProps:interface" }, { "kind": "Content", "text": " & {\n children?: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/KeyboardShortcutsDialog/DefaultKeyboardShortcutsDialog.tsx", "releaseTag": "Public", "name": "TLUiKeyboardShortcutsDialogProps", "typeTokenRange": { "startIndex": 1, "endIndex": 5 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiMainMenuProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiMainMenuProps = " }, { "kind": "Content", "text": "{\n children?: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/MainMenu/DefaultMainMenu.tsx", "releaseTag": "Public", "name": "TLUiMainMenuProps", "typeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiMenuCheckboxItemProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiMenuCheckboxItemProps = " }, { "kind": "Content", "text": "{\n icon?: IconType;\n id: string;\n kbd?: string;\n title?: string;\n label?: {\n [key: string]: TranslationKey;\n } | TranslationKey;\n readonlyOk?: boolean;\n onSelect: (source: " }, { "kind": "Reference", "text": "TLUiEventSource", "canonicalReference": "tldraw!TLUiEventSource:type" }, { "kind": "Content", "text": ") => " }, { "kind": "Reference", "text": "Promise", "canonicalReference": "!Promise:interface" }, { "kind": "Content", "text": " | void;\n checked?: boolean;\n disabled?: boolean;\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/menus/TldrawUiMenuCheckboxItem.tsx", "releaseTag": "Public", "name": "TLUiMenuCheckboxItemProps", "typeParameters": [ { "typeParameterName": "TranslationKey", "constraintTokenRange": { "startIndex": 1, "endIndex": 2 }, "defaultTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "typeParameterName": "IconType", "constraintTokenRange": { "startIndex": 5, "endIndex": 6 }, "defaultTypeTokenRange": { "startIndex": 7, "endIndex": 8 } } ], "typeTokenRange": { "startIndex": 9, "endIndex": 14 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiMenuContextProviderProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiMenuContextProviderProps = " }, { "kind": "Content", "text": "{\n type: " }, { "kind": "Reference", "text": "TldrawUiMenuContextType", "canonicalReference": "tldraw!~TldrawUiMenuContextType:type" }, { "kind": "Content", "text": ";\n sourceId: " }, { "kind": "Reference", "text": "TLUiEventSource", "canonicalReference": "tldraw!TLUiEventSource:type" }, { "kind": "Content", "text": ";\n children: " }, { "kind": "Reference", "text": "React.ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/menus/TldrawUiMenuContext.tsx", "releaseTag": "Public", "name": "TLUiMenuContextProviderProps", "typeTokenRange": { "startIndex": 1, "endIndex": 8 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiMenuGroupProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiMenuGroupProps = " }, { "kind": "Content", "text": "{\n id: string;\n label?: {\n [key: string]: TranslationKey;\n } | TranslationKey;\n children?: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/menus/TldrawUiMenuGroup.tsx", "releaseTag": "Public", "name": "TLUiMenuGroupProps", "typeParameters": [ { "typeParameterName": "TranslationKey", "constraintTokenRange": { "startIndex": 1, "endIndex": 2 }, "defaultTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "typeTokenRange": { "startIndex": 5, "endIndex": 8 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiMenuItemProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiMenuItemProps = " }, { "kind": "Content", "text": "{\n id: string;\n icon?: IconType;\n kbd?: string;\n title?: string;\n label?: {\n [key: string]: TranslationKey;\n } | TranslationKey;\n readonlyOk?: boolean;\n onSelect: (source: " }, { "kind": "Reference", "text": "TLUiEventSource", "canonicalReference": "tldraw!TLUiEventSource:type" }, { "kind": "Content", "text": ") => " }, { "kind": "Reference", "text": "Promise", "canonicalReference": "!Promise:interface" }, { "kind": "Content", "text": " | void;\n disabled?: boolean;\n noClose?: boolean;\n spinner?: boolean;\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/menus/TldrawUiMenuItem.tsx", "releaseTag": "Public", "name": "TLUiMenuItemProps", "typeParameters": [ { "typeParameterName": "TranslationKey", "constraintTokenRange": { "startIndex": 1, "endIndex": 2 }, "defaultTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "typeParameterName": "IconType", "constraintTokenRange": { "startIndex": 5, "endIndex": 6 }, "defaultTypeTokenRange": { "startIndex": 7, "endIndex": 8 } } ], "typeTokenRange": { "startIndex": 9, "endIndex": 14 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiMenuSubmenuProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiMenuSubmenuProps = " }, { "kind": "Content", "text": "{\n id: string;\n label?: {\n [key: string]: Translation;\n } | Translation;\n disabled?: boolean;\n children: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n size?: 'medium' | 'small' | 'tiny' | 'wide';\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/menus/TldrawUiMenuSubmenu.tsx", "releaseTag": "Public", "name": "TLUiMenuSubmenuProps", "typeParameters": [ { "typeParameterName": "Translation", "constraintTokenRange": { "startIndex": 1, "endIndex": 2 }, "defaultTypeTokenRange": { "startIndex": 3, "endIndex": 4 } } ], "typeTokenRange": { "startIndex": 5, "endIndex": 8 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiOverrides:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiOverrides = " }, { "kind": "Reference", "text": "Partial", "canonicalReference": "!Partial:type" }, { "kind": "Content", "text": "<{\n actions: " }, { "kind": "Reference", "text": "WithDefaultHelpers", "canonicalReference": "tldraw!~WithDefaultHelpers:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "NonNullable", "canonicalReference": "!NonNullable:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "ActionsProviderProps", "canonicalReference": "tldraw!~ActionsProviderProps:type" }, { "kind": "Content", "text": "['overrides']>>;\n toolbar: " }, { "kind": "Reference", "text": "WithDefaultHelpers", "canonicalReference": "tldraw!~WithDefaultHelpers:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "NonNullable", "canonicalReference": "!NonNullable:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiToolbarSchemaProviderProps", "canonicalReference": "tldraw!~TLUiToolbarSchemaProviderProps:type" }, { "kind": "Content", "text": "['overrides']>>;\n tools: " }, { "kind": "Reference", "text": "WithDefaultHelpers", "canonicalReference": "tldraw!~WithDefaultHelpers:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "NonNullable", "canonicalReference": "!NonNullable:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiToolsProviderProps", "canonicalReference": "tldraw!TLUiToolsProviderProps:type" }, { "kind": "Content", "text": "['overrides']>>;\n translations: " }, { "kind": "Reference", "text": "TLUiTranslationProviderProps", "canonicalReference": "tldraw!~TLUiTranslationProviderProps:interface" }, { "kind": "Content", "text": "['overrides'];\n}>" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/overrides.ts", "releaseTag": "Public", "name": "TLUiOverrides", "typeTokenRange": { "startIndex": 1, "endIndex": 23 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiPopoverContentProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiPopoverContentProps = " }, { "kind": "Content", "text": "{\n children: " }, { "kind": "Reference", "text": "React.ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n side: 'bottom' | 'left' | 'right' | 'top';\n align?: 'center' | 'end' | 'start';\n alignOffset?: number;\n sideOffset?: number;\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiPopover.tsx", "releaseTag": "Public", "name": "TLUiPopoverContentProps", "typeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiPopoverProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiPopoverProps = " }, { "kind": "Content", "text": "{\n id: string;\n open?: boolean;\n children: " }, { "kind": "Reference", "text": "React.ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n onOpenChange?: (isOpen: boolean) => void;\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiPopover.tsx", "releaseTag": "Public", "name": "TLUiPopoverProps", "typeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "Interface", "canonicalReference": "tldraw!TLUiPopoverTriggerProps:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface TLUiPopoverTriggerProps " } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/primitives/TldrawUiPopover.tsx", "releaseTag": "Public", "name": "TLUiPopoverTriggerProps", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiPopoverTriggerProps#children:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "children?: " }, { "kind": "Reference", "text": "React.ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "children", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiQuickActionsProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiQuickActionsProps = " }, { "kind": "Content", "text": "{\n children?: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/QuickActions/DefaultQuickActions.tsx", "releaseTag": "Public", "name": "TLUiQuickActionsProps", "typeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiStylePanelContentProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiStylePanelContentProps = " }, { "kind": "Content", "text": "{\n styles: " }, { "kind": "Reference", "text": "ReturnType", "canonicalReference": "!ReturnType:type" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/StylePanel/DefaultStylePanelContent.tsx", "releaseTag": "Public", "name": "TLUiStylePanelContentProps", "typeTokenRange": { "startIndex": 1, "endIndex": 6 } }, { "kind": "Interface", "canonicalReference": "tldraw!TLUiStylePanelProps:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface TLUiStylePanelProps " } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/StylePanel/DefaultStylePanel.tsx", "releaseTag": "Public", "name": "TLUiStylePanelProps", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiStylePanelProps#children:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "children?: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "children", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiStylePanelProps#isMobile:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "isMobile?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "isMobile", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "tldraw!TLUiToast:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface TLUiToast " } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/toasts.tsx", "releaseTag": "Public", "name": "TLUiToast", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiToast#actions:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "actions?: " }, { "kind": "Reference", "text": "TLUiToastAction", "canonicalReference": "tldraw!TLUiToastAction:interface" }, { "kind": "Content", "text": "[]" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "actions", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiToast#closeLabel:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "closeLabel?: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "closeLabel", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiToast#description:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "description?: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "description", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiToast#icon:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "icon?: " }, { "kind": "Reference", "text": "TLUiIconType", "canonicalReference": "tldraw!TLUiIconType:type" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "icon", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiToast#id:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "id: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "id", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiToast#keepOpen:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "keepOpen?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "keepOpen", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiToast#title:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "title?: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "title", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "Interface", "canonicalReference": "tldraw!TLUiToastAction:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface TLUiToastAction " } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/toasts.tsx", "releaseTag": "Public", "name": "TLUiToastAction", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiToastAction#label:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "label: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "label", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiToastAction#onClick:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onClick: " }, { "kind": "Content", "text": "() => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onClick", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiToastAction#type:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "type: " }, { "kind": "Content", "text": "'danger' | 'normal' | 'primary'" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "type", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiToastsContextType:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiToastsContextType = " }, { "kind": "Content", "text": "{\n addToast: (toast: " }, { "kind": "Reference", "text": "Omit", "canonicalReference": "!Omit:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiToast", "canonicalReference": "tldraw!TLUiToast:interface" }, { "kind": "Content", "text": ", 'id'> & {\n id?: string;\n }) => string;\n removeToast: (id: " }, { "kind": "Reference", "text": "TLUiToast", "canonicalReference": "tldraw!TLUiToast:interface" }, { "kind": "Content", "text": "['id']) => string;\n clearToasts: () => void;\n toasts: " }, { "kind": "Reference", "text": "TLUiToast", "canonicalReference": "tldraw!TLUiToast:interface" }, { "kind": "Content", "text": "[];\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/toasts.tsx", "releaseTag": "Public", "name": "TLUiToastsContextType", "typeTokenRange": { "startIndex": 1, "endIndex": 10 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiToolbarItem:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiToolbarItem = " }, { "kind": "Content", "text": "{\n id: string;\n type: 'item';\n readonlyOk?: boolean;\n toolItem: " }, { "kind": "Reference", "text": "TLUiToolItem", "canonicalReference": "tldraw!TLUiToolItem:interface" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/hooks/useToolbarSchema.tsx", "releaseTag": "Public", "name": "TLUiToolbarItem", "typeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiToolbarSchemaContextType:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiToolbarSchemaContextType = " }, { "kind": "Reference", "text": "TLUiToolbarItem", "canonicalReference": "tldraw!TLUiToolbarItem:type" }, { "kind": "Content", "text": "[]" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/hooks/useToolbarSchema.tsx", "releaseTag": "Public", "name": "TLUiToolbarSchemaContextType", "typeTokenRange": { "startIndex": 1, "endIndex": 3 } }, { "kind": "Interface", "canonicalReference": "tldraw!TLUiToolItem:interface", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export interface TLUiToolItem " } ], "fileUrlPath": "packages/tldraw/src/lib/ui/hooks/useTools.tsx", "releaseTag": "Public", "typeParameters": [ { "typeParameterName": "TranslationKey", "constraintTokenRange": { "startIndex": 1, "endIndex": 2 }, "defaultTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "typeParameterName": "IconType", "constraintTokenRange": { "startIndex": 5, "endIndex": 6 }, "defaultTypeTokenRange": { "startIndex": 7, "endIndex": 8 } } ], "name": "TLUiToolItem", "preserveMemberOrder": false, "members": [ { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiToolItem#icon:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "icon: " }, { "kind": "Content", "text": "IconType" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "icon", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiToolItem#id:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "id: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "id", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiToolItem#kbd:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "kbd?: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "kbd", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiToolItem#label:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "label: " }, { "kind": "Content", "text": "TranslationKey" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "label", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiToolItem#meta:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "meta?: " }, { "kind": "Content", "text": "{\n [key: string]: any;\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "meta", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiToolItem#onSelect:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onSelect: " }, { "kind": "Content", "text": "(source: " }, { "kind": "Reference", "text": "TLUiEventSource", "canonicalReference": "tldraw!TLUiEventSource:type" }, { "kind": "Content", "text": ") => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onSelect", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiToolItem#readonlyOk:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "readonlyOk?: " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "readonlyOk", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "PropertySignature", "canonicalReference": "tldraw!TLUiToolItem#shortcutsLabel:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "shortcutsLabel?: " }, { "kind": "Content", "text": "TranslationKey" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": true, "releaseTag": "Public", "name": "shortcutsLabel", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "extendsTokenRanges": [] }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiToolsContextType:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiToolsContextType = " }, { "kind": "Reference", "text": "Record", "canonicalReference": "!Record:type" }, { "kind": "Content", "text": "" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/hooks/useTools.tsx", "releaseTag": "Public", "name": "TLUiToolsContextType", "typeTokenRange": { "startIndex": 1, "endIndex": 5 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiToolsProviderProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiToolsProviderProps = " }, { "kind": "Content", "text": "{\n overrides?: (editor: " }, { "kind": "Reference", "text": "Editor", "canonicalReference": "@tldraw/editor!Editor:class" }, { "kind": "Content", "text": ", tools: " }, { "kind": "Reference", "text": "TLUiToolsContextType", "canonicalReference": "tldraw!TLUiToolsContextType:type" }, { "kind": "Content", "text": ", helpers: {\n insertMedia: () => void;\n }) => " }, { "kind": "Reference", "text": "TLUiToolsContextType", "canonicalReference": "tldraw!TLUiToolsContextType:type" }, { "kind": "Content", "text": ";\n children: " }, { "kind": "Reference", "text": "React.ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/hooks/useTools.tsx", "releaseTag": "Public", "name": "TLUiToolsProviderProps", "typeTokenRange": { "startIndex": 1, "endIndex": 10 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiTranslation:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiTranslation = " }, { "kind": "Content", "text": "{\n readonly locale: string;\n readonly label: string;\n readonly messages: " }, { "kind": "Reference", "text": "Record", "canonicalReference": "!Record:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiTranslationKey", "canonicalReference": "tldraw!TLUiTranslationKey:type" }, { "kind": "Content", "text": ", string>;\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/hooks/useTranslation/translations.ts", "releaseTag": "Public", "name": "TLUiTranslation", "typeTokenRange": { "startIndex": 1, "endIndex": 6 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiTranslationContextType:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiTranslationContextType = " }, { "kind": "Reference", "text": "TLUiTranslation", "canonicalReference": "tldraw!TLUiTranslation:type" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/hooks/useTranslation/useTranslation.tsx", "releaseTag": "Public", "name": "TLUiTranslationContextType", "typeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiTranslationKey:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiTranslationKey = " }, { "kind": "Content", "text": "'action.align-bottom' | 'action.align-center-horizontal.short' | 'action.align-center-horizontal' | 'action.align-center-vertical.short' | 'action.align-center-vertical' | 'action.align-left' | 'action.align-right' | 'action.align-top' | 'action.back-to-content' | 'action.bring-forward' | 'action.bring-to-front' | 'action.convert-to-bookmark' | 'action.convert-to-embed' | 'action.copy-as-json.short' | 'action.copy-as-json' | 'action.copy-as-png.short' | 'action.copy-as-png' | 'action.copy-as-svg.short' | 'action.copy-as-svg' | 'action.copy' | 'action.cut' | 'action.delete' | 'action.distribute-horizontal.short' | 'action.distribute-horizontal' | 'action.distribute-vertical.short' | 'action.distribute-vertical' | 'action.duplicate' | 'action.edit-link' | 'action.exit-pen-mode' | 'action.export-all-as-json.short' | 'action.export-all-as-json' | 'action.export-all-as-png.short' | 'action.export-all-as-png' | 'action.export-all-as-svg.short' | 'action.export-all-as-svg' | 'action.export-as-json.short' | 'action.export-as-json' | 'action.export-as-png.short' | 'action.export-as-png' | 'action.export-as-svg.short' | 'action.export-as-svg' | 'action.fit-frame-to-content' | 'action.flip-horizontal.short' | 'action.flip-horizontal' | 'action.flip-vertical.short' | 'action.flip-vertical' | 'action.fork-project' | 'action.group' | 'action.insert-embed' | 'action.insert-media' | 'action.leave-shared-project' | 'action.new-project' | 'action.new-shared-project' | 'action.open-cursor-chat' | 'action.open-embed-link' | 'action.open-file' | 'action.pack' | 'action.paste' | 'action.print' | 'action.redo' | 'action.remove-frame' | 'action.rename' | 'action.rotate-ccw' | 'action.rotate-cw' | 'action.save-copy' | 'action.select-all' | 'action.select-none' | 'action.send-backward' | 'action.send-to-back' | 'action.share-project' | 'action.stack-horizontal.short' | 'action.stack-horizontal' | 'action.stack-vertical.short' | 'action.stack-vertical' | 'action.stop-following' | 'action.stretch-horizontal.short' | 'action.stretch-horizontal' | 'action.stretch-vertical.short' | 'action.stretch-vertical' | 'action.toggle-auto-size' | 'action.toggle-dark-mode.menu' | 'action.toggle-dark-mode' | 'action.toggle-debug-mode.menu' | 'action.toggle-debug-mode' | 'action.toggle-edge-scrolling.menu' | 'action.toggle-edge-scrolling' | 'action.toggle-focus-mode.menu' | 'action.toggle-focus-mode' | 'action.toggle-grid.menu' | 'action.toggle-grid' | 'action.toggle-lock' | 'action.toggle-reduce-motion.menu' | 'action.toggle-reduce-motion' | 'action.toggle-snap-mode.menu' | 'action.toggle-snap-mode' | 'action.toggle-tool-lock.menu' | 'action.toggle-tool-lock' | 'action.toggle-transparent.context-menu' | 'action.toggle-transparent.menu' | 'action.toggle-transparent' | 'action.toggle-wrap-mode.menu' | 'action.toggle-wrap-mode' | 'action.undo' | 'action.ungroup' | 'action.unlock-all' | 'action.zoom-in' | 'action.zoom-out' | 'action.zoom-to-100' | 'action.zoom-to-fit' | 'action.zoom-to-selection' | 'actions-menu.title' | 'align-style.end' | 'align-style.justify' | 'align-style.middle' | 'align-style.start' | 'arrowheadEnd-style.arrow' | 'arrowheadEnd-style.bar' | 'arrowheadEnd-style.diamond' | 'arrowheadEnd-style.dot' | 'arrowheadEnd-style.inverted' | 'arrowheadEnd-style.none' | 'arrowheadEnd-style.pipe' | 'arrowheadEnd-style.square' | 'arrowheadEnd-style.triangle' | 'arrowheadStart-style.arrow' | 'arrowheadStart-style.bar' | 'arrowheadStart-style.diamond' | 'arrowheadStart-style.dot' | 'arrowheadStart-style.inverted' | 'arrowheadStart-style.none' | 'arrowheadStart-style.pipe' | 'arrowheadStart-style.square' | 'arrowheadStart-style.triangle' | 'assets.files.upload-failed' | 'assets.url.failed' | 'color-style.black' | 'color-style.blue' | 'color-style.green' | 'color-style.grey' | 'color-style.light-blue' | 'color-style.light-green' | 'color-style.light-red' | 'color-style.light-violet' | 'color-style.orange' | 'color-style.red' | 'color-style.violet' | 'color-style.yellow' | 'context-menu.arrange' | 'context-menu.copy-as' | 'context-menu.export-all-as' | 'context-menu.export-as' | 'context-menu.move-to-page' | 'context-menu.reorder' | 'context.pages.new-page' | 'cursor-chat.type-to-chat' | 'dash-style.dashed' | 'dash-style.dotted' | 'dash-style.draw' | 'dash-style.solid' | 'debug-panel.more' | 'document.default-name' | 'edit-link-dialog.cancel' | 'edit-link-dialog.clear' | 'edit-link-dialog.detail' | 'edit-link-dialog.invalid-url' | 'edit-link-dialog.save' | 'edit-link-dialog.title' | 'edit-link-dialog.url' | 'edit-pages-dialog.move-down' | 'edit-pages-dialog.move-up' | 'embed-dialog.back' | 'embed-dialog.cancel' | 'embed-dialog.create' | 'embed-dialog.instruction' | 'embed-dialog.invalid-url' | 'embed-dialog.title' | 'embed-dialog.url' | 'file-system.confirm-clear.cancel' | 'file-system.confirm-clear.continue' | 'file-system.confirm-clear.description' | 'file-system.confirm-clear.dont-show-again' | 'file-system.confirm-clear.title' | 'file-system.confirm-open.cancel' | 'file-system.confirm-open.description' | 'file-system.confirm-open.dont-show-again' | 'file-system.confirm-open.open' | 'file-system.confirm-open.title' | 'file-system.file-open-error.file-format-version-too-new' | 'file-system.file-open-error.generic-corrupted-file' | 'file-system.file-open-error.not-a-tldraw-file' | 'file-system.file-open-error.title' | 'file-system.shared-document-file-open-error.description' | 'file-system.shared-document-file-open-error.title' | 'fill-style.none' | 'fill-style.pattern' | 'fill-style.semi' | 'fill-style.solid' | 'focus-mode.toggle-focus-mode' | 'font-style.draw' | 'font-style.mono' | 'font-style.sans' | 'font-style.serif' | 'geo-style.arrow-down' | 'geo-style.arrow-left' | 'geo-style.arrow-right' | 'geo-style.arrow-up' | 'geo-style.check-box' | 'geo-style.cloud' | 'geo-style.diamond' | 'geo-style.ellipse' | 'geo-style.hexagon' | 'geo-style.octagon' | 'geo-style.oval' | 'geo-style.pentagon' | 'geo-style.rectangle' | 'geo-style.rhombus-2' | 'geo-style.rhombus' | 'geo-style.star' | 'geo-style.trapezoid' | 'geo-style.triangle' | 'geo-style.x-box' | 'help-menu.about' | 'help-menu.discord' | 'help-menu.github' | 'help-menu.keyboard-shortcuts' | 'help-menu.title' | 'help-menu.twitter' | 'home-project-dialog.description' | 'home-project-dialog.ok' | 'home-project-dialog.title' | 'menu.copy-as' | 'menu.edit' | 'menu.export-as' | 'menu.file' | 'menu.language' | 'menu.preferences' | 'menu.title' | 'menu.view' | 'navigation-zone.toggle-minimap' | 'navigation-zone.zoom' | 'opacity-style.0.1' | 'opacity-style.0.25' | 'opacity-style.0.5' | 'opacity-style.0.75' | 'opacity-style.1' | 'page-menu.create-new-page' | 'page-menu.edit-done' | 'page-menu.edit-start' | 'page-menu.go-to-page' | 'page-menu.max-page-count-reached' | 'page-menu.new-page-initial-name' | 'page-menu.submenu.delete' | 'page-menu.submenu.duplicate-page' | 'page-menu.submenu.move-down' | 'page-menu.submenu.move-up' | 'page-menu.submenu.rename' | 'page-menu.submenu.title' | 'page-menu.title' | 'people-menu.change-color' | 'people-menu.change-name' | 'people-menu.follow' | 'people-menu.following' | 'people-menu.invite' | 'people-menu.leading' | 'people-menu.title' | 'people-menu.user' | 'rename-project-dialog.cancel' | 'rename-project-dialog.rename' | 'rename-project-dialog.title' | 'share-menu.copy-link-note' | 'share-menu.copy-link' | 'share-menu.copy-readonly-link-note' | 'share-menu.copy-readonly-link' | 'share-menu.create-snapshot-link' | 'share-menu.default-project-name' | 'share-menu.fork-note' | 'share-menu.offline-note' | 'share-menu.project-too-large' | 'share-menu.readonly-link' | 'share-menu.save-note' | 'share-menu.share-project' | 'share-menu.snapshot-link-note' | 'share-menu.title' | 'share-menu.upload-failed' | 'sharing.confirm-leave.cancel' | 'sharing.confirm-leave.description' | 'sharing.confirm-leave.dont-show-again' | 'sharing.confirm-leave.leave' | 'sharing.confirm-leave.title' | 'shortcuts-dialog.collaboration' | 'shortcuts-dialog.edit' | 'shortcuts-dialog.file' | 'shortcuts-dialog.preferences' | 'shortcuts-dialog.title' | 'shortcuts-dialog.tools' | 'shortcuts-dialog.transform' | 'shortcuts-dialog.view' | 'size-style.l' | 'size-style.m' | 'size-style.s' | 'size-style.xl' | 'spline-style.cubic' | 'spline-style.line' | 'status.offline' | 'status.online' | 'style-panel.align' | 'style-panel.arrowhead-end' | 'style-panel.arrowhead-start' | 'style-panel.arrowheads' | 'style-panel.color' | 'style-panel.dash' | 'style-panel.fill' | 'style-panel.font' | 'style-panel.geo' | 'style-panel.mixed' | 'style-panel.opacity' | 'style-panel.position' | 'style-panel.size' | 'style-panel.spline' | 'style-panel.title' | 'style-panel.vertical-align' | 'toast.close' | 'toast.error.copy-fail.desc' | 'toast.error.copy-fail.title' | 'toast.error.export-fail.desc' | 'toast.error.export-fail.title' | 'tool-panel.drawing' | 'tool-panel.more' | 'tool-panel.shapes' | 'tool.arrow-down' | 'tool.arrow-left' | 'tool.arrow-right' | 'tool.arrow-up' | 'tool.arrow' | 'tool.asset' | 'tool.check-box' | 'tool.cloud' | 'tool.diamond' | 'tool.draw' | 'tool.ellipse' | 'tool.embed' | 'tool.eraser' | 'tool.frame' | 'tool.hand' | 'tool.hexagon' | 'tool.highlight' | 'tool.laser' | 'tool.line' | 'tool.note' | 'tool.octagon' | 'tool.oval' | 'tool.pentagon' | 'tool.rectangle' | 'tool.rhombus' | 'tool.select' | 'tool.star' | 'tool.text' | 'tool.trapezoid' | 'tool.triangle' | 'tool.x-box' | 'verticalAlign-style.end' | 'verticalAlign-style.middle' | 'verticalAlign-style.start' | 'vscode.file-open.backup-failed' | 'vscode.file-open.backup-saved' | 'vscode.file-open.backup' | 'vscode.file-open.desc' | 'vscode.file-open.dont-show-again' | 'vscode.file-open.open'" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/hooks/useTranslation/TLUiTranslationKey.ts", "releaseTag": "Public", "name": "TLUiTranslationKey", "typeTokenRange": { "startIndex": 1, "endIndex": 2 } }, { "kind": "TypeAlias", "canonicalReference": "tldraw!TLUiZoomMenuProps:type", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export type TLUiZoomMenuProps = " }, { "kind": "Content", "text": "{\n children?: " }, { "kind": "Reference", "text": "ReactNode", "canonicalReference": "@types/react!React.ReactNode:type" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/ZoomMenu/DefaultZoomMenu.tsx", "releaseTag": "Public", "name": "TLUiZoomMenuProps", "typeTokenRange": { "startIndex": 1, "endIndex": 4 } }, { "kind": "Function", "canonicalReference": "tldraw!ToggleAutoSizeMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ToggleAutoSizeMenuItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ToggleAutoSizeMenuItem" }, { "kind": "Function", "canonicalReference": "tldraw!ToggleDarkModeItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ToggleDarkModeItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ToggleDarkModeItem" }, { "kind": "Function", "canonicalReference": "tldraw!ToggleDebugModeItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ToggleDebugModeItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ToggleDebugModeItem" }, { "kind": "Function", "canonicalReference": "tldraw!ToggleEdgeScrollingItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ToggleEdgeScrollingItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ToggleEdgeScrollingItem" }, { "kind": "Function", "canonicalReference": "tldraw!ToggleFocusModeItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ToggleFocusModeItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ToggleFocusModeItem" }, { "kind": "Function", "canonicalReference": "tldraw!ToggleGridItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ToggleGridItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ToggleGridItem" }, { "kind": "Function", "canonicalReference": "tldraw!ToggleLockMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ToggleLockMenuItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ToggleLockMenuItem" }, { "kind": "Function", "canonicalReference": "tldraw!ToggleReduceMotionItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ToggleReduceMotionItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ToggleReduceMotionItem" }, { "kind": "Function", "canonicalReference": "tldraw!ToggleSnapModeItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ToggleSnapModeItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ToggleSnapModeItem" }, { "kind": "Function", "canonicalReference": "tldraw!ToggleToolLockItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ToggleToolLockItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ToggleToolLockItem" }, { "kind": "Function", "canonicalReference": "tldraw!ToggleTransparentBgMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ToggleTransparentBgMenuItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ToggleTransparentBgMenuItem" }, { "kind": "Function", "canonicalReference": "tldraw!ToggleWrapModeItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ToggleWrapModeItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ToggleWrapModeItem" }, { "kind": "Function", "canonicalReference": "tldraw!toolbarItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function toolbarItem(toolItem: " }, { "kind": "Reference", "text": "TLUiToolItem", "canonicalReference": "tldraw!TLUiToolItem:interface" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "TLUiToolbarItem", "canonicalReference": "tldraw!TLUiToolbarItem:type" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/hooks/useToolbarSchema.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "toolItem", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "toolbarItem" }, { "kind": "Function", "canonicalReference": "tldraw!truncateStringWithEllipsis:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "truncateStringWithEllipsis: (str: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", maxLength: " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ") => " }, { "kind": "Content", "text": "string" } ], "fileUrlPath": "packages/tldraw/src/lib/utils/text/text.ts", "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "str", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "maxLength", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false } ], "name": "truncateStringWithEllipsis" }, { "kind": "Function", "canonicalReference": "tldraw!UiEventsProvider:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function UiEventsProvider({ onEvent, children }: " }, { "kind": "Reference", "text": "EventsProviderProps", "canonicalReference": "tldraw!EventsProviderProps:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/events.tsx", "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "{ onEvent, children }", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "name": "UiEventsProvider" }, { "kind": "Function", "canonicalReference": "tldraw!UndoRedoGroup:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function UndoRedoGroup(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/MainMenu/DefaultMainMenuContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "UndoRedoGroup" }, { "kind": "Function", "canonicalReference": "tldraw!UngroupMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function UngroupMenuItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": " | null" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "UngroupMenuItem" }, { "kind": "Function", "canonicalReference": "tldraw!UnlockAllMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function UnlockAllMenuItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "UnlockAllMenuItem" }, { "kind": "Function", "canonicalReference": "tldraw!unwrapLabel:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function unwrapLabel(label?: " }, { "kind": "Reference", "text": "TLUiActionItem", "canonicalReference": "tldraw!TLUiActionItem:interface" }, { "kind": "Content", "text": "['label']" }, { "kind": "Content", "text": ", menuType?: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "string | undefined" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/actions.tsx", "returnTypeTokenRange": { "startIndex": 6, "endIndex": 7 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "label", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "isOptional": true }, { "parameterName": "menuType", "parameterTypeTokenRange": { "startIndex": 4, "endIndex": 5 }, "isOptional": true } ], "name": "unwrapLabel" }, { "kind": "Function", "canonicalReference": "tldraw!useActions:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function useActions(): " }, { "kind": "Reference", "text": "TLUiActionsContextType", "canonicalReference": "tldraw!TLUiActionsContextType:type" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/actions.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "useActions" }, { "kind": "Function", "canonicalReference": "tldraw!useBreakpoint:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function useBreakpoint(): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/breakpoints.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "useBreakpoint" }, { "kind": "Function", "canonicalReference": "tldraw!useCanRedo:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function useCanRedo(): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/hooks/menu-hooks.ts", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "useCanRedo" }, { "kind": "Function", "canonicalReference": "tldraw!useCanUndo:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function useCanUndo(): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/hooks/menu-hooks.ts", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "useCanUndo" }, { "kind": "Function", "canonicalReference": "tldraw!useCopyAs:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function useCopyAs(): " }, { "kind": "Content", "text": "(ids: " }, { "kind": "Reference", "text": "TLShapeId", "canonicalReference": "@tldraw/tlschema!TLShapeId:type" }, { "kind": "Content", "text": "[], format?: " }, { "kind": "Reference", "text": "TLCopyType", "canonicalReference": "tldraw!~TLCopyType:type" }, { "kind": "Content", "text": ") => void" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/hooks/useCopyAs.ts", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "useCopyAs" }, { "kind": "Function", "canonicalReference": "tldraw!useDefaultHelpers:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function useDefaultHelpers(): " }, { "kind": "Content", "text": "{\n addToast: (toast: " }, { "kind": "Reference", "text": "Omit", "canonicalReference": "!Omit:type" }, { "kind": "Content", "text": " & {\n id?: string | undefined;\n }) => string;\n removeToast: (id: string) => string;\n clearToasts: () => void;\n addDialog: (dialog: " }, { "kind": "Reference", "text": "Omit", "canonicalReference": "!Omit:type" }, { "kind": "Content", "text": " & {\n id?: string | undefined;\n }) => string;\n clearDialogs: () => void;\n removeDialog: (id: string) => string;\n updateDialog: (id: string, newDialogData: " }, { "kind": "Reference", "text": "Partial", "canonicalReference": "!Partial:type" }, { "kind": "Content", "text": ") => string;\n msg: (id?: string | undefined) => string;\n isMobile: boolean;\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/overrides.ts", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 14 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "useDefaultHelpers" }, { "kind": "Function", "canonicalReference": "tldraw!useDialogs:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function useDialogs(): " }, { "kind": "Reference", "text": "TLUiDialogsContextType", "canonicalReference": "tldraw!TLUiDialogsContextType:type" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/dialogs.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "useDialogs" }, { "kind": "Function", "canonicalReference": "tldraw!useExportAs:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function useExportAs(): " }, { "kind": "Content", "text": "(ids: " }, { "kind": "Reference", "text": "TLShapeId", "canonicalReference": "@tldraw/tlschema!TLShapeId:type" }, { "kind": "Content", "text": "[], format: " }, { "kind": "Reference", "text": "TLExportType", "canonicalReference": "tldraw!~TLExportType:type" }, { "kind": "Content", "text": " | undefined, name: string | undefined) => void" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/hooks/useExportAs.ts", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "useExportAs" }, { "kind": "Function", "canonicalReference": "tldraw!useKeyboardShortcuts:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function useKeyboardShortcuts(): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/hooks/useKeyboardShortcuts.ts", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "useKeyboardShortcuts" }, { "kind": "Function", "canonicalReference": "tldraw!useLocalStorageState:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function useLocalStorageState(key: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", defaultValue: " }, { "kind": "Content", "text": "T" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "readonly [T, (setter: ((value: T) => T) | T) => void]" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/hooks/useLocalStorageState.ts", "returnTypeTokenRange": { "startIndex": 7, "endIndex": 8 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "key", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": false }, { "parameterName": "defaultValue", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "isOptional": false } ], "typeParameters": [ { "typeParameterName": "T", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 1, "endIndex": 2 } } ], "name": "useLocalStorageState" }, { "kind": "Function", "canonicalReference": "tldraw!useMenuClipboardEvents:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function useMenuClipboardEvents(): " }, { "kind": "Content", "text": "{\n copy: (source: " }, { "kind": "Reference", "text": "TLUiEventSource", "canonicalReference": "tldraw!TLUiEventSource:type" }, { "kind": "Content", "text": ") => void;\n cut: (source: " }, { "kind": "Reference", "text": "TLUiEventSource", "canonicalReference": "tldraw!TLUiEventSource:type" }, { "kind": "Content", "text": ") => void;\n paste: (data: " }, { "kind": "Reference", "text": "ClipboardItem", "canonicalReference": "!ClipboardItem:interface" }, { "kind": "Content", "text": "[] | " }, { "kind": "Reference", "text": "DataTransfer", "canonicalReference": "!DataTransfer:interface" }, { "kind": "Content", "text": ", source: " }, { "kind": "Reference", "text": "TLUiEventSource", "canonicalReference": "tldraw!TLUiEventSource:type" }, { "kind": "Content", "text": ", point?: " }, { "kind": "Reference", "text": "VecLike", "canonicalReference": "@tldraw/editor!VecLike:type" }, { "kind": "Content", "text": ") => " }, { "kind": "Reference", "text": "Promise", "canonicalReference": "!Promise:interface" }, { "kind": "Content", "text": ";\n}" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/hooks/useClipboardEvents.ts", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 16 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "useMenuClipboardEvents" }, { "kind": "Function", "canonicalReference": "tldraw!useMenuIsOpen:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function useMenuIsOpen(id: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", cb?: " }, { "kind": "Content", "text": "(isOpen: boolean) => void" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "readonly [boolean, (isOpen: boolean) => void]" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/hooks/useMenuIsOpen.ts", "returnTypeTokenRange": { "startIndex": 5, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "id", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false }, { "parameterName": "cb", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "isOptional": true } ], "name": "useMenuIsOpen" }, { "kind": "Function", "canonicalReference": "tldraw!useNativeClipboardEvents:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function useNativeClipboardEvents(): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/hooks/useClipboardEvents.ts", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "useNativeClipboardEvents" }, { "kind": "Function", "canonicalReference": "tldraw!useReadonly:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function useReadonly(): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/hooks/useReadonly.ts", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "useReadonly" }, { "kind": "Function", "canonicalReference": "tldraw!useRelevantStyles:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function useRelevantStyles(stylesToCheck?: " }, { "kind": "Content", "text": "readonly " }, { "kind": "Reference", "text": "StyleProp", "canonicalReference": "@tldraw/tlschema!StyleProp:class" }, { "kind": "Content", "text": "[]" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "null | " }, { "kind": "Reference", "text": "ReadonlySharedStyleMap", "canonicalReference": "@tldraw/editor!ReadonlySharedStyleMap:class" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/hooks/useRelevantStyles.ts", "returnTypeTokenRange": { "startIndex": 5, "endIndex": 7 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "stylesToCheck", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "isOptional": true } ], "name": "useRelevantStyles" }, { "kind": "Function", "canonicalReference": "tldraw!useTldrawUiComponents:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function useTldrawUiComponents(): " }, { "kind": "Reference", "text": "Partial", "canonicalReference": "!Partial:type" }, { "kind": "Content", "text": "<{\n ContextMenu: " }, { "kind": "Reference", "text": "ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiContextMenuProps", "canonicalReference": "tldraw!TLUiContextMenuProps:interface" }, { "kind": "Content", "text": "> | null;\n ActionsMenu: " }, { "kind": "Reference", "text": "ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiActionsMenuProps", "canonicalReference": "tldraw!TLUiActionsMenuProps:type" }, { "kind": "Content", "text": "> | null;\n HelpMenu: " }, { "kind": "Reference", "text": "ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiHelpMenuProps", "canonicalReference": "tldraw!TLUiHelpMenuProps:type" }, { "kind": "Content", "text": "> | null;\n ZoomMenu: " }, { "kind": "Reference", "text": "ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiZoomMenuProps", "canonicalReference": "tldraw!TLUiZoomMenuProps:type" }, { "kind": "Content", "text": "> | null;\n MainMenu: " }, { "kind": "Reference", "text": "ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiMainMenuProps", "canonicalReference": "tldraw!TLUiMainMenuProps:type" }, { "kind": "Content", "text": "> | null;\n Minimap: " }, { "kind": "Reference", "text": "ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": " | null;\n StylePanel: " }, { "kind": "Reference", "text": "ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiStylePanelProps", "canonicalReference": "tldraw!TLUiStylePanelProps:interface" }, { "kind": "Content", "text": "> | null;\n PageMenu: " }, { "kind": "Reference", "text": "ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": " | null;\n NavigationPanel: " }, { "kind": "Reference", "text": "ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": " | null;\n Toolbar: " }, { "kind": "Reference", "text": "ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": " | null;\n KeyboardShortcutsDialog: " }, { "kind": "Reference", "text": "ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiKeyboardShortcutsDialogProps", "canonicalReference": "tldraw!TLUiKeyboardShortcutsDialogProps:type" }, { "kind": "Content", "text": "> | null;\n QuickActions: " }, { "kind": "Reference", "text": "ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiQuickActionsProps", "canonicalReference": "tldraw!TLUiQuickActionsProps:type" }, { "kind": "Content", "text": "> | null;\n HelperButtons: " }, { "kind": "Reference", "text": "ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLUiHelperButtonsProps", "canonicalReference": "tldraw!TLUiHelperButtonsProps:type" }, { "kind": "Content", "text": "> | null;\n DebugMenu: " }, { "kind": "Reference", "text": "ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": " | null;\n MenuPanel: " }, { "kind": "Reference", "text": "ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": " | null;\n TopPanel: " }, { "kind": "Reference", "text": "ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": " | null;\n SharePanel: " }, { "kind": "Reference", "text": "ComponentType", "canonicalReference": "@types/react!React.ComponentType:type" }, { "kind": "Content", "text": " | null;\n}>" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/components.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 55 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "useTldrawUiComponents" }, { "kind": "Function", "canonicalReference": "tldraw!useToasts:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function useToasts(): " }, { "kind": "Reference", "text": "TLUiToastsContextType", "canonicalReference": "tldraw!TLUiToastsContextType:type" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/toasts.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "useToasts" }, { "kind": "Function", "canonicalReference": "tldraw!useToolbarSchema:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function useToolbarSchema(): " }, { "kind": "Reference", "text": "TLUiToolbarSchemaContextType", "canonicalReference": "tldraw!TLUiToolbarSchemaContextType:type" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/hooks/useToolbarSchema.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "useToolbarSchema" }, { "kind": "Function", "canonicalReference": "tldraw!useTools:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function useTools(): " }, { "kind": "Reference", "text": "TLUiToolsContextType", "canonicalReference": "tldraw!TLUiToolsContextType:type" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/hooks/useTools.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "useTools" }, { "kind": "Function", "canonicalReference": "tldraw!useTranslation:function(1)", "docComment": "/**\n * Returns a function to translate a translation key into a string based on the current translation.\n *\n * @example\n * ```ts\n * const msg = useTranslation()\n * const label = msg('style-panel.styles')\n * ```\n *\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function useTranslation(): " }, { "kind": "Content", "text": "(id?: " }, { "kind": "Reference", "text": "Exclude", "canonicalReference": "!Exclude:type" }, { "kind": "Content", "text": " | string) => string" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/hooks/useTranslation/useTranslation.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 6 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "useTranslation" }, { "kind": "Function", "canonicalReference": "tldraw!useUiEvents:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function useUiEvents(): " }, { "kind": "Reference", "text": "TLUiEventContextType", "canonicalReference": "tldraw!TLUiEventContextType:type" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/context/events.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "useUiEvents" }, { "kind": "Class", "canonicalReference": "tldraw!VideoShapeUtil:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class VideoShapeUtil extends " }, { "kind": "Reference", "text": "BaseBoxShapeUtil", "canonicalReference": "@tldraw/editor!BaseBoxShapeUtil:class" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "TLVideoShape", "canonicalReference": "@tldraw/tlschema!TLVideoShape:type" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/shapes/video/VideoShapeUtil.tsx", "releaseTag": "Public", "isAbstract": false, "name": "VideoShapeUtil", "preserveMemberOrder": false, "members": [ { "kind": "Property", "canonicalReference": "tldraw!VideoShapeUtil#canEdit:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "canEdit: " }, { "kind": "Content", "text": "() => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "canEdit", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!VideoShapeUtil#component:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "component(shape: " }, { "kind": "Reference", "text": "TLVideoShape", "canonicalReference": "@tldraw/tlschema!TLVideoShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "component" }, { "kind": "Method", "canonicalReference": "tldraw!VideoShapeUtil#getDefaultProps:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "getDefaultProps(): " }, { "kind": "Reference", "text": "TLVideoShape", "canonicalReference": "@tldraw/tlschema!TLVideoShape:type" }, { "kind": "Content", "text": "['props']" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [], "isOptional": false, "isAbstract": false, "name": "getDefaultProps" }, { "kind": "Method", "canonicalReference": "tldraw!VideoShapeUtil#indicator:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "indicator(shape: " }, { "kind": "Reference", "text": "TLVideoShape", "canonicalReference": "@tldraw/tlschema!TLVideoShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 5 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "indicator" }, { "kind": "Property", "canonicalReference": "tldraw!VideoShapeUtil#isAspectRatioLocked:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "isAspectRatioLocked: " }, { "kind": "Content", "text": "() => boolean" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "isAspectRatioLocked", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!VideoShapeUtil.migrations:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static migrations: " }, { "kind": "Content", "text": "import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Migrations", "canonicalReference": "@tldraw/store!Migrations:interface" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "migrations", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!VideoShapeUtil.props:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static props: " }, { "kind": "Content", "text": "{\n w: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n h: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n time: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n playing: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n url: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n assetId: import(\"@tldraw/editor\")." }, { "kind": "Reference", "text": "Validator", "canonicalReference": "@tldraw/validate!Validator:class" }, { "kind": "Content", "text": ";\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "props", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 16 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Method", "canonicalReference": "tldraw!VideoShapeUtil#toSvg:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "toSvg(shape: " }, { "kind": "Reference", "text": "TLVideoShape", "canonicalReference": "@tldraw/tlschema!TLVideoShape:type" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "SVGGElement", "canonicalReference": "!SVGGElement:interface" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "isProtected": false, "overloadIndex": 1, "parameters": [ { "parameterName": "shape", "parameterTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isOptional": false } ], "isOptional": false, "isAbstract": false, "name": "toSvg" }, { "kind": "Property", "canonicalReference": "tldraw!VideoShapeUtil.type:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static type: " }, { "kind": "Content", "text": "\"video\"" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "type", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 5 }, "implementsTokenRanges": [] }, { "kind": "Function", "canonicalReference": "tldraw!ViewSubmenu:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ViewSubmenu(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/MainMenu/DefaultMainMenuContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ViewSubmenu" }, { "kind": "Function", "canonicalReference": "tldraw!ZoomOrRotateMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ZoomOrRotateMenuItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/ActionsMenu/DefaultActionsMenuContent.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ZoomOrRotateMenuItem" }, { "kind": "Function", "canonicalReference": "tldraw!ZoomTo100MenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ZoomTo100MenuItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ZoomTo100MenuItem" }, { "kind": "Function", "canonicalReference": "tldraw!ZoomToFitMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ZoomToFitMenuItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ZoomToFitMenuItem" }, { "kind": "Class", "canonicalReference": "tldraw!ZoomTool:class", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class ZoomTool extends " }, { "kind": "Reference", "text": "StateNode", "canonicalReference": "@tldraw/editor!StateNode:class" }, { "kind": "Content", "text": " " } ], "fileUrlPath": "packages/tldraw/src/lib/tools/ZoomTool/ZoomTool.ts", "releaseTag": "Public", "isAbstract": false, "name": "ZoomTool", "preserveMemberOrder": false, "members": [ { "kind": "Property", "canonicalReference": "tldraw!ZoomTool.children:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static children: " }, { "kind": "Content", "text": "() => (typeof " }, { "kind": "Reference", "text": "Idle", "canonicalReference": "tldraw!~Idle_12:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "Pointing", "canonicalReference": "tldraw!~Pointing_8:class" }, { "kind": "Content", "text": " | typeof " }, { "kind": "Reference", "text": "ZoomBrushing", "canonicalReference": "tldraw!~ZoomBrushing:class" }, { "kind": "Content", "text": ")[]" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "children", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 8 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ZoomTool.id:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static id: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "id", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ZoomTool#info:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "info: " }, { "kind": "Reference", "text": "TLPointerEventInfo", "canonicalReference": "@tldraw/editor!TLPointerEventInfo:type" }, { "kind": "Content", "text": " & {\n onInteractionEnd?: string | undefined;\n }" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "info", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ZoomTool.initial:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static initial: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "initial", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": true, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ZoomTool#onEnter:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onEnter: " }, { "kind": "Content", "text": "(info: " }, { "kind": "Reference", "text": "TLPointerEventInfo", "canonicalReference": "@tldraw/editor!TLPointerEventInfo:type" }, { "kind": "Content", "text": " & {\n onInteractionEnd: string;\n }) => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onEnter", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 4 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ZoomTool#onExit:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onExit: " }, { "kind": "Content", "text": "() => void" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onExit", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ZoomTool#onInterrupt:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onInterrupt: " }, { "kind": "Reference", "text": "TLInterruptEvent", "canonicalReference": "@tldraw/editor!TLInterruptEvent:type" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onInterrupt", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ZoomTool#onKeyDown:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onKeyDown: " }, { "kind": "Reference", "text": "TLKeyboardEvent", "canonicalReference": "@tldraw/editor!TLKeyboardEvent:type" }, { "kind": "Content", "text": " | undefined" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onKeyDown", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "isStatic": false, "isProtected": false, "isAbstract": false }, { "kind": "Property", "canonicalReference": "tldraw!ZoomTool#onKeyUp:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "onKeyUp: " }, { "kind": "Reference", "text": "TLKeyboardEvent", "canonicalReference": "@tldraw/editor!TLKeyboardEvent:type" }, { "kind": "Content", "text": ";" } ], "isReadonly": false, "isOptional": false, "releaseTag": "Public", "name": "onKeyUp", "propertyTypeTokenRange": { "startIndex": 1, "endIndex": 2 }, "isStatic": false, "isProtected": false, "isAbstract": false } ], "extendsTokenRange": { "startIndex": 1, "endIndex": 2 }, "implementsTokenRanges": [] }, { "kind": "Function", "canonicalReference": "tldraw!ZoomToSelectionMenuItem:function(1)", "docComment": "/**\n * @public\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare function ZoomToSelectionMenuItem(): " }, { "kind": "Content", "text": "import(\"react/jsx-runtime\")." }, { "kind": "Reference", "text": "JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, { "kind": "Content", "text": ";" } ], "fileUrlPath": "packages/tldraw/src/lib/ui/components/menu-items.tsx", "returnTypeTokenRange": { "startIndex": 1, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "ZoomToSelectionMenuItem" } ] } ] }