@royaloperahouse/chord 2.2.3-h-chord-development → 2.2.3-j-chord-development

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.
@@ -3519,6 +3519,7 @@ var TextField = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
3519
3519
  "data-testid": "text-field-input",
3520
3520
  ref: ref
3521
3521
  }, inputProps)), isPasswordField && /*#__PURE__*/React__default.createElement(ShowHideButton, {
3522
+ type: 'button',
3522
3523
  onClick: showHideClickHandler
3523
3524
  }, /*#__PURE__*/React__default.createElement(Overline, {
3524
3525
  level: 1
@@ -8551,7 +8552,9 @@ var PasswordStrength = function PasswordStrength(_ref) {
8551
8552
  "data-testid": "password-strength-container"
8552
8553
  }, /*#__PURE__*/React__default.createElement(Sections, {
8553
8554
  "data-testid": "password-strength-sections"
8554
- }, [].concat(Array(sections)).map(function (_section, i) {
8555
+ }, Array.from({
8556
+ length: sections
8557
+ }, function (_section, i) {
8555
8558
  return /*#__PURE__*/React__default.createElement(Section, {
8556
8559
  key: i,
8557
8560
  color: setSectionColor(i),