cr-ui-lib 1.1.74 → 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 +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +8 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -194,6 +194,8 @@ interface MultipleAutoSuggestionInputProps {
|
|
|
194
194
|
hasIcon?: boolean;
|
|
195
195
|
iconClass?: string;
|
|
196
196
|
removeIconClassSize?: number;
|
|
197
|
+
iconDropdownSize?: string;
|
|
198
|
+
removeIcon?: any;
|
|
197
199
|
}
|
|
198
200
|
declare const MultipleAutoSuggestionInput: React$1.FC<MultipleAutoSuggestionInputProps>;
|
|
199
201
|
|
package/dist/index.d.ts
CHANGED
|
@@ -194,6 +194,8 @@ interface MultipleAutoSuggestionInputProps {
|
|
|
194
194
|
hasIcon?: boolean;
|
|
195
195
|
iconClass?: string;
|
|
196
196
|
removeIconClassSize?: number;
|
|
197
|
+
iconDropdownSize?: string;
|
|
198
|
+
removeIcon?: any;
|
|
197
199
|
}
|
|
198
200
|
declare const MultipleAutoSuggestionInput: React$1.FC<MultipleAutoSuggestionInputProps>;
|
|
199
201
|
|
package/dist/index.js
CHANGED
|
@@ -3044,7 +3044,9 @@ var MultipleAutoSuggestionInput = ({
|
|
|
3044
3044
|
placeholder = "Type or select...",
|
|
3045
3045
|
hasIcon = false,
|
|
3046
3046
|
iconClass = "",
|
|
3047
|
-
removeIconClassSize = 14
|
|
3047
|
+
removeIconClassSize = 14,
|
|
3048
|
+
iconDropdownSize = "20",
|
|
3049
|
+
removeIcon
|
|
3048
3050
|
}) => {
|
|
3049
3051
|
var _a;
|
|
3050
3052
|
const [filteredOptions, setFilteredOptions] = React.useState(options);
|
|
@@ -3252,7 +3254,7 @@ var MultipleAutoSuggestionInput = ({
|
|
|
3252
3254
|
"ml-1 text-gray-500 hover:text-gray-700",
|
|
3253
3255
|
removeIconClass
|
|
3254
3256
|
),
|
|
3255
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3257
|
+
children: removeIcon ? removeIcon : /* @__PURE__ */ jsxRuntime.jsx(
|
|
3256
3258
|
"svg",
|
|
3257
3259
|
{
|
|
3258
3260
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3301,8 +3303,8 @@ var MultipleAutoSuggestionInput = ({
|
|
|
3301
3303
|
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3302
3304
|
"svg",
|
|
3303
3305
|
{
|
|
3304
|
-
width:
|
|
3305
|
-
height:
|
|
3306
|
+
width: iconDropdownSize,
|
|
3307
|
+
height: iconDropdownSize,
|
|
3306
3308
|
viewBox: "0 0 20 20",
|
|
3307
3309
|
fill: "none",
|
|
3308
3310
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3317,8 +3319,8 @@ var MultipleAutoSuggestionInput = ({
|
|
|
3317
3319
|
/* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_10508_5931", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3318
3320
|
"rect",
|
|
3319
3321
|
{
|
|
3320
|
-
width:
|
|
3321
|
-
height:
|
|
3322
|
+
width: iconDropdownSize,
|
|
3323
|
+
height: iconDropdownSize,
|
|
3322
3324
|
fill: "white",
|
|
3323
3325
|
transform: "matrix(1 0 0 -1 0 20)"
|
|
3324
3326
|
}
|