{
  "version": 3,
  "sources": ["../../src/styles/TLVerticalAlignStyle.ts"],
  "sourcesContent": ["import { T } from '@tldraw/validate'\nimport { StyleProp } from './StyleProp'\n\n/**\n * Default vertical alignment style property used by tldraw shapes for text positioning.\n * Controls how text content is vertically aligned within shape boundaries.\n *\n * Available values:\n * - `start` - Align text to the top\n * - `middle` - Center text vertically (default)\n * - `end` - Align text to the bottom\n *\n * @example\n * ```ts\n * import { DefaultVerticalAlignStyle } from '@tldraw/tlschema'\n *\n * // Use in shape props definition\n * interface MyShapeProps {\n *   verticalAlign: typeof DefaultVerticalAlignStyle\n *   // other props...\n * }\n *\n * // Create a shape with top-aligned text\n * const shape = {\n *   // ... other properties\n *   props: {\n *     verticalAlign: 'start' as const,\n *     // ... other props\n *   }\n * }\n * ```\n *\n * @public\n */\nexport const DefaultVerticalAlignStyle = StyleProp.defineEnum('tldraw:verticalAlign', {\n\tdefaultValue: 'middle',\n\tvalues: ['start', 'middle', 'end'],\n})\n\n/**\n * Type representing a default vertical alignment style value.\n * This is a union type of all available vertical alignment options.\n *\n * @example\n * ```ts\n * import { TLDefaultVerticalAlignStyle } from '@tldraw/tlschema'\n *\n * // Valid vertical alignment values\n * const topAlign: TLDefaultVerticalAlignStyle = 'start'\n * const centerAlign: TLDefaultVerticalAlignStyle = 'middle'\n * const bottomAlign: TLDefaultVerticalAlignStyle = 'end'\n *\n * // Use in a function parameter\n * function setVerticalAlignment(align: TLDefaultVerticalAlignStyle) {\n *   // Apply vertical alignment to text\n * }\n * ```\n *\n * @public\n */\nexport type TLDefaultVerticalAlignStyle = T.TypeOf<typeof DefaultVerticalAlignStyle>\n"],
  "mappings": "AACA,SAAS,iBAAiB;AAiCnB,MAAM,4BAA4B,UAAU,WAAW,wBAAwB;AAAA,EACrF,cAAc;AAAA,EACd,QAAQ,CAAC,SAAS,UAAU,KAAK;AAClC,CAAC;",
  "names": []
}
