rds-ui-system 2.2.0 → 2.2.1

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.
@@ -3055,7 +3055,9 @@ const ne = {
3055
3055
  children: [
3056
3056
  o == 'password' &&
3057
3057
  /* @__PURE__ */ e.jsx('button', {
3058
- onClick: u,
3058
+ onClick: (k) => {
3059
+ k.preventDefault(), u()
3060
+ },
3059
3061
  className: 'show-password',
3060
3062
  children: y
3061
3063
  ? /* @__PURE__ */ e.jsx('svg', {
@@ -2997,7 +2997,9 @@ Check the top-level render call using <` +
2997
2997
  children: [
2998
2998
  d == 'password' &&
2999
2999
  e.jsx('button', {
3000
- onClick: m,
3000
+ onClick: (P) => {
3001
+ P.preventDefault(), m()
3002
+ },
3001
3003
  className: 'show-password',
3002
3004
  children: E
3003
3005
  ? e.jsx('svg', {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rds-ui-system",
3
3
  "private": false,
4
- "version": "2.2.0",
4
+ "version": "2.2.1",
5
5
  "packageManager": "pnpm@8.4.0",
6
6
  "main": "./dist/rds-ui-system.umd.js",
7
7
  "module": "./dist/rds-ui-system.es.js",