cr-ui-lib 1.1.40 → 1.1.42
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 +10 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
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
|
{
|
|
@@ -3257,7 +3258,8 @@ var SingleListInput = ({
|
|
|
3257
3258
|
label,
|
|
3258
3259
|
buttonClass = "",
|
|
3259
3260
|
labelClass = "",
|
|
3260
|
-
inputClass = ""
|
|
3261
|
+
inputClass = "",
|
|
3262
|
+
displayItemClass = ""
|
|
3261
3263
|
}) => {
|
|
3262
3264
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
3263
3265
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -3281,7 +3283,10 @@ var SingleListInput = ({
|
|
|
3281
3283
|
formValues.map((id) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3282
3284
|
"div",
|
|
3283
3285
|
{
|
|
3284
|
-
className:
|
|
3286
|
+
className: tailwindMerge.twMerge(
|
|
3287
|
+
"flex border-custom-gray items-center px-2 py-1 bg-white text-gray-700 rounded-md text-xs font-medium",
|
|
3288
|
+
displayItemClass
|
|
3289
|
+
),
|
|
3285
3290
|
children: [
|
|
3286
3291
|
id,
|
|
3287
3292
|
/* @__PURE__ */ jsxRuntime.jsx(
|