@purpurds/password-field 6.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/LICENSE.txt +92 -0
  2. package/dist/constants.d.ts +10 -0
  3. package/dist/constants.d.ts.map +1 -0
  4. package/dist/main-B6vgbdqW.mjs +1002 -0
  5. package/dist/main-B6vgbdqW.mjs.map +1 -0
  6. package/dist/main-CqBhSgIE.js +2 -0
  7. package/dist/main-CqBhSgIE.js.map +1 -0
  8. package/dist/metadata.js +9 -0
  9. package/dist/password-field-BwuKVABM.mjs +1557 -0
  10. package/dist/password-field-BwuKVABM.mjs.map +1 -0
  11. package/dist/password-field-CE2wn3y4.js +58 -0
  12. package/dist/password-field-CE2wn3y4.js.map +1 -0
  13. package/dist/password-field.cjs.js +2 -0
  14. package/dist/password-field.cjs.js.map +1 -0
  15. package/dist/password-field.d.ts +27 -0
  16. package/dist/password-field.d.ts.map +1 -0
  17. package/dist/password-field.es.js +8 -0
  18. package/dist/password-field.es.js.map +1 -0
  19. package/dist/password-strength-indicator.d.ts +11 -0
  20. package/dist/password-strength-indicator.d.ts.map +1 -0
  21. package/dist/password-strength.d.ts +13 -0
  22. package/dist/password-strength.d.ts.map +1 -0
  23. package/dist/styles.css +1 -0
  24. package/dist/types.d.ts +7 -0
  25. package/dist/types.d.ts.map +1 -0
  26. package/dist/use-password-strength.d.ts +10 -0
  27. package/dist/use-password-strength.d.ts.map +1 -0
  28. package/package.json +69 -0
  29. package/src/constants.ts +10 -0
  30. package/src/global.d.ts +4 -0
  31. package/src/password-field.module.scss +5 -0
  32. package/src/password-field.stories.tsx +273 -0
  33. package/src/password-field.story.css +23 -0
  34. package/src/password-field.test.tsx +69 -0
  35. package/src/password-field.tsx +128 -0
  36. package/src/password-strength-indicator.module.scss +19 -0
  37. package/src/password-strength-indicator.test.tsx +46 -0
  38. package/src/password-strength-indicator.tsx +38 -0
  39. package/src/password-strength.module.scss +30 -0
  40. package/src/password-strength.test.tsx +52 -0
  41. package/src/password-strength.tsx +79 -0
  42. package/src/types.ts +7 -0
  43. package/src/use-password-strength.ts +61 -0
@@ -0,0 +1,92 @@
1
+ Name: @purpurds/button
2
+ Version: 6.4.0
3
+ License: AGPL-3.0-only
4
+ Private: false
5
+
6
+ ---
7
+
8
+ Name: @purpurds/icon
9
+ Version: 6.4.0
10
+ License: AGPL-3.0-only
11
+ Private: false
12
+
13
+ ---
14
+
15
+ Name: @purpurds/text-field
16
+ Version: 6.4.0
17
+ License: AGPL-3.0-only
18
+ Private: false
19
+
20
+ ---
21
+
22
+ Name: classnames
23
+ Version: 2.5.1
24
+ License: MIT
25
+ Private: false
26
+ Description: A simple utility for conditionally joining classNames together
27
+ Repository: git+https://github.com/JedWatson/classnames.git
28
+ Author: Jed Watson
29
+ License Copyright:
30
+ ===
31
+
32
+ The MIT License (MIT)
33
+
34
+ Copyright (c) 2018 Jed Watson
35
+
36
+ Permission is hereby granted, free of charge, to any person obtaining a copy
37
+ of this software and associated documentation files (the "Software"), to deal
38
+ in the Software without restriction, including without limitation the rights
39
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
40
+ copies of the Software, and to permit persons to whom the Software is
41
+ furnished to do so, subject to the following conditions:
42
+
43
+ The above copyright notice and this permission notice shall be included in all
44
+ copies or substantial portions of the Software.
45
+
46
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
47
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
48
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
49
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
50
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
51
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
52
+ SOFTWARE.
53
+
54
+ ---
55
+
56
+ Name: @purpurds/paragraph
57
+ Version: 6.4.0
58
+ License: AGPL-3.0-only
59
+ Private: false
60
+
61
+ ---
62
+
63
+ Name: zxcvbn
64
+ Version: 4.4.2
65
+ License: MIT
66
+ Private: false
67
+ Description: realistic password strength estimation
68
+ Repository: undefined
69
+ Author: Dan Wheeler
70
+ License Copyright:
71
+ ===
72
+
73
+ Copyright (c) 2012-2016 Dan Wheeler and Dropbox, Inc.
74
+
75
+ Permission is hereby granted, free of charge, to any person obtaining
76
+ a copy of this software and associated documentation files (the
77
+ "Software"), to deal in the Software without restriction, including
78
+ without limitation the rights to use, copy, modify, merge, publish,
79
+ distribute, sublicense, and/or sell copies of the Software, and to
80
+ permit persons to whom the Software is furnished to do so, subject to
81
+ the following conditions:
82
+
83
+ The above copyright notice and this permission notice shall be
84
+ included in all copies or substantial portions of the Software.
85
+
86
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
87
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
88
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
89
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
90
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
91
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
92
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,10 @@
1
+ export declare const PASSWORD_STRENGTH: {
2
+ readonly WEAK: "weak";
3
+ readonly MEDIUM: "medium";
4
+ readonly STRONG: "strong";
5
+ };
6
+ export declare const FIELD_TYPE: {
7
+ readonly PASSWORD: "password";
8
+ readonly TEXT: "text";
9
+ };
10
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB;;;;CAIpB,CAAC;AAEX,eAAO,MAAM,UAAU;;;CAGb,CAAC"}