@scripso-homepad/ui 0.4.11 → 0.4.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scripso-homepad/ui",
3
- "version": "0.4.11",
3
+ "version": "0.4.12",
4
4
  "type": "module",
5
5
  "description": "Cross-platform UI components for Homepad (React Web + React Native)",
6
6
  "license": "MIT",
@@ -83,8 +83,8 @@ export function Modal({
83
83
  }
84
84
 
85
85
  const sharedButtonClassName = cn(
86
- 'btn h-13 justify-center!',
87
- footerLayout === 'split' && 'min-w-0 flex-1 basis-0',
86
+ 'btn h-13 w-full justify-center!',
87
+ footerLayout === 'split' && 'min-w-0',
88
88
  footerLayout !== 'split' && buttonClassName,
89
89
  );
90
90
 
@@ -150,8 +150,9 @@ export function Modal({
150
150
 
151
151
  <footer
152
152
  className={cn(
153
- 'flex shrink-0 gap-4',
154
- footerLayout === 'split' ? 'w-full' : footerAlignClasses[footerAlign],
153
+ footerLayout === 'split'
154
+ ? 'grid w-full shrink-0 grid-cols-2 gap-4'
155
+ : cn('flex shrink-0 gap-4', footerAlignClasses[footerAlign]),
155
156
  )}
156
157
  >
157
158
  <Button