cr-ui-lib 1.1.75 → 1.1.76
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.
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -195,6 +195,7 @@ interface MultipleAutoSuggestionInputProps {
|
|
|
195
195
|
iconClass?: string;
|
|
196
196
|
removeIconClassSize?: number;
|
|
197
197
|
iconDropdownSize?: string;
|
|
198
|
+
removeIcon?: any;
|
|
198
199
|
}
|
|
199
200
|
declare const MultipleAutoSuggestionInput: React$1.FC<MultipleAutoSuggestionInputProps>;
|
|
200
201
|
|
package/dist/index.d.ts
CHANGED
|
@@ -195,6 +195,7 @@ interface MultipleAutoSuggestionInputProps {
|
|
|
195
195
|
iconClass?: string;
|
|
196
196
|
removeIconClassSize?: number;
|
|
197
197
|
iconDropdownSize?: string;
|
|
198
|
+
removeIcon?: any;
|
|
198
199
|
}
|
|
199
200
|
declare const MultipleAutoSuggestionInput: React$1.FC<MultipleAutoSuggestionInputProps>;
|
|
200
201
|
|
package/dist/index.js
CHANGED
|
@@ -3045,7 +3045,8 @@ var MultipleAutoSuggestionInput = ({
|
|
|
3045
3045
|
hasIcon = false,
|
|
3046
3046
|
iconClass = "",
|
|
3047
3047
|
removeIconClassSize = 14,
|
|
3048
|
-
iconDropdownSize = "20"
|
|
3048
|
+
iconDropdownSize = "20",
|
|
3049
|
+
removeIcon
|
|
3049
3050
|
}) => {
|
|
3050
3051
|
var _a;
|
|
3051
3052
|
const [filteredOptions, setFilteredOptions] = React.useState(options);
|
|
@@ -3253,7 +3254,7 @@ var MultipleAutoSuggestionInput = ({
|
|
|
3253
3254
|
"ml-1 text-gray-500 hover:text-gray-700",
|
|
3254
3255
|
removeIconClass
|
|
3255
3256
|
),
|
|
3256
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3257
|
+
children: removeIcon ? removeIcon : /* @__PURE__ */ jsxRuntime.jsx(
|
|
3257
3258
|
"svg",
|
|
3258
3259
|
{
|
|
3259
3260
|
xmlns: "http://www.w3.org/2000/svg",
|