{"version":3,"file":"UdpInlineEdit.mjs","names":["React","UdpFluentInlineEdit","UdpFluentInlineEditWebComponent","UdpWrapperBaseProps","UdpInlineEditProps","ComponentProps","UdpInlineEdit","FC","props","$","_c","t0"],"sources":["../../../src/UI/fluent-web-components/UdpInlineEdit.tsx"],"sourcesContent":["import React from 'react';\nimport { UdpFluentInlineEdit as UdpFluentInlineEditWebComponent } from '@univerus/udp-react-stencil-component-library';\nimport type { UdpWrapperBaseProps } from './types';\n\nexport type UdpInlineEditProps = React.ComponentProps<\n  typeof UdpFluentInlineEditWebComponent\n> &\n  UdpWrapperBaseProps;\n\n/**\n * Inline-editable text (`udp-fluent-inline-edit`): renders as quiet text with a\n * hover affordance and becomes editable on click/focus — for titles and labels\n * that should read as content, not as a form field.\n *\n * Props: `value`, `placeholder`, `readonly`, `ariaLabel`, `maxLength`,\n * `fitContent` (box hugs the text instead of filling the container — for a\n * title with a command beside it; cap growth with a `max-width`).\n * Events: `onValueChanged` (every keystroke, `CustomEvent<string>`),\n * `onInputBlur` / `onInputFocus` (`CustomEvent<void>`). Commit-on-blur is the\n * consumer's concern — pair `onValueChanged` state with an `onInputBlur` commit.\n */\nexport const UdpInlineEdit: React.FC<UdpInlineEditProps> = (props) => {\n  return <UdpFluentInlineEditWebComponent {...props} />;\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAqBA,MAAaM,iBAA8CE,UAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CAAA,IAAAC;AAAA,KAAAF,EAAA,OAAAD,OAAA;AAClDG,OAAA,sBAAA,cAAC,qBAAoCH,MAAS;AAAAC,IAAA,KAAAD;AAAAC,IAAA,KAAAE;OAAAA,MAAAF,EAAA;AAAA,QAA9CE"}