import { XrayIcon, HelpIcon } from 'shared/components/icons.mjs' import { linkClasses, Chevron } from 'shared/components/navigation/primary.mjs' import { ConsoleLog } from './log.mjs' import { XrayReset } from './reset.mjs' import { XrayList } from './list.mjs' import { useTranslation } from 'next-i18next' import { Collapse } from 'shared/components/collapse.mjs' import { ChoiceButton } from 'shared/components/choice-button.mjs' import { Popout } from 'shared/components/popout.mjs' export const ns = ['xray'] export const XrayMenu = ({ design, update, settings, ui }) => { const { t } = useTranslation(ns) const toggleXray = () => update.ui(['xray', 'enabled'], ui?.xray?.enabled ? false : true) return ( {t('xray:xrayPattern')} } openTitle={t('xray:xrayPattern')} openButtons={[ , ]} > Implement X-Ray {t(`xray:yes.t`)} {t(`xray:no.t`)} {ui?.xray?.enabled && ( <>

xray here

)}
) } // // //{settings.xray.parts && // Object.keys(settings.xray.parts).map((partName) => ( // // ))}