property-practice-ui 0.1.2 → 0.1.4
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/CHANGELOG.md +12 -0
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Tabs/Tabs.tsx +1 -1
- package/src/molecules/Dropdown/Dropdown.tsx +1 -1
- package/tsup.config.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -1075,7 +1075,7 @@ var Dropdown = ({
|
|
|
1075
1075
|
disabled
|
|
1076
1076
|
}) => {
|
|
1077
1077
|
const isInvalid = useMemo(
|
|
1078
|
-
() => typeof error === "string" && error?.length > 0,
|
|
1078
|
+
() => error ? typeof error === "string" && error?.length > 0 : false,
|
|
1079
1079
|
[error]
|
|
1080
1080
|
);
|
|
1081
1081
|
return /* @__PURE__ */ jsxs(InputContainer, { error, children: [
|
|
@@ -1814,7 +1814,7 @@ var Tabs = ({
|
|
|
1814
1814
|
type: "button",
|
|
1815
1815
|
onClick: () => handleTabChange(value),
|
|
1816
1816
|
className: `text-base font-semibold cursor-pointer px-6 py-2 rounded-t-lg border-b-4 transition-colors duration-200 ${tabValue === value ? "border-blue-600 text-[#033c89]" : "border-transparent text-gray-400 dark:text-[#033c89]"}`,
|
|
1817
|
-
children: label
|
|
1817
|
+
children: label
|
|
1818
1818
|
},
|
|
1819
1819
|
value
|
|
1820
1820
|
)) }) }) });
|