@modernman00/shared-js-lib 1.2.25 → 1.2.26

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.
@@ -43,6 +43,7 @@ import { matchInput } from '../general.js';
43
43
 
44
44
 
45
45
  export const setupPasswordChange = ({
46
+ formId = 'changePassword',
46
47
  buttonId = 'button',
47
48
  passwordId = 'password_id',
48
49
  confirmId = 'confirm_password_id',
@@ -56,7 +57,6 @@ export const setupPasswordChange = ({
56
57
  } = {}) => {
57
58
  // Accessibility & input attributes
58
59
  const passwordInput = id(passwordId);
59
- const confirmInput = id(confirmId);
60
60
  const showToggle = id(showToggleId);
61
61
  const helperText = id(helpId);
62
62
 
@@ -77,7 +77,7 @@ export const setupPasswordChange = ({
77
77
  // Submission handler
78
78
  const handleSubmit = (e) => {
79
79
  e.preventDefault();
80
- loginSubmission('changePassword', route, redirect, theme, lengthLimit);
80
+ loginSubmission(formId, route, redirect, theme, lengthLimit);
81
81
  };
82
82
 
83
83
  // Bind events
@@ -1,3 +1,3 @@
1
1
  <?php
2
- define('APP_VERSION', 'v1.2.26');
2
+ define('APP_VERSION', 'v1.2.27');
3
3
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modernman00/shared-js-lib",
3
- "version": "1.2.25",
3
+ "version": "1.2.26",
4
4
  "description": "Reusable JS utilities for numerous js problems",
5
5
  "homepage": "https://github.com/modernman00/shared-js-lib#readme",
6
6
  "keywords": [