UNPKG

@plteam/chat-ui

Version:

CUI Kit is a free and open-source library for creating AI assistant chat interfaces, built with React, Material UI, and TypeScript

96 lines (95 loc) 7.29 kB
import createSvgIcon from "@mui/material/utils/createSvgIcon"; import { jsx } from "react/jsx-runtime"; export const AddAPhotoIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M21 6h-3.17l-.59-.65L16 4h-4l-.59.65L10.17 6H7a2 2 0 00-2 2v12a2 2 0 002 2h14a2 2 0 002-2V8a2 2 0 00-2-2zm-6 10h-2v2h-2v-2H9v-2h2v-2h2v2h2v2zm-3-5a4 4 0 110-8 4 4 0 010 8z" }), 'AddAPhoto'); export const AddIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z" }), 'Add'); export const ArrowBackIosIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M11.67 3.87 9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z" }), 'ArrowBackIos'); export const ArrowDropDown = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "m7 10 5 5 5-5z" }), 'ArrowDropDown'); export const ArrowForwardIosIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z" }), 'ArrowForwardIos'); export const ArrowUpwardIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z" }), 'ArrowUpward'); export const AttachFileIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6H10v9.5c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5V5c0-2.21-1.79-4-4-4S7 2.79 7 5v12.5c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5V6z" }), 'AttachFile'); export const CloseIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }), 'Close'); export const CloseRoundedIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4" }), 'CloseRounded'); export const CodeIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z" }), 'Code'); export const ContentCopyIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z" }), 'ContentCopy'); export const DeleteIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z" }), 'Delete'); export const EditIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z" }), 'Edit'); export const FolderIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M10 4H4a2 2 0 00-2 2v12c0 1.1.9 2 2 2h16a2 2 0 002-2V8a2 2 0 00-2-2h-8l-2-2z" }), 'Folder'); export const HtmlIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M3.5 9H5v6H3.5v-2.5h-2V15H0V9h1.5v2h2zm14 0H13c-.55 0-1 .45-1 1v5h1.5v-4.5h1V14H16v-3.51h1V15h1.5v-5c0-.55-.45-1-1-1M11 9H6v1.5h1.75V15h1.5v-4.5H11zm13 6v-1.5h-2.5V9H20v6z" }), 'Html'); export const MenuIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" }), 'Menu'); export const MoreVertIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2" }), 'MoreVert'); export const PhotoCameraIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M14.12 4l-1.83-2h-2.58l-1.83 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-5.88zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8.5A3.5 3.5 0 1 0 15.5 12 3.5 3.5 0 0 0 12 8.5z" }), 'PhotoCamera'); export const StopIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M6 6h12v12H6z" }), 'Stop'); export const ThumbDownIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2m4 0v12h4V3z" }), 'ThumbDown'); export const ThumbDownOutlinedIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2m0 12-4.34 4.34L12 14H3v-2l3-7h9zm4-12h4v12h-4z" }), 'ThumbDownOutlined'); export const ThumbUpAltIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M2 20h2c.55 0 1-.45 1-1v-9c0-.55-.45-1-1-1H2zm19.83-7.12c.11-.25.17-.52.17-.8V11c0-1.1-.9-2-2-2h-5.5l.92-4.65c.05-.22.02-.46-.08-.66-.23-.45-.52-.86-.88-1.22L14 2 7.59 8.41C7.21 8.79 7 9.3 7 9.83v7.84C7 18.95 8.05 20 9.34 20h8.11c.7 0 1.36-.37 1.72-.97z" }), 'ThumbUpAlt'); export const ThumbUpAltOutlinedIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M21 8h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2c0-1.1-.9-2-2-2m0 4-3 7H9V9l4.34-4.34L12.23 10H21zM1 9h4v12H1z" }), 'ThumbUpAltOutlined'); export const InsertDriveFileIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z" }), 'InsertDriveFile'); export const VideoFileIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M14 2H6.01c-1.1 0-2 .89-2 2L4 20c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8zm-1 7V3.5L18.5 9zm1 5 2-1.06v4.12L14 16v1c0 .55-.45 1-1 1H9c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1h4c.55 0 1 .45 1 1z" }), 'VideoFile'); export const AudioFileIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm2 11h-3v3.75c0 1.24-1.01 2.25-2.25 2.25S8.5 17.99 8.5 16.75s1.01-2.25 2.25-2.25c.46 0 .89.14 1.25.38V11h4zm-3-4V3.5L18.5 9z" }), 'AudioFile'); export const DescriptionIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm2 16H8v-2h8zm0-4H8v-2h8zm-3-5V3.5L18.5 9z" }), 'Description'); export const ErrorOutlineOutlinedIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8" }), 'ErrorOutlineOutlined'); export const UnfoldMoreIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M12 5.83 15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15z" }), 'UnfoldMore'); export const UnfoldLessIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M7.41 18.59 8.83 20 12 16.83 15.17 20l1.41-1.41L12 14zm9.18-13.18L15.17 4 12 7.17 8.83 4 7.41 5.41 12 10z" }), 'UnfoldLess'); export const SettingsIcon = createSvgIcon(/*#__PURE__*/ jsx("path", { d: "M3 17v2h6v-2zM3 5v2h10V5zm10 16v-2h8v-2h-8v-2h-2v6zM7 9v2H3v2h4v2h2V9zm14 4v-2H11v2zm-6-4h2V7h4V5h-4V3h-2z", }), 'Settings');