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/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.charAt(0).toUpperCase() + label.slice(1).toLowerCase()
1817
+ children: label
1818
1818
  },
1819
1819
  value
1820
1820
  )) }) }) });