cr-ui-lib 1.1.110 → 1.1.111
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 +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -0
- 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
|
@@ -3740,9 +3740,11 @@ function SingleSelectDropdown({
|
|
|
3740
3740
|
{
|
|
3741
3741
|
className: tailwindMerge.twMerge(
|
|
3742
3742
|
`h-[40px] px-2 py-2 my-1 text-sm cursor-pointer select-none rounded-md hover:bg-gray-100 ${opt.id === value ? "bg-[#ECF3F7] font-semibold" + selectedColorDropdownItem : "text-[#131414]"}`,
|
|
3743
|
+
opt.isDisabled ? "opacity-50" : "",
|
|
3743
3744
|
displayItemClass
|
|
3744
3745
|
),
|
|
3745
3746
|
onClick: () => {
|
|
3747
|
+
if (opt.isDisabled) return;
|
|
3746
3748
|
onChange(opt.id);
|
|
3747
3749
|
setIsOpen(false);
|
|
3748
3750
|
if (uniqueSearch) {
|