Skip to content
This repository was archived by the owner on Feb 28, 2018. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
16290b5
Pushed react ver requirement back
May 22, 2015
ad7b605
Updated check of var
Jul 13, 2015
3711279
Removed bump
Jul 13, 2015
3dc52e1
Fixed package pointer
Jul 17, 2015
99c54e4
Add more parameters in callbacks and bump packages
Jul 21, 2015
b1e8007
Merge pull request #18 from binarykitchen/master
Jul 21, 2015
e25ade0
Add "browser" field to package.json
brigand Aug 7, 2015
d7ba1de
Merge pull request #20 from brigand/patch-1
Aug 20, 2015
8fd5f7d
bumped version
Aug 20, 2015
69434a5
Added license
Aug 31, 2015
560bab0
Added license
Aug 31, 2015
c340197
Removed italic
Aug 31, 2015
5fca414
Updated deps
Aug 31, 2015
e0a48c1
Updated deps
Aug 31, 2015
f995905
Updated to 0.9.8
Aug 31, 2015
0f1bdfb
Compiled Firefox bug fixes
Sep 10, 2015
5e021b8
Upgraded to 0.9.9
Sep 10, 2015
745c5f8
Updated changelog
Sep 10, 2015
a35edbb
Fixes #25 which will cancel the debouncer when umounted. Also bumps J…
Oct 11, 2015
af643ac
Merge pull request #26 from binarykitchen/master
Oct 19, 2015
2afda5e
Updated deps
Oct 19, 2015
9b74186
Updated deps
Oct 19, 2015
f3bfef2
Updated version
Oct 19, 2015
bf29337
Move build-time npm packages to devDependencies
ahoym Feb 24, 2016
9200fb4
Merge pull request #34 from ahoym/organize-npm-packages
seethroughtrees Feb 24, 2016
5950111
adds check for existence of global navigator variable
Apr 27, 2016
bdb3927
Merge pull request #37 from AppSorcery/master
seethroughtrees Apr 27, 2016
ec4fe72
Updated package
Apr 27, 2016
60b14cf
Bumped version
Apr 27, 2016
9987f97
Pushed require react back to support older versions
Apr 27, 2016
2e994aa
Pushed require lodash back to support older if necessary
Apr 27, 2016
e4d4622
Merge pull request #38 from seethroughtrees/feature/update
seethroughtrees Apr 27, 2016
736b42c
Updated changelog
Apr 27, 2016
07f278c
Merge branch 'master' of github.com:seethroughtrees/react-ux-password…
Apr 27, 2016
cfdf638
fixes additional prerendering bug from getDOMNode()
Apr 30, 2016
81bb78d
Merge pull request #39 from AppSorcery/master
seethroughtrees Apr 30, 2016
d07e08a
Updated build
May 3, 2016
5d2c027
Bumped version
May 3, 2016
572bfcd
Updated changelog
May 3, 2016
625d7b1
New props for change the default lock icon color
pedroparra May 11, 2016
4193e6b
Updated README
seethroughtrees Jun 26, 2016
dbf112a
New props for change the default lock icon color
pedroparra May 11, 2016
9b39dfc
Merge branch 'master' of https://github.com/pedroparra/react-ux-passw…
pedroparra Jul 31, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
79 changes: 79 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# Change Log

## [Unreleased](https://github.com/seethroughtrees/react-ux-password-field/tree/HEAD)

