Releases: coston/react-obfuscate
Releases · coston/react-obfuscate
Added obfuscateChildren prop for allowing unobfuscated children 🌞
Allow html href if already human interaction 🛂
This resolved #40 ("target="_blank" does not open new tab")
- Rearrange badges 4882b10
- Merge pull request #41 from coston/allow-html-href-if-human-interaction 40698a5
- Merge pull request #42 from coston/greenkeeper/initial ae86ed4
- chore(package): update lockfile package-lock.json b9c4e16
- docs(readme): add Greenkeeper badge ff5aad1
- chore(package): update dependencies 64db640
Add href prop
With the href prop, one can use <Obfuscate>
in a similar manner as using the <a>
tag. Thank you to @anantoghosh for requesting this feature at #37.
<Obfuscate href="https://wa.me/15551234567">Chat On WhatsApp</Obfuscate>
Add href prop
Allow child elements to pass unreversed
- Merge pull request #36 from coston/Allow-child-objects-to-pass-unreversed-#35 d0b2156
- Set empty href in cases like child obj & no link e241832
- Add margin to badges aa6fe2e
- simplify combine headers d8af378
- Add build status 7e1735a
- Add coverage badge b444685
- Add #35 tests 26bb0db
- Simplify fn combineHeaders 021e37e
- Update demo f80aa1e
- revert to next@7 due to next issue 6240 5341f32
- Update next.js dfa745d
- Move svg to new line 9ac0b80
- Update deps 5a7d23d
v3.3.1-0
Documentation update #34
onClick prop called prior to setting location (e.g. for analytics tracking)
v3.1.1
Add element prop
Obfuscate any dom element with the element
prop. Props to @ravinggenius for adding this feature! 🙌
Example Usage:
<Obfuscate
element='p'
style={{textAlign:'left'}}>
This paragraph is more secret than others.
</Obfuscate>
- Merge branch 'ravinggenius-feature/override-component'. da9b0c5
- Change name of component prop to element & make view only if not anchor 3473465
- Update element prop test 4279877
- Add element prop example 901eca9
- Add note on element props fbe9e4a
- remove editor config 21d8685
- Skip
href
andonClick
props for view-only components efd70d7 - General code cleanup 397284b