{"mappings":";;;;;;;;;;;;;AAAA,cAAc;AACd;;;;;;;;;;CAUC;AAWM,MAAM,0DAAkB,CAAA,GAAA,sCAAI,EAAE,aAAa,CAAuB;AAElE,SAAS;IACd,OAAO,CAAA,GAAA,uBAAS,EAAE;AACpB","sources":["packages/@adobe/react-spectrum/src/card/CardViewContext.tsx"],"sourcesContent":["// @ts-nocheck\n/*\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 React, {useContext} from 'react';\n\nexport interface CardViewContextValue {\n  state: 'idle' | 'loading' | 'error',\n  isQuiet: boolean,\n  layout: 'grid' | 'gallery' | 'waterfall',\n  cardOrientation: 'horizontal' | 'vertical',\n  renderEmptyState: () => React.ReactNode\n}\nexport const CardViewContext = React.createContext<CardViewContextValue>(null);\n\nexport function useCardViewContext(): CardViewContextValue | null {\n  return useContext(CardViewContext);\n}\n"],"names":[],"version":3,"file":"CardViewContext.cjs.map"}