2021-02-04 19:15:23 +01:00
|
|
|
import Button from '../../ui/button';
|
|
|
|
import Chip from '../../ui/chip';
|
|
|
|
import DefinitionList from '../../ui/definition-list';
|
|
|
|
import TruncatedDefinitionList from '../../ui/truncated-definition-list';
|
|
|
|
import Popover from '../../ui/popover';
|
|
|
|
import Typography from '../../ui/typography';
|
|
|
|
import Box from '../../ui/box';
|
2021-02-12 18:24:50 +01:00
|
|
|
import MetaMaskTranslation from '../metamask-translation';
|
2021-02-22 17:20:42 +01:00
|
|
|
import NetworkDisplay from '../network-display';
|
2022-01-31 19:41:07 +01:00
|
|
|
import TextArea from '../../ui/textarea/textarea';
|
2022-12-01 16:46:06 +01:00
|
|
|
import TextField from '../../ui/text-field';
|
2022-04-25 20:28:52 +02:00
|
|
|
import ConfirmationNetworkSwitch from '../../../pages/confirmation/components/confirmation-network-switch';
|
2022-06-30 18:19:07 +02:00
|
|
|
import UrlIcon from '../../ui/url-icon';
|
|
|
|
import Tooltip from '../../ui/tooltip/tooltip';
|
2023-07-12 10:29:54 +02:00
|
|
|
import { AvatarIcon } from '../../component-library';
|
|
|
|
import ActionableMessage from '../../ui/actionable-message/actionable-message';
|
2023-04-25 16:32:51 +02:00
|
|
|
///: BEGIN:ONLY_INCLUDE_IN(snaps)
|
|
|
|
import { SnapDelineator } from '../snaps/snap-delineator';
|
|
|
|
import { Copyable } from '../snaps/copyable';
|
2022-12-09 13:05:31 +01:00
|
|
|
import Spinner from '../../ui/spinner';
|
2023-04-25 16:32:51 +02:00
|
|
|
import { SnapUIMarkdown } from '../snaps/snap-ui-markdown';
|
2022-12-01 16:46:06 +01:00
|
|
|
///: END:ONLY_INCLUDE_IN
|
2021-02-02 19:14:04 +01:00
|
|
|
|
|
|
|
export const safeComponentList = {
|
2021-02-22 17:20:42 +01:00
|
|
|
a: 'a',
|
2023-07-12 10:29:54 +02:00
|
|
|
ActionableMessage,
|
|
|
|
AvatarIcon,
|
2021-02-02 19:14:04 +01:00
|
|
|
b: 'b',
|
2022-12-01 16:46:06 +01:00
|
|
|
Box,
|
|
|
|
Button,
|
2021-02-02 19:14:04 +01:00
|
|
|
Chip,
|
2022-12-01 16:46:06 +01:00
|
|
|
ConfirmationNetworkSwitch,
|
2021-02-02 19:14:04 +01:00
|
|
|
DefinitionList,
|
2023-07-12 10:29:54 +02:00
|
|
|
div: 'div',
|
|
|
|
i: 'i',
|
2022-12-01 16:46:06 +01:00
|
|
|
MetaMaskTranslation,
|
2021-02-22 17:20:42 +01:00
|
|
|
NetworkDisplay,
|
2023-07-12 10:29:54 +02:00
|
|
|
p: 'p',
|
2022-12-01 16:46:06 +01:00
|
|
|
Popover,
|
2023-07-12 10:29:54 +02:00
|
|
|
span: 'span',
|
2022-01-31 19:41:07 +01:00
|
|
|
TextArea,
|
2022-12-01 16:46:06 +01:00
|
|
|
TextField,
|
2022-06-30 18:19:07 +02:00
|
|
|
Tooltip,
|
2022-12-01 16:46:06 +01:00
|
|
|
TruncatedDefinitionList,
|
|
|
|
Typography,
|
|
|
|
UrlIcon,
|
2023-04-25 16:32:51 +02:00
|
|
|
///: BEGIN:ONLY_INCLUDE_IN(snaps)
|
2022-12-01 16:46:06 +01:00
|
|
|
Copyable,
|
2023-07-12 10:29:54 +02:00
|
|
|
SnapDelineator,
|
2022-12-13 15:37:20 +01:00
|
|
|
SnapUIMarkdown,
|
2023-07-12 10:29:54 +02:00
|
|
|
Spinner,
|
2022-12-01 16:46:06 +01:00
|
|
|
///: END:ONLY_INCLUDE_IN
|
2021-02-04 19:15:23 +01:00
|
|
|
};
|