{"version":3,"file":"ListItemContext.mjs","sources":["../../src/listItem/ListItemContext.tsx"],"sourcesContent":["import { createContext } from 'react';\nimport type { ListItemTypes, ListItemControlProps, ListItemProps } from './ListItem';\n\nexport type ListItemMediaSize = 24 | 32 | 40 | 48 | 56 | 72;\n\nexport type ListItemContextData = {\n  setControlType: (type: ListItemTypes) => void;\n  setControlProps: (props: ListItemControlProps) => void;\n  setMediaSize: (size: ListItemMediaSize | undefined) => void;\n  ids: {\n    title: string;\n    subtitle?: string;\n    valueTitle?: string;\n    valueSubtitle?: string;\n    additionalInfo?: string;\n    control: string;\n    prompt?: string;\n  };\n  props: Pick<ListItemProps, 'disabled' | 'inverted' | 'disabledPromptMessage'>;\n  mediaSize?: ListItemMediaSize;\n  isPartiallyInteractive?: boolean;\n  describedByIds: string;\n};\n\nexport const ListItemContext = createContext<ListItemContextData>(\n  null as unknown as ListItemContextData,\n);\n"],"names":["ListItemContext","createContext"],"mappings":";;MAwBaA,eAAe,gBAAGC,aAAa,CAC1C,IAAsC;;;;"}