From 9ce143c5692a878f0f9b7f33bb2091c74d235efc Mon Sep 17 00:00:00 2001 From: Krishan Patel Date: Thu, 11 Dec 2025 09:48:30 +0000 Subject: [PATCH] . --- src/atoms/inputWrapper/component.tsx | 4 +++- src/atoms/inputWrapper/styles.scss | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/atoms/inputWrapper/component.tsx b/src/atoms/inputWrapper/component.tsx index 3b48bb80..7aeaa416 100644 --- a/src/atoms/inputWrapper/component.tsx +++ b/src/atoms/inputWrapper/component.tsx @@ -11,12 +11,14 @@ import { HidingView } from '../../wrappers'; export interface IInputWrapperProps extends IComponentProps, ISingleAnyChildProps { messageText?: string; isEnabled?: boolean; + isFullWidth?: boolean; onClicked?: () => void; } export function InputWrapper({ className = '', variant = 'default', + isFullWidth = false, ...props }: IInputWrapperProps): React.ReactElement { const [isFocussed, setIsFocussed] = React.useState(false); @@ -34,7 +36,7 @@ export function InputWrapper({ return (
{/* eslint-disable jsx-a11y/no-static-element-interactions, jsx-a11y/no-noninteractive-tabindex */} diff --git a/src/atoms/inputWrapper/styles.scss b/src/atoms/inputWrapper/styles.scss index d1a842d7..ad10f7cf 100644 --- a/src/atoms/inputWrapper/styles.scss +++ b/src/atoms/inputWrapper/styles.scss @@ -6,7 +6,10 @@ .KibaInputWrapper { display: flex; flex-direction: column; - width: 100%; + + &.full-width { + width: 100%; + } &.disabled { cursor: not-allowed;