From c5d860df4b39fbc1bf132b5bc163eef8b1625ff6 Mon Sep 17 00:00:00 2001 From: Aaron Date: Fri, 10 Jul 2020 21:18:17 +0800 Subject: [PATCH] feat(PasswordInput): add focus item className (#6739) --- src/password-input/index.tsx | 5 ++- .../test/__snapshots__/demo.spec.js.snap | 44 +++++++++---------- 2 files changed, 26 insertions(+), 23 deletions(-) diff --git a/src/password-input/index.tsx b/src/password-input/index.tsx index b40c19cf5..4b1258f06 100644 --- a/src/password-input/index.tsx +++ b/src/password-input/index.tsx @@ -40,7 +40,10 @@ function PasswordInput( } Points.push( -
  • +
  • {mask ? ( ) : ( diff --git a/src/password-input/test/__snapshots__/demo.spec.js.snap b/src/password-input/test/__snapshots__/demo.spec.js.snap index cc1a24920..52ca0fd65 100644 --- a/src/password-input/test/__snapshots__/demo.spec.js.snap +++ b/src/password-input/test/__snapshots__/demo.spec.js.snap @@ -5,14 +5,14 @@ exports[`renders demo correctly 1`] = `
      -
    • -
    • -
    • -
    • +
    • +
    • +
    • +
    • -
    • -
    • +
    • +
    密码为 6 位数字
    @@ -42,34 +42,34 @@ exports[`renders demo correctly 1`] = `
      -
    • -
    • -
    • -
    • +
    • +
    • +
    • +
      -
    • 1
    • -
    • 2
    • -
    • 3
    • -
    • -
    • -
    • +
    • 1
    • +
    • 2
    • +
    • 3
    • +
    • +
    • +
      -
    • -
    • -
    • -
    • -
    • -
    • +
    • +
    • +
    • +
    • +
    • +