@souldi/try-on 0.5.8 → 0.5.10
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/CHANGELOG.md +1 -0
- package/dist/widget.mjs +1 -1
- package/dist/widget.umd.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
- **`onAddToCart` gains `recommendedSize` and `recommendationId`** beside `size`, which is the size the customer chose. Additive: a handler that reads `size` alone keeps working. See [`onAddToCart`](README.md#onaddtocart).
|
|
13
13
|
- **Edit my profile.** The customer's profile opens from a row at the foot of the dialog, on every state, instead of a button on the picture. It shows their photo and measurements, and they edit the measurements there, in place: **Edit measurements** turns the list into fields, and **Save changes** updates the size on the button and in the dialog without closing it. Leaving with unsaved changes asks first. The add-your-weight prompt under the size opens it on the missing field. It holds the photo and the account too: "Signed in as … · Sign out" sits under its title, and **Delete account** sits alone at the end, confirmed in place before anything is deleted. **Change photo** on the photo opens the usual photo flow (camera, upload or phone), and the customer comes back to their profile while the new photo is checked: the current photo fades under "Processing…", and a rejected photo says why on the photo still in use. Changing the photo again while one is being checked replaces it. One link switches which photo try-ons use, at once; switching back to the studio photo when it has to be made again shows the same wait until it is ready.
|
|
14
14
|
- **Removed: the "Your Souldi." window.** Every way into it now leads to Edit my profile.
|
|
15
|
+
- **Fixed: the result dialog on themes that hide empty elements.** On a page whose stylesheet hides empty `div`s (Shopify's Dawn theme does) or the `div`s directly under `body`, the dialog opened invisibly: **Try on** finished, and nothing appeared. The dialog and the sign-in and upload screens now stay shown whatever the page's stylesheet says.
|
|
15
16
|
|
|
16
17
|
## 0.5.0
|
|
17
18
|
|