[Full Changelog](https://github.com/seethroughtrees/react-ux-password-field/compare/0.9.10...HEAD)

**Closed issues:**

- dangerouslySetInnerHTML error when nesting HTML within InputPassword component [\#35](https://github.com/seethroughtrees/react-ux-password-field/issues/35)
- Organize npm dependencies [\#33](https://github.com/seethroughtrees/react-ux-password-field/issues/33)
- When 'handleChange' is called the wrong 'isValid' value is sent to parent component [\#28](https://github.com/seethroughtrees/react-ux-password-field/issues/28)

**Merged pull requests:**

- fixes additional prerendering bug from getDOMNode\(\) [\#39](https://github.com/seethroughtrees/react-ux-password-field/pull/39) ([AppSorcery](https://github.com/AppSorcery))
- Feature/update [\#38](https://github.com/seethroughtrees/react-ux-password-field/pull/38) ([seethroughtrees](https://github.com/seethroughtrees))
- adds check for existence of global navigator variable [\#37](https://github.com/seethroughtrees/react-ux-password-field/pull/37) ([AppSorcery](https://github.com/AppSorcery))
- Move build-time npm packages to devDependencies [\#34](https://github.com/seethroughtrees/react-ux-password-field/pull/34) ([ahoym](https://github.com/ahoym))
- Load zxcvbn when component is mounted. Fixes \#27. [\#31](https://github.com/seethroughtrees/react-ux-password-field/pull/31) ([dylanjbarth](https://github.com/dylanjbarth))

## [0.9.10](https://github.com/seethroughtrees/react-ux-password-field/tree/0.9.10) (2015-10-19)
[Full Changelog](https://github.com/seethroughtrees/react-ux-password-field/compare/0.9.9...0.9.10)

**Closed issues:**

- Do not call addPasswordType\(\) when umounted [\#25](https://github.com/seethroughtrees/react-ux-password-field/issues/25)
- Input behaves weird on latest Firefox [\#15](https://github.com/seethroughtrees/react-ux-password-field/issues/15)
- Need DOM access to password input [\#9](https://github.com/seethroughtrees/react-ux-password-field/issues/9)

**Merged pull requests:**

- Fixes \#25 which will cancel the debouncer when umounted. Also bumps J… [\#26](https://github.com/seethroughtrees/react-ux-password-field/pull/26) ([binarykitchen](https://github.com/binarykitchen))

## [0.9.9](https://github.com/seethroughtrees/react-ux-password-field/tree/0.9.9) (2015-09-10)
[Full Changelog](https://github.com/seethroughtrees/react-ux-password-field/compare/0.9.8...0.9.9)

**Closed issues:**

- Add license [\#22](https://github.com/seethroughtrees/react-ux-password-field/issues/22)
- option needed: unMaskStyle [\#21](https://github.com/seethroughtrees/react-ux-password-field/issues/21)
- Warning: setState\(...\): Can only update a mounted or mounting component. This usually means you called setState\(\) on an unmounted component. This is a no-op. [\#14](https://github.com/seethroughtrees/react-ux-password-field/issues/14)

## [0.9.8](https://github.com/seethroughtrees/react-ux-password-field/tree/0.9.8) (2015-08-31)
[Full Changelog](https://github.com/seethroughtrees/react-ux-password-field/compare/list...0.9.8)

**Closed issues:**

- Why is v0.9.7 on npm when you are still on v0.9.6? [\#23](https://github.com/seethroughtrees/react-ux-password-field/issues/23)

## [list](https://github.com/seethroughtrees/react-ux-password-field/tree/list) (2015-08-20)
**Implemented enhancements:**

- Hide meter until user starts typing [\#11](https://github.com/seethroughtrees/react-ux-password-field/issues/11)

**Fixed bugs:**

- zxcvbn is not defined [\#13](https://github.com/seethroughtrees/react-ux-password-field/issues/13)

**Closed issues:**

- Pass on the value in changeCb\(\) too [\#17](https://github.com/seethroughtrees/react-ux-password-field/issues/17)
- this.props.onChange\(\) should be called after handleZxcvbn [\#16](https://github.com/seethroughtrees/react-ux-password-field/issues/16)
- using it directly on bower [\#10](https://github.com/seethroughtrees/react-ux-password-field/issues/10)
- Bug: first character I type causes strength meter to disappear [\#8](https://github.com/seethroughtrees/react-ux-password-field/issues/8)
- make this.props.onChange conditional [\#7](https://github.com/seethroughtrees/react-ux-password-field/issues/7)
- Styling of strength meter [\#6](https://github.com/seethroughtrees/react-ux-password-field/issues/6)
- How to add a custom strength / score for repeated password inputs? [\#5](https://github.com/seethroughtrees/react-ux-password-field/issues/5)
- Adding onChange breaks functionality [\#4](https://github.com/seethroughtrees/react-ux-password-field/issues/4)
- Uncaught ReferenceError: zxcvbn is not defined [\#3](https://github.com/seethroughtrees/react-ux-password-field/issues/3)

**Merged pull requests:**

- Add "browser" field to package.json [\#20](https://github.com/seethroughtrees/react-ux-password-field/pull/20) ([brigand](https://github.com/brigand))
- Add more parameters in callbacks and bump packages [\#18](https://github.com/seethroughtrees/react-ux-password-field/pull/18) ([binarykitchen](https://github.com/binarykitchen))
- onChange branch change [\#2](https://github.com/seethroughtrees/react-ux-password-field/pull/2) ([dignifiedquire](https://github.com/dignifiedquire))



\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2015 Adam L (seethroughtrees)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
**Please note:** - I'm happy to hear people are getting use out of this component, however, I'm no longer using it or able to maintain it. Please check out the [issue here](https://github.com/seethroughtrees/react-ux-password-field/issues/44) for updates.

React UX Password Field
=============

Expand Down
22 changes: 11 additions & 11 deletions demo/demo.bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo/demo.bundle.js.map

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ <h1>React UX Password Field</h1>
<li><strong>Stateful Class</strong> - Know the HTML5 validity of your field by class.</li>
</ol>

<p><em>Inspect element to see all your password info with <a href="#passwordStrength">debug mode</a> on!</em></p>

<hr>

<h3>Install</h3>
Expand Down Expand Up @@ -116,6 +118,12 @@ <h5>statusInactiveColor <span>(string)</span><span class="default">#FC6F6F</span
<pre><code data-language="html">statusInactiveColor="#FC6F6F"</code></pre> will change the default invalid color in the bar.
</p>

<hr>
<h5>lockIconLight <span>(boolean)</span><span class="default">default: false</span></h5>
<p>
<pre><code data-language="html">lockIconLight={true}</code></pre> will change the default color gray dark to gray light for the lock icon.
</p>

<hr>
<h5>strengthLang <span>(array)</span><span class="default">['Weak', 'Okay', 'Good', 'Strong', 'Great']</span></h5>
<p>
Expand Down
7 changes: 2 additions & 5 deletions demo/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,18 @@ require('./css/demo.scss');
const React = require('react'),
InputPassword = require('../../lib/react-ux-password-field.js');

// Demo callback
const cb = (e, valid, score) =>
console.log('Running callback', e, valid, score);

React.render(
<form>
<fieldset>
<label htmlFor="password1">Password</label>
<InputPassword
id="password1"
name="password1"
lockIconLight={false}
placeholder="Try me out! Enter a random password."
minScore={1}
minLength={5}
onChange={cb}
zxcvbn="debug"
/>
</fieldset>
</form>
Expand Down
2 changes: 1 addition & 1 deletion demo/style.css

Large diffs are not rendered by default.

10 changes: 9 additions & 1 deletion dev_server/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ <h1>React UX Password Field</h1>
<li><strong>Stateful Class</strong> - Know the HTML5 validity of your field by class.</li>
</ol>

<p><em>Inspect element to see all your password info with <a href="#passwordStrength">debug mode</a> on!</em></p>

<hr>

<h3>Install</h3>
Expand Down Expand Up @@ -83,7 +85,7 @@ <h5>

<hr>

<h4>Password Strength</h4>
<h4 id="passwordStrength">Password Strength</h4>

<h5>zxcvbn <span>(bool|string)</span> <span class="default">default: true</span></h5>
<p>
Expand Down Expand Up @@ -115,6 +117,12 @@ <h5>statusInactiveColor <span>(string)</span><span class="default">#FC6F6F</span
<pre><code data-language="html">statusInactiveColor="#FC6F6F"</code></pre> will change the default invalid color in the bar.
</p>

<hr>
<h5>lockIconLight <span>(boolean)</span><span class="default">default: false</span></h5>
<p>
<pre><code data-language="html">lockIconLight={true}</code></pre> will change the default color gray dark to gray light for the lock icon.
</p>

<hr>
<h5>changeCb <span>(function(oldValue, newValue))</span></h5>
<p>
Expand Down
Loading