also looking at this
Migrate x-text/:text bindings to {{ }} interpolation (stx 0.2.72)
#120
31 files
+179
-171
| @@ -107,8 +107,8 @@ onMount(() => { | ||
| 107 | 107 | <div class="col-span-full max-w-[640px]"> |
| 108 | 108 | <h3 class="text-base font-semibold text-text mb-1">Account</h3> |
| 109 | 109 | <p class="text-xs text-muted mb-6"> |
| 110 | Signed in as <span class="text-text" x-text="email()"></span> | |
| 111 | <span class="text-[0.625rem] font-semibold py-0.5 px-[7px] rounded uppercase tracking-wide bg-bg-3 text-text-2 ml-1" x-text="plan()"></span> | |
| 110 | Signed in as <span class="text-text">{{ email() }}</span> | |
| 111 | <span class="text-[0.625rem] font-semibold py-0.5 px-[7px] rounded uppercase tracking-wide bg-bg-3 text-text-2 ml-1">{{ plan() }}</span> | |
| 112 | 112 | <span x-show="!emailVerified()" class="text-warning ml-1">— email not verified</span> |
| 113 | 113 | </p> |
| 114 | 114 | |
| @@ -121,8 +121,8 @@ onMount(() => { | ||
| 121 | 121 | </div> |
| 122 | 122 | <button type="submit" class="btn btn-primary text-[0.8125rem] py-2 px-4">Save</button> |
| 123 | 123 | </form> |
| 124 | <p x-show="profileMsg()" class="text-xs text-success mt-2" x-text="profileMsg()"></p> | |
| 125 | <p x-show="profileErr()" class="text-xs text-error mt-2" x-text="profileErr()"></p> | |
| 124 | <p x-show="profileMsg()" class="text-xs text-success mt-2">{{ profileMsg() }}</p> | |
| 125 | <p x-show="profileErr()" class="text-xs text-error mt-2">{{ profileErr() }}</p> | |
| 126 | 126 | </div> |
| 127 | 127 | |
| 128 | 128 | <div class="panel mb-4"> |
| @@ -138,8 +138,8 @@ onMount(() => { | ||
| 138 | 138 | </div> |
| 139 | 139 | <button type="submit" class="btn btn-primary text-[0.8125rem] py-2 px-4 self-start">Change password</button> |
| 140 | 140 | </form> |
| 141 | <p x-show="passwordMsg()" class="text-xs text-success mt-2" x-text="passwordMsg()"></p> | |
| 142 | <p x-show="passwordErr()" class="text-xs text-error mt-2" x-text="passwordErr()"></p> | |
| 141 | <p x-show="passwordMsg()" class="text-xs text-success mt-2">{{ passwordMsg() }}</p> | |
| 142 | <p x-show="passwordErr()" class="text-xs text-error mt-2">{{ passwordErr() }}</p> | |
| 143 | 143 | </div> |
| 144 | 144 | |
| 145 | 145 | <div class="panel mb-4"> |
| @@ -155,8 +155,8 @@ onMount(() => { | ||
| 155 | 155 | </div> |
| 156 | 156 | <button type="submit" class="btn btn-primary text-[0.8125rem] py-2 px-4 self-start">Change email</button> |
| 157 | 157 | </form> |
| 158 | <p x-show="emailMsg()" class="text-xs text-success mt-2" x-text="emailMsg()"></p> | |
| 159 | <p x-show="emailErr()" class="text-xs text-error mt-2" x-text="emailErr()"></p> | |
| 158 | <p x-show="emailMsg()" class="text-xs text-success mt-2">{{ emailMsg() }}</p> | |
| 159 | <p x-show="emailErr()" class="text-xs text-error mt-2">{{ emailErr() }}</p> | |
| 160 | 160 | </div> |
| 161 | 161 | |
| 162 | 162 | <div class="panel"> |