{"version":3,"file":"VisualList.cjs","names":[],"sources":["../../../src/components/VisualList/VisualList.tsx"],"sourcesContent":["/*\nCopyright 2024 New Vector Ltd.\n\nSPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial\nPlease see LICENSE files in the repository root for full details.\n*/\n\nimport React, { type JSX, type PropsWithChildren } from \"react\";\nimport styles from \"./VisualList.module.css\";\nimport classNames from \"classnames\";\n\ninterface VisualListProps extends React.HTMLProps<HTMLUListElement> {\n  /**\n   * The CSS class name.\n   */\n  className?: string;\n}\n\n/**\n * A list component.\n */\nexport function VisualList({\n  className,\n  children,\n  ...props\n}: PropsWithChildren<VisualListProps>): JSX.Element {\n  return (\n    <ul className={classNames(styles[\"visual-list\"], className)} {...props}>\n      {children}\n    </ul>\n  );\n}\n"],"mappings":";;;;;;;;;;;AAqBA,SAAgB,WAAW,EACzB,WACA,UACA,GAAG,SAC+C;AAClD,QACE,iBAAA,GAAA,kBAAA,KAAC,MAAD;EAAI,YAAA,GAAA,WAAA,SAAsB,0BAAA,QAAO,gBAAgB,UAAU;EAAE,GAAI;EAC9D;EACE,CAAA"}