Appearance
Changelog
3.0.0-alpha.1
Minor Changes
- 84829654a: Move @authentified/shared-widget to devDepdencies
3.0.0-alpha.0
Initial Release
- 079ae4fd7: First alpha of the vanilla-JS Authentified button, sharing styling and logo with
@authentified/react-widgetvia@authentified/shared-widget.- Drop-in script that auto-initialises any element matching
[data-authentified-widget]fromdata-*attributes - Renders inside a shadow root on every mount host for full style isolation
- Same
--authentified-*CSS custom properties as the React widget aria-live="polite"label, SVG<title>+aria-labelledbyon the logo,rel="noopener noreferrer"on thetarget="_blank"anchor- Emit
data-authentified-state="sold"on the anchor for CSS-only targeting of the sold variant - Contract aligned with
@authentified/react-widget3.0.0:data-sourceis required and accepts"shopify"(shops on the Authentified Shopify App) or"api"(shops integrating directly with the Authentified REST API).data-scopeis required and accepts"lineItem","order", or"offline".data-shop-idis required on every widget.data-customer-idis optional — missing, empty, ornullvalues are normalised to "no customer".data-scope="lineItem"requiresdata-order-idanddata-line-item-id(for eitherdata-source).data-scope="order"requiresdata-order-id.data-scope="offline"requiresdata-order-id(your POS / receipt reference) anddata-variant-id.- Unrecognised
data-scope/data-sourcevalues fail validation instead of being silently coerced.
- Drop-in script that auto-initialises any element matching