{"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;AAoBM,MAAM,0DAAS,CAAA,GAAA,uBAAS,EAAE,SAAS,OAAO,KAAkB,EAAE,GAAW;IAC9E,QAAQ,CAAA,GAAA,sCAAW,EAAE,OAAO;IAC5B,IAAI,YACF,QAAQ,EACR,GAAG,YACJ,GAAG;IACJ,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,uCAAY,EAAE;IACjC,IAAI,SAAS,CAAA,GAAA,mCAAQ,EAAE;IAEvB,qBACE,0DAAC;QAAQ,GAAG,CAAA,GAAA,6CAAa,EAAE,WAAW;QAAG,GAAG,UAAU;QAAE,KAAK;qBAC3D,0DAAC,CAAA,GAAA,oCAAS,SACP;AAIT","sources":["packages/@adobe/react-spectrum/src/view/Footer.tsx"],"sourcesContent":["/*\n * Copyright 2020 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 {ClearSlots, useSlotProps} from '../utils/Slots';\n\nimport {DOMProps, DOMRef, StyleProps} from '@react-types/shared';\nimport {filterDOMProps} from 'react-aria/filterDOMProps';\nimport React, {forwardRef, ReactNode} from 'react';\nimport {useDOMRef} from '../utils/useDOMRef';\nimport {useStyleProps} from '../utils/styleProps';\n\nexport interface FooterProps extends DOMProps, StyleProps {\n  /**\n   * Footer content.\n   */\n  children: ReactNode\n}\n\n/**\n * Footer represents a footer within a Spectrum container.\n */\nexport const Footer = forwardRef(function Footer(props: FooterProps, ref: DOMRef) {\n  props = useSlotProps(props, 'footer');\n  let {\n    children,\n    ...otherProps\n  } = props;\n  let {styleProps} = useStyleProps(otherProps);\n  let domRef = useDOMRef(ref);\n\n  return (\n    <footer {...filterDOMProps(otherProps)} {...styleProps} ref={domRef}>\n      <ClearSlots>\n        {children}\n      </ClearSlots>\n    </footer>\n  );\n});\n"],"names":[],"version":3,"file":"Footer.cjs.map"}