@tidbcloud/uikit 2.0.0-beta.52 → 2.0.0-beta.53

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @tidbcloud/uikit
2
2
 
3
+ ## 2.0.0-beta.53
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix PasswordInput border style when validate fail
8
+
3
9
  ## 2.0.0-beta.52
4
10
 
5
11
  ### Minor Changes
@@ -203,10 +203,13 @@ const getInputStyles = (theme2, params) => {
203
203
  },
204
204
  invalid: {
205
205
  borderColor: theme2.colors.red[4],
206
+ "& .mantine-PasswordInput-innerInput": {
207
+ borderColor: "transparent"
208
+ },
206
209
  "&:hover": {
207
210
  borderColor: theme2.colors.red[4]
208
211
  },
209
- "&:focus": {
212
+ "&:focus, &:focus-within": {
210
213
  borderColor: theme2.colors.red[4]
211
214
  },
212
215
  "&::placeholder": {
@@ -201,10 +201,13 @@ const getInputStyles = (theme2, params) => {
201
201
  },
202
202
  invalid: {
203
203
  borderColor: theme2.colors.red[4],
204
+ "& .mantine-PasswordInput-innerInput": {
205
+ borderColor: "transparent"
206
+ },
204
207
  "&:hover": {
205
208
  borderColor: theme2.colors.red[4]
206
209
  },
207
- "&:focus": {
210
+ "&:focus, &:focus-within": {
208
211
  borderColor: theme2.colors.red[4]
209
212
  },
210
213
  "&::placeholder": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tidbcloud/uikit",
3
- "version": "2.0.0-beta.52",
3
+ "version": "2.0.0-beta.53",
4
4
  "description": "tidbcloud uikit",
5
5
  "type": "module",
6
6
  "main": "dist/primitive/index.cjs",