import React from "react"; import { css, cx } from "emotion"; import { Badge, Box, Flex, IconButton, Skeleton, Tooltip, useColorModeValue, useTheme, } from "@chakra-ui/core"; import { EditIcon, DeleteIcon, InfoIcon, NotAllowedIcon, } from "@chakra-ui/icons"; import loadable from "@loadable/component"; import { ItemCardContent, ItemBadgeList, ItemBadgeTooltip, NcBadge, NpBadge, } from "../components/ItemCard"; import SupportOnly from "./support/SupportOnly"; const LoadableItemSupportDrawer = loadable(() => import("./support/ItemSupportDrawer") ); /** * Item show a basic summary of an item, in the context of the current outfit! * * It also responds to the focus state of an `input` as its previous sibling. * This will be an invisible radio/checkbox that controls the actual wear * state. * * In fact, this component can't trigger wear or unwear events! When you click * it in the app, you're actually clicking a