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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # property-practice-ui
2
2
 
3
+ ## 0.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - e86f0bc: enable treeshaking
8
+
9
+ ## 0.1.3
10
+
11
+ ### Patch Changes
12
+
13
+ - 20199ba: externalise next package
14
+
3
15
  ## 0.1.2
4
16
 
5
17
  ### Patch Changes
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.charAt(0).toUpperCase() + label.slice(1).toLowerCase()
1824
+ children: label
1825
1825
  },
1826
1826
  value
1827
1827
  )) }) }) });