@betterstart/cli 0.1.80 → 0.1.81

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": "@betterstart/cli",
3
- "version": "0.1.80",
3
+ "version": "0.1.81",
4
4
  "description": "Scaffold a full-featured CMS into any Next.js 16 application",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -9,6 +9,7 @@ import { updateEmail } from '@cms/actions/profile'
9
9
  import { Avatar, AvatarFallback, AvatarImage } from '@cms/components/ui/avatar'
10
10
  import { Button } from '@cms/components/ui/button'
11
11
  import { Input } from '@cms/components/ui/input'
12
+ import { LoaderCircle } from 'lucide-react'
12
13
  import {
13
14
  Form,
14
15
  FormControl,
@@ -269,6 +270,7 @@ export function ProfileForm({ user }: ProfileFormProps) {
269
270
  </CardContent>
270
271
  <CardFooter>
271
272
  <Button type="submit" disabled={profilePending || !profileForm.formState.isDirty} size="sm" className="ml-auto min-w-25">
273
+ {profilePending && <LoaderCircle className="animate-spin" />}
272
274
  {profilePending ? 'Saving...' : 'Save'}
273
275
  </Button>
274
276
  </CardFooter>
@@ -20,7 +20,7 @@ export default async function ProfilePage() {
20
20
  return (
21
21
  <>
22
22
  {showPageHeader && <PageHeader title="Profile" />}
23
- <main className="container mx-auto max-w-2xl p-6 pb-20">
23
+ <main className="container mx-auto max-w-5xl pt-10 pb-20 w-full">
24
24
  <ProfileForm
25
25
  user={{
26
26
  name: session.user.name,