cr-ui-lib 1.1.40 → 1.1.41
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.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3089,8 +3089,9 @@ var MultipleAutoSuggestionInput = ({
|
|
|
3089
3089
|
"div",
|
|
3090
3090
|
{
|
|
3091
3091
|
className: tailwindMerge.twMerge(
|
|
3092
|
-
"border border-[#E2E2E2] focus-within:border-[#4683B4] rounded-lg p-1.5 bg-[#F8F8F8] cursor-pointer flex flex-wrap items-center gap-2 min-h-[2.5rem]",
|
|
3093
|
-
buttonClass
|
|
3092
|
+
"relative border border-[#E2E2E2] focus-within:border-[#4683B4] rounded-lg p-1.5 bg-[#F8F8F8] cursor-pointer flex flex-wrap items-center gap-2 min-h-[2.5rem]",
|
|
3093
|
+
buttonClass,
|
|
3094
|
+
`${hasIcon && " pr-[20px]"}`
|
|
3094
3095
|
),
|
|
3095
3096
|
children: [
|
|
3096
3097
|
isMulti && Array.isArray(selectedList) ? selectedList.map((itemKey) => {
|
|
@@ -3206,7 +3207,7 @@ var MultipleAutoSuggestionInput = ({
|
|
|
3206
3207
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3207
3208
|
"div",
|
|
3208
3209
|
{
|
|
3209
|
-
className: `transition-transform duration-200 ${!isDropdownOpen ? "rotate-180" : ""} ${hasIcon ? "block" : "hidden"} `,
|
|
3210
|
+
className: `absolute top-[4px] right-[4px] transition-transform duration-200 ${!isDropdownOpen ? "rotate-180" : ""} ${hasIcon ? "block" : "hidden"} `,
|
|
3210
3211
|
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3211
3212
|
"svg",
|
|
3212
3213
|
{
|