create-mantiq 0.5.4 → 0.5.6
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
|
@@ -11,8 +11,8 @@ interface LoginProps {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
export default function Login({ appName = 'Mantiq', navigate }: LoginProps) {
|
|
14
|
-
const [email, setEmail] = useState('
|
|
15
|
-
const [password, setPassword] = useState('
|
|
14
|
+
const [email, setEmail] = useState('')
|
|
15
|
+
const [password, setPassword] = useState('')
|
|
16
16
|
const [error, setError] = useState('')
|
|
17
17
|
const [loading, setLoading] = useState(false)
|
|
18
18
|
|
|
@@ -81,7 +81,7 @@ export default function Login({ appName = 'Mantiq', navigate }: LoginProps) {
|
|
|
81
81
|
value={email}
|
|
82
82
|
onChange={(e) => setEmail(e.target.value)}
|
|
83
83
|
required
|
|
84
|
-
placeholder="
|
|
84
|
+
placeholder="you@example.com"
|
|
85
85
|
autoComplete="email"
|
|
86
86
|
/>
|
|
87
87
|
</div>
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
[key: string]: any
|
|
14
14
|
} = $props()
|
|
15
15
|
|
|
16
|
-
let email = $state('
|
|
17
|
-
let password = $state('
|
|
16
|
+
let email = $state('')
|
|
17
|
+
let password = $state('')
|
|
18
18
|
let error = $state('')
|
|
19
19
|
let loading = $state(false)
|
|
20
20
|
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
type="email"
|
|
83
83
|
bind:value={email}
|
|
84
84
|
required
|
|
85
|
-
placeholder="
|
|
85
|
+
placeholder="you@example.com"
|
|
86
86
|
autocomplete="email"
|
|
87
87
|
/>
|
|
88
88
|
</div>
|
|
@@ -12,8 +12,8 @@ const props = withDefaults(defineProps<{
|
|
|
12
12
|
appName: 'Mantiq',
|
|
13
13
|
})
|
|
14
14
|
|
|
15
|
-
const email = ref('
|
|
16
|
-
const password = ref('
|
|
15
|
+
const email = ref('')
|
|
16
|
+
const password = ref('')
|
|
17
17
|
const error = ref('')
|
|
18
18
|
const loading = ref(false)
|
|
19
19
|
|
|
@@ -82,7 +82,7 @@ async function handleSubmit() {
|
|
|
82
82
|
v-model="email"
|
|
83
83
|
type="email"
|
|
84
84
|
required
|
|
85
|
-
placeholder="
|
|
85
|
+
placeholder="you@example.com"
|
|
86
86
|
autocomplete="email"
|
|
87
87
|
/>
|
|
88
88
|
</div>
|