@konoma-development/react-components 0.2.5 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -14770,12 +14770,19 @@ function TagList({
|
|
|
14770
14770
|
errorClasses = baseClasses$6.errorClasses,
|
|
14771
14771
|
classesError = baseClasses$6.classesError,
|
|
14772
14772
|
classesNeutral = baseClasses$6.classesNeutral,
|
|
14773
|
+
disabled,
|
|
14773
14774
|
label,
|
|
14774
14775
|
error,
|
|
14775
14776
|
required,
|
|
14776
14777
|
values,
|
|
14777
14778
|
dataTestId,
|
|
14778
14779
|
addTagTitle = "",
|
|
14780
|
+
deleteIconName,
|
|
14781
|
+
deleteIconPath,
|
|
14782
|
+
addIconName,
|
|
14783
|
+
addIconPath,
|
|
14784
|
+
allowDelete = true,
|
|
14785
|
+
allowNew = true,
|
|
14779
14786
|
onChange = () => {
|
|
14780
14787
|
return;
|
|
14781
14788
|
},
|
|
@@ -14800,17 +14807,18 @@ function TagList({
|
|
|
14800
14807
|
{
|
|
14801
14808
|
title: value.toString(),
|
|
14802
14809
|
onClick: () => onChange(value),
|
|
14803
|
-
"
|
|
14804
|
-
|
|
14810
|
+
iconRightName: !disabled && allowDelete ? deleteIconName || "heroicons:x-mark-16-solid" : void 0,
|
|
14811
|
+
iconRightPath: !disabled && allowDelete ? deleteIconPath : void 0,
|
|
14812
|
+
"data-testid": dataTestId
|
|
14805
14813
|
},
|
|
14806
14814
|
i
|
|
14807
14815
|
)),
|
|
14808
|
-
/* @__PURE__ */ jsx(
|
|
14816
|
+
!disabled && allowNew && /* @__PURE__ */ jsx(
|
|
14809
14817
|
Tag,
|
|
14810
14818
|
{
|
|
14811
14819
|
title: addTagTitle,
|
|
14812
|
-
iconLeftName: "heroicons:plus-16-solid",
|
|
14813
|
-
|
|
14820
|
+
iconLeftName: addIconName || "heroicons:plus-16-solid",
|
|
14821
|
+
iconLeftPath: addIconPath,
|
|
14814
14822
|
wrapperClasses: "flex flex-row h-6 cursor-pointer items-center justify-center gap-1 rounded-krc-tag-list-add border border-secondary-300 px-3 py-1 bg-white",
|
|
14815
14823
|
onClick: () => onChange("")
|
|
14816
14824
|
}
|
|
@@ -22594,6 +22602,8 @@ function Table({
|
|
|
22594
22602
|
sortingAscIconPath,
|
|
22595
22603
|
sortingDescIconName,
|
|
22596
22604
|
sortingDescIconPath,
|
|
22605
|
+
removeFilterIconName,
|
|
22606
|
+
removeFilterIconPath,
|
|
22597
22607
|
onDragRow = () => {
|
|
22598
22608
|
return;
|
|
22599
22609
|
},
|
|
@@ -22824,7 +22834,8 @@ function Table({
|
|
|
22824
22834
|
},
|
|
22825
22835
|
isClearable: true,
|
|
22826
22836
|
className: "h-10",
|
|
22827
|
-
iconRightName: filters[column.filterKey] ? "heroicons:x-mark" : ""
|
|
22837
|
+
iconRightName: filters[column.filterKey] ? removeFilterIconName || "heroicons:x-mark" : "",
|
|
22838
|
+
iconRightPath: filters[column.filterKey] ? removeFilterIconPath : ""
|
|
22828
22839
|
},
|
|
22829
22840
|
filters[column.filterKey]?.join(", ")
|
|
22830
22841
|
) })
|