Repository navigation
v6.0.0
·
6 commits
to master
since this release
[6.0.0] - 2026-09-10
Breaking
containerStyle,videoContainerStyle, andvideoStyleare gone. Use*ClassNameand--rbs-*.- Layout CSS is
@layer react-barcode-scanner. Name that layer in your@layerlist so later layers override the shipped rules. rbs:videoandvideoClassNamestay on<video>aftervideoProps.videoProps.classNameis ignored.- A function
videoPropsno longer receivesclassNameorstylein its defaults. - A user-facing camera uses
rbs:video-mirrored(scale: -1 1) instead of an inlinetransform.
Added
containerClassName,videoContainerClassName,videoClassName,cameraLoadingClassName,cameraLoadingIconClassName,cameraOffClassName,cameraOffIconClassName, andviewfinderClassName. Each appends after the matchingrbs:*class.--rbs-*custom properties for size, radius, object-fit, viewfinder paint, loader, and camera-off.rbs:video-mirroredforfacingMode: "user".
Changed
- The repo builds with pnpm 12 (was bun).