Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarlosn committed Jul 5, 2024
2 parents 4b64518 + a4695f8 commit 3c42258
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/protoflow/src/fields/ColorFields.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export default ({ nodeData = {}, node, item }) => {
width: "28px", height: "28px", cursor: 'pointer',
backgroundColor: getColorPreview(),
borderRadius: 4, zIndex: 10, position: 'absolute', marginLeft: '5px',
border: !value ? '1px solid ' + textColor : '', top: '13px'
border: !value ? '1px solid ' + textColor : '', top: '-13px'
}}
>
</div>
Expand Down
2 changes: 1 addition & 1 deletion packages/protoflow/src/fields/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const CustomField = ({ label, input, menuActions = undefined }: any) => {
<Popover.Trigger>
<div
onClick={() => setMenuOpened(true)}
style={{ padding: '4px', justifyContent: 'center', cursor: 'pointer', position: 'absolute', right: 0, alignSelf: 'center', zIndex: 10 }}
style={{ padding: '4px', justifyContent: 'center', cursor: 'pointer', position: 'absolute', right: -10, top: 2, alignSelf: 'center', zIndex: 10 }}
>
<MoreVertical size={16} color={useTheme('textColor')} />
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Button, Stack, XStack } from "tamagui";
import { Pencil, X, Tags, Layers } from '@tamagui/lucide-icons';
import { Tinted } from 'protolib'
import { Pencil, Tags, Layers } from '@tamagui/lucide-icons';
import { Tinted } from 'protolib/components/Tinted';
import { DeleteButton, FormGroup, getDefaultValue, iconStyle } from ".";

export const ArrayComp = ({ ele, elementDef, icon, path, arrData, getElement, setFormData, data, setData, mode, customFields, URLTransform }) => {
Expand Down
5 changes: 4 additions & 1 deletion packages/protolib/components/EditableObject/Element.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { Input, Stack, Switch, SizableText } from "tamagui";
import { API, Tinted, SelectList, SimpleSlider, DatePicker } from 'protolib'
import { Tinted } from 'protolib/components/Tinted';
import { SelectList } from 'protolib/components/SelectList';
import { SimpleSlider } from 'protolib/components/SimpleSlider';
import { DatePicker } from 'protolib/components/datepickers/dateParts';
import { InputColor } from "../InputColor";
import { SearchAndSelect } from "../SearchAndSelect";
import { FormElement } from ".";
Expand Down

0 comments on commit 3c42258

Please sign in to comment.