@algorithm-shift/design-system 1.2.58 → 1.2.59
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 +8 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -27552,14 +27552,19 @@ var PhoneInput = ({ className, style, ...props }) => {
|
|
|
27552
27552
|
defaultCountry: "in",
|
|
27553
27553
|
name: props.name,
|
|
27554
27554
|
value: props.value || "",
|
|
27555
|
-
className: cn(
|
|
27555
|
+
className: cn(
|
|
27556
|
+
"rounded-md",
|
|
27557
|
+
className,
|
|
27558
|
+
props.errorMessage ? "border-red-500" : ""
|
|
27559
|
+
),
|
|
27556
27560
|
style: {
|
|
27557
27561
|
...style,
|
|
27558
27562
|
borderColor: props.errorMessage ? "#f87171" : style?.borderColor
|
|
27559
27563
|
},
|
|
27560
27564
|
onChange: (phone) => handleChange(phone),
|
|
27561
27565
|
inputProps: {
|
|
27562
|
-
id: "phone-field"
|
|
27566
|
+
id: "phone-field",
|
|
27567
|
+
style: { width: "100%", border: "none", outline: "none" }
|
|
27563
27568
|
},
|
|
27564
27569
|
placeholder,
|
|
27565
27570
|
disabled: isDisabled || !isEditable
|
|
@@ -28647,7 +28652,7 @@ function Navbar({
|
|
|
28647
28652
|
userName = "Guest User"
|
|
28648
28653
|
}) {
|
|
28649
28654
|
const isMobileView = canvasMode === "mobile" || canvasMode === "tablet";
|
|
28650
|
-
return /* @__PURE__ */ jsx56("nav", { className: "w-full border-b bg-white shadow-sm", style, children: /* @__PURE__ */ jsxs33("div", { className: "mx-auto flex max-w-7xl items-center justify-between px-4 py-
|
|
28655
|
+
return /* @__PURE__ */ jsx56("nav", { className: "w-full border-b bg-white shadow-sm", style, children: /* @__PURE__ */ jsxs33("div", { className: "mx-auto flex max-w-7xl items-center justify-between px-4 py-4", children: [
|
|
28651
28656
|
/* @__PURE__ */ jsx56(Link6, { href: "/", className: "flex items-center space-x-2", children: imageUrl ? /* @__PURE__ */ jsx56(Image3, { src: imageUrl, alt: altText, width: 200, height: 200 }) : /* @__PURE__ */ jsx56("span", { className: "font-semibold text-blue-700", children: "Logo" }) }),
|
|
28652
28657
|
!isMobileView && /* @__PURE__ */ jsx56("div", { className: "flex items-center space-x-6 sm:hidden md:flex", children: list.map((item) => /* @__PURE__ */ jsx56(
|
|
28653
28658
|
Link6,
|