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/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1082,7 +1082,7 @@ var Dropdown = ({
|
|
|
1082
1082
|
disabled
|
|
1083
1083
|
}) => {
|
|
1084
1084
|
const isInvalid = react.useMemo(
|
|
1085
|
-
() => typeof error === "string" && error?.length > 0,
|
|
1085
|
+
() => error ? typeof error === "string" && error?.length > 0 : false,
|
|
1086
1086
|
[error]
|
|
1087
1087
|
);
|
|
1088
1088
|
return /* @__PURE__ */ jsxRuntime.jsxs(InputContainer, { error, children: [
|
|
@@ -1821,7 +1821,7 @@ var Tabs = ({
|
|
|
1821
1821
|
type: "button",
|
|
1822
1822
|
onClick: () => handleTabChange(value),
|
|
1823
1823
|
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]"}`,
|
|
1824
|
-
children: label
|
|
1824
|
+
children: label
|
|
1825
1825
|
},
|
|
1826
1826
|
value
|
|
1827
1827
|
)) }) }) });
|