@easyv/react-components 0.0.42 → 0.0.44

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.
@@ -77,3 +77,8 @@
77
77
  }
78
78
  }
79
79
  }
80
+
81
+ // 修改line-height造成的高度为小数的问题
82
+ input.arco-input {
83
+ line-height: 1.5;
84
+ }
@@ -2,20 +2,24 @@
2
2
  &.arco-input-group-wrapper {
3
3
  --input-height: 30px;
4
4
  --input-step-top: 4px;
5
+ --input-prefix-padding-left: 12px;
5
6
 
6
7
  &.arco-input-group-wrapper-mini {
7
8
  --input-height: 22px;
8
9
  --input-step-top: 1px;
10
+ --input-prefix-padding-left: 6px;
9
11
  }
10
12
 
11
13
  &.arco-input-group-wrapper-small {
12
14
  --input-height: 26px;
13
15
  --input-step-top: 2px;
16
+ --input-prefix-padding-left: 8px;
14
17
  }
15
18
 
16
19
  &.arco-input-group-wrapper-large {
17
20
  --input-height: 34px;
18
21
  --input-step-top: 8px;
22
+ --input-prefix-padding-left: 16px;
19
23
  }
20
24
 
21
25
  .arco-input-inner-wrapper {
@@ -41,12 +45,11 @@
41
45
  display: flex;
42
46
  align-items: center;
43
47
  min-height: var(--input-height);
44
- padding-left: 12px;
45
- padding-right: 12px;
48
+ padding-left: var(--input-prefix-padding-left);
49
+ padding-right: 4px;
46
50
 
47
51
  &:empty {
48
- padding-left: 6px;
49
- padding-right: 6px;
52
+ padding-right: 0;
50
53
  }
51
54
  }
52
55
 
@@ -2,7 +2,7 @@
2
2
  position: relative;
3
3
  width: 100%;
4
4
  height: 28px;
5
- border-radius: 2px;
5
+ border-radius: 4px;
6
6
  border: 1px solid var(--color-border-2);
7
7
  padding: 6px;
8
8
  display: flex;
@@ -15,7 +15,7 @@ import "./index.less";
15
15
  import { jsx as _jsx } from "react/jsx-runtime";
16
16
  import { jsxs as _jsxs } from "react/jsx-runtime";
17
17
  var defaultTitle = /*#__PURE__*/_jsxs("span", {
18
- children: ["\u5C06\u6587\u4EF6\u62D6\u81F3\u6B64\u5904\u6216", /*#__PURE__*/_jsx("span", {
18
+ children: ["\u62D6\u62FD\u6587\u4EF6\u5230\u8FD9\u91CC\uFF0C\u6216\u8005", /*#__PURE__*/_jsx("span", {
19
19
  className: "arco-upload-drag-title-em",
20
20
  children: "\u9009\u62E9\u6587\u4EF6"
21
21
  })]
@@ -18,13 +18,13 @@
18
18
  flex-direction: column;
19
19
  justify-content: center;
20
20
  align-items: center;
21
- background-color: var(--color-fill-1);
21
+ background-color: var(--color-fill-upload-default);
22
22
  border-radius: 4px;
23
23
  border: 1px dashed var(--color-border-2);
24
24
  height: 100%;
25
25
 
26
26
  &:hover {
27
- background-color: var(--color-fill-2);
27
+ background-color: var(--olor-fill-upload-hover);
28
28
  border: 1px dashed var(--color-border-3);
29
29
 
30
30
  .arco-upload-drag-mask {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyv/react-components",
3
- "version": "0.0.42",
3
+ "version": "0.0.44",
4
4
  "description": "a react component library base on arco design",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",