@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 CHANGED
@@ -27644,14 +27644,19 @@ var PhoneInput = ({ className, style, ...props }) => {
27644
27644
  defaultCountry: "in",
27645
27645
  name: props.name,
27646
27646
  value: props.value || "",
27647
- className: cn(className, props.errorMessage ? "border-red-500" : ""),
27647
+ className: cn(
27648
+ "rounded-md",
27649
+ className,
27650
+ props.errorMessage ? "border-red-500" : ""
27651
+ ),
27648
27652
  style: {
27649
27653
  ...style,
27650
27654
  borderColor: props.errorMessage ? "#f87171" : style?.borderColor
27651
27655
  },
27652
27656
  onChange: (phone) => handleChange(phone),
27653
27657
  inputProps: {
27654
- id: "phone-field"
27658
+ id: "phone-field",
27659
+ style: { width: "100%", border: "none", outline: "none" }
27655
27660
  },
27656
27661
  placeholder,
27657
27662
  disabled: isDisabled || !isEditable
@@ -28735,7 +28740,7 @@ function Navbar({
28735
28740
  userName = "Guest User"
28736
28741
  }) {
28737
28742
  const isMobileView = canvasMode === "mobile" || canvasMode === "tablet";
28738
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("nav", { className: "w-full border-b bg-white shadow-sm", style, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "mx-auto flex max-w-7xl items-center justify-between px-4 py-2", children: [
28743
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("nav", { className: "w-full border-b bg-white shadow-sm", style, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "mx-auto flex max-w-7xl items-center justify-between px-4 py-4", children: [
28739
28744
  /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_link6.default, { href: "/", className: "flex items-center space-x-2", children: imageUrl ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_image3.default, { src: imageUrl, alt: altText, width: 200, height: 200 }) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "font-semibold text-blue-700", children: "Logo" }) }),
28740
28745
  !isMobileView && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "flex items-center space-x-6 sm:hidden md:flex", children: list.map((item) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
28741
28746
  import_link6.default,