{"mappings":";;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;AAOM,MAAM,0DAAkB,CAAA,GAAA,0BAAY,EAA4C,CAAC;AAEjF,MAAM,0DAAW,CAAA,GAAA,uBAAS,EAAE,SAAS,SAAS,KAAoB,EAAE,GAA8B;IACvG,CAAC,OAAO,IAAI,GAAG,CAAA,GAAA,yCAAc,EAAE,OAAO,KAAK;IAC3C,qBAAO,0DAAC,CAAA,GAAA,6BAAE,EAAE,GAAG;QAAC,KAAI;QAAO,GAAG,KAAK;QAAE,KAAK;;AAC5C","sources":["packages/react-aria-components/src/Keyboard.tsx"],"sourcesContent":["/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {ContextValue, dom, DOMRenderProps, useContextProps} from './utils';\nimport React, {createContext, ForwardedRef, forwardRef, HTMLAttributes} from 'react';\n\nexport interface KeyboardProps extends HTMLAttributes<HTMLElement>, DOMRenderProps<'kbd', undefined> {}\n\nexport const KeyboardContext = createContext<ContextValue<KeyboardProps, HTMLElement>>({});\n\nexport const Keyboard = forwardRef(function Keyboard(props: KeyboardProps, ref: ForwardedRef<HTMLElement>) {\n  [props, ref] = useContextProps(props, ref, KeyboardContext);\n  return <dom.kbd dir=\"ltr\" {...props} ref={ref} />;\n});\n"],"names":[],"version":3,"file":"Keyboard.cjs.map"}