You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: eliminate no-static-styles-assignment via pure CSS class approach
Community review rejected both setCssProps and eslint-disable for this
rule ("Disabling is not allowed"), so all dynamic styling is now routed
through CSS classes.
Static/enum values -> CSS attribute selectors (styles.css):
- Theme swatches: .re-swatch[data-color="#xxx"] replaces setCssProps
- Avatar preview: [data-ratio] + [data-radius] replaces computed dims;
drops now-unused computeAvatarStyle import
- PDF capture holder: .re-pdf-capture + .re-pdf-a4/.re-pdf-letter
Runtime values -> <style> element injection:
- New applyDynamicStyle() writes CSS class rules into a <style> element's
textContent; target elements only toggle className
- Replaces preview scale transform and paper margin offset
Bump version to 0.10.3 (manifest/package/package-lock/versions in sync)