@konoma-development/react-components 0.2.5 → 0.2.6
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.
|
@@ -14776,6 +14776,10 @@ function TagList({
|
|
|
14776
14776
|
values,
|
|
14777
14777
|
dataTestId,
|
|
14778
14778
|
addTagTitle = "",
|
|
14779
|
+
deleteIconName,
|
|
14780
|
+
deleteIconPath,
|
|
14781
|
+
addIconName,
|
|
14782
|
+
addIconPath,
|
|
14779
14783
|
onChange = () => {
|
|
14780
14784
|
return;
|
|
14781
14785
|
},
|
|
@@ -14801,7 +14805,8 @@ function TagList({
|
|
|
14801
14805
|
title: value.toString(),
|
|
14802
14806
|
onClick: () => onChange(value),
|
|
14803
14807
|
"data-testid": dataTestId,
|
|
14804
|
-
iconRightName: "heroicons:x-mark-16-solid"
|
|
14808
|
+
iconRightName: deleteIconName || "heroicons:x-mark-16-solid",
|
|
14809
|
+
iconRightPath: deleteIconPath
|
|
14805
14810
|
},
|
|
14806
14811
|
i
|
|
14807
14812
|
)),
|
|
@@ -14809,7 +14814,8 @@ function TagList({
|
|
|
14809
14814
|
Tag,
|
|
14810
14815
|
{
|
|
14811
14816
|
title: addTagTitle,
|
|
14812
|
-
iconLeftName: "heroicons:plus-16-solid",
|
|
14817
|
+
iconLeftName: addIconName || "heroicons:plus-16-solid",
|
|
14818
|
+
iconLeftPath: addIconPath,
|
|
14813
14819
|
"data-testid": dataTestId,
|
|
14814
14820
|
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
14821
|
onClick: () => onChange("")
|
|
@@ -22594,6 +22600,8 @@ function Table({
|
|
|
22594
22600
|
sortingAscIconPath,
|
|
22595
22601
|
sortingDescIconName,
|
|
22596
22602
|
sortingDescIconPath,
|
|
22603
|
+
removeFilterIconName,
|
|
22604
|
+
removeFilterIconPath,
|
|
22597
22605
|
onDragRow = () => {
|
|
22598
22606
|
return;
|
|
22599
22607
|
},
|
|
@@ -22824,7 +22832,8 @@ function Table({
|
|
|
22824
22832
|
},
|
|
22825
22833
|
isClearable: true,
|
|
22826
22834
|
className: "h-10",
|
|
22827
|
-
iconRightName: filters[column.filterKey] ? "heroicons:x-mark" : ""
|
|
22835
|
+
iconRightName: filters[column.filterKey] ? removeFilterIconName || "heroicons:x-mark" : "",
|
|
22836
|
+
iconRightPath: filters[column.filterKey] ? removeFilterIconPath : ""
|
|
22828
22837
|
},
|
|
22829
22838
|
filters[column.filterKey]?.join(", ")
|
|
22830
22839
|
) })
|