@primestyleai/tryon 5.7.0 → 5.7.1
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/dist/storefront/index.d.ts +16 -0
- package/dist/storefront/primestyle-tryon.js +10233 -10258
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Storefront auto-mount entry.
|
|
3
|
+
*
|
|
4
|
+
* Built by `vite.storefront.config.ts` into
|
|
5
|
+
* `dist/storefront/primestyle-tryon.js` — a single self-contained bundle
|
|
6
|
+
* with React + React-DOM inlined, designed to be dropped into a Shopify
|
|
7
|
+
* theme app extension's `assets/` folder and loaded via a normal
|
|
8
|
+
* `<script src="{{ 'primestyle-tryon.js' | asset_url }}" defer>` tag.
|
|
9
|
+
*
|
|
10
|
+
* On load, it scans the page for every `.primestyle-tryon-root` element
|
|
11
|
+
* (injected by the Liquid block), reads its `data-*` attributes, and
|
|
12
|
+
* mounts a `<PrimeStyleTryon>` React component inside each one. No
|
|
13
|
+
* host-side JS is required — the Liquid block just needs to render the
|
|
14
|
+
* root div with the right data attributes.
|
|
15
|
+
*/
|
|
16
|
+
import "../locales";
|