[UI] Extract our ColorSample and Tag components from twenty-front to twenty-ui. (#5543)

Two more components extracted out of twenty-front: `ColorSample` and
`Tag`.
This commit is contained in:
Abdullah
2024-05-23 10:46:31 +05:00
committed by GitHub
parent 6b1d4e0744
commit b8eef21343
21 changed files with 66 additions and 65 deletions

View File

@ -2,6 +2,7 @@ import { useMemo } from 'react';
import { useTheme } from '@emotion/react';
import styled from '@emotion/styled';
import {
ColorSample,
IconCheck,
IconDotsVertical,
IconGripVertical,
@ -12,7 +13,6 @@ import { v4 } from 'uuid';
import { FieldMetadataItemOption } from '@/object-metadata/types/FieldMetadataItem';
import { getOptionValueFromLabel } from '@/settings/data-model/fields/forms/utils/getOptionValueFromLabel';
import { ColorSample } from '@/ui/display/color/components/ColorSample';
import { LightIconButton } from '@/ui/input/button/components/LightIconButton';
import { TextInput } from '@/ui/input/components/TextInput';
import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown';