nicolium: more migrations
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -33,7 +33,7 @@ const ColumnHeader: React.FC<IColumnHeader> = ({ label, backHref, backParams, cl
|
||||
<CardTitle title={label} />
|
||||
|
||||
{action && (
|
||||
<div className='flex grow justify-end'>
|
||||
<div className='⁂-column__header__action'>
|
||||
{action}
|
||||
</div>
|
||||
)}
|
||||
@ -83,7 +83,7 @@ const Column: React.FC<IColumn> = (props): JSX.Element => {
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<Card role='region' aria-label={label} column-type={transparent ? 'transparent' : 'filled'} size={size} variant={transparent ? undefined : 'rounded'} className={clsx('relative', className)}>
|
||||
<Card role='region' aria-label={label} column-type={transparent ? 'transparent' : 'filled'} size={size} variant={transparent ? undefined : 'rounded'} className={clsx('⁂-column', className)}>
|
||||
<Helmet>
|
||||
<title>{label}</title>
|
||||
|
||||
@ -100,12 +100,8 @@ const Column: React.FC<IColumn> = (props): JSX.Element => {
|
||||
<ColumnHeader
|
||||
label={label}
|
||||
backHref={backHref}
|
||||
className={clsx({
|
||||
'rounded-t-3xl': !isScrolled && !transparent,
|
||||
'sticky top-0 z-10 bg-white/90 dark:bg-primary-900/90 black:bg-black/75 backdrop-blur backdrop-saturate-200': !transparent,
|
||||
'p-4 sm:p-0 sm:pb-4 black:p-4': transparent,
|
||||
'-mt-4 -mx-4 p-4': size !== 'lg' && !transparent,
|
||||
'-mt-4 -mx-4 p-4 sm:-mt-6 sm:-mx-6 sm:p-6': size === 'lg' && !transparent,
|
||||
className={clsx('⁂-column__header', {
|
||||
'⁂-column__header--scrolled': isScrolled,
|
||||
})}
|
||||
action={action}
|
||||
/>
|
||||
|
||||
@ -20,7 +20,7 @@ const Form: React.FC<IForm> = ({ onSubmit, children, ...filteredProps }) => {
|
||||
}, [onSubmit]);
|
||||
|
||||
return (
|
||||
<form data-testid='form' onSubmit={handleSubmit} className='space-y-4' {...filteredProps}>
|
||||
<form data-testid='form' onSubmit={handleSubmit} className='⁂-form' {...filteredProps}>
|
||||
{children}
|
||||
</form>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user