opus-toolkit-components 1.4.1 → 1.4.3
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.
|
@@ -3921,7 +3921,7 @@ const Input = /*#__PURE__*/(0,external_react_.forwardRef)((_ref, ref) => {
|
|
|
3921
3921
|
})), /*#__PURE__*/external_react_default().createElement("input", {
|
|
3922
3922
|
id: name,
|
|
3923
3923
|
ref: ref,
|
|
3924
|
-
className: "w-full
|
|
3924
|
+
className: "w-full ".concat(Icon ? iconPosition === 'left' ? 'pl-10' : 'pr-10' : '', " bg-[--color-input-bg] border-none focus:ring-0 focus:outline-none rounded-md py-2 px-3"),
|
|
3925
3925
|
type: type,
|
|
3926
3926
|
name: name,
|
|
3927
3927
|
placeholder: placeholder,
|
|
@@ -12996,12 +12996,16 @@ const Navbar = _ref => {
|
|
|
12996
12996
|
let {
|
|
12997
12997
|
children,
|
|
12998
12998
|
logo,
|
|
12999
|
-
className = ''
|
|
12999
|
+
className = '',
|
|
13000
|
+
maxWidth = '1200px'
|
|
13000
13001
|
} = _ref;
|
|
13001
13002
|
return /*#__PURE__*/external_react_default().createElement("nav", {
|
|
13002
13003
|
className: "p-4 w-full bg-[--color-primary-bg] shadow-lg navbar ".concat(className)
|
|
13003
13004
|
}, /*#__PURE__*/external_react_default().createElement("div", {
|
|
13004
|
-
className: "
|
|
13005
|
+
className: "mx-auto flex items-center justify-between w-full",
|
|
13006
|
+
style: {
|
|
13007
|
+
maxWidth
|
|
13008
|
+
}
|
|
13005
13009
|
}, /*#__PURE__*/external_react_default().createElement("img", {
|
|
13006
13010
|
src: logo || (c247_icon_only_svg_default()),
|
|
13007
13011
|
alt: "Navbar Logo",
|