diff --git a/packages/components/src/form/ListInput/ListInput.js b/packages/components/src/form/ListInput/ListInput.js
index 830a7fe14..bd66934e1 100644
--- a/packages/components/src/form/ListInput/ListInput.js
+++ b/packages/components/src/form/ListInput/ListInput.js
@@ -2,7 +2,7 @@ import React, { useEffect, useState } from 'react';
import { v4 as uuidv4 } from 'uuid';
import PropTypes from 'prop-types';
import { findIndex, isFunction, map } from 'lodash';
-import { AddCircleIcon } from '@bubbles-ui/icons/outline';
+import { AddCircleIcon } from '@bubbles-ui/icons/solid';
import { useId } from '@mantine/hooks';
import { Box } from '../../layout';
import { ListInputStyles } from './ListInput.styles';
diff --git a/packages/components/src/form/MultiSelect/MultiSelect.js b/packages/components/src/form/MultiSelect/MultiSelect.js
index b37472b60..076bc59e3 100644
--- a/packages/components/src/form/MultiSelect/MultiSelect.js
+++ b/packages/components/src/form/MultiSelect/MultiSelect.js
@@ -99,7 +99,7 @@ const MultiSelect = forwardRef(
// TODO: MEGATODO Por culpa de maxSelectedValues hemos tenido que repintar el MultiSelect de mantine.
React.useEffect(() => {
- if (!value || !value.length) {
+ if (!value?.length) {
setShow(false);
setTimeout(() => {
setShow(true);
diff --git a/packages/components/src/form/MultiSelect/MultiSelect.stories.js b/packages/components/src/form/MultiSelect/MultiSelect.stories.js
index d4f72a847..8829065ef 100644
--- a/packages/components/src/form/MultiSelect/MultiSelect.stories.js
+++ b/packages/components/src/form/MultiSelect/MultiSelect.stories.js
@@ -3,7 +3,7 @@ import { StarIcon } from '@bubbles-ui/icons/solid';
import { RemoveIcon } from '@bubbles-ui/icons/outline';
import { Stack, Box } from '../../layout';
import { UserDisplayItem } from '../../informative';
-import { ActionButton } from '../../form';
+import { ActionButton } from '../ActionButton';
import { MultiSelect } from './MultiSelect';
import {
MULTI_SELECT_DEFAULT_PROPS,
@@ -34,19 +34,17 @@ export default {
};
const Template = ({ children, data, useValueComponent, onChange, showIcon, ...props }) => {
- const CustomValueComponent = forwardRef(({ label, onRemove }, ref) => {
+ const CustomValueComponent = forwardRef(({ label, onRemove }, ref) => (
// return ;
- return (
- ({ paddingRight: theme.spacing[1] })}>
-
- {onRemove ? (
-
- } onClick={() => onRemove(value)} />
-
- ) : null}
-
- );
- });
+ ({ paddingRight: theme.spacing[1] })}>
+
+ {onRemove ? (
+
+ } onClick={() => onRemove(value)} />
+
+ ) : null}
+
+ ));
const [state, setState] = useState([]);
const [value, setValue] = useState([]);
@@ -102,6 +100,7 @@ Playground.args = {
value: 'Homer Simpson',
description: 'Overweight, lazy, and often ignorant',
group: 'Group 1',
+ disabled: true,
},
{
image: 'https://img.icons8.com/clouds/256/000000/spongebob-squarepants.png',
diff --git a/packages/components/src/form/TableInput/TableInputRow.js b/packages/components/src/form/TableInput/TableInputRow.js
index ad8eb237f..766e7ccd3 100644
--- a/packages/components/src/form/TableInput/TableInputRow.js
+++ b/packages/components/src/form/TableInput/TableInputRow.js
@@ -1,9 +1,15 @@
import React, { useState } from 'react';
import PropTypes from 'prop-types';
import { get, isFunction } from 'lodash';
-import { CheckIcon, DeleteBinIcon, DeleteIcon, EditWriteIcon } from '@bubbles-ui/icons/solid';
+import {
+ CheckIcon,
+ DeleteBinIcon,
+ DeleteIcon,
+ EditWriteIcon,
+ AddCircleIcon,
+} from '@bubbles-ui/icons/solid';
import { Controller, useForm } from 'react-hook-form';
-import { SortDragIcon, AddCircleIcon } from '@bubbles-ui/icons/outline';
+import { SortDragIcon } from '@bubbles-ui/icons/outline';
import { Draggable } from 'react-beautiful-dnd';
import { Box } from '../../layout/Box';
import { TableCell } from '../../informative/Table/TableCell/TableCell';
@@ -155,7 +161,10 @@ const TableInputRow = ({
{getColumCellValue(cell)}
))}
-
+ |
{editing ? (
<>
(
- |