antd-mobile 5.41.0-alpha.3 → 5.41.0-alpha.5

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.
@@ -5710,6 +5710,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled):after {
5710
5710
  overflow-y: hidden;
5711
5711
  overflow-x: scroll;
5712
5712
  letter-spacing: 2px;
5713
+ padding-right: var(--caret-width);
5713
5714
  scrollbar-width: none;
5714
5715
  }
5715
5716
 
@@ -5731,19 +5732,23 @@ a.adm-list-item:active:not(.adm-list-item-disabled):after {
5731
5732
 
5732
5733
  .adm-virtual-input-caret-container {
5733
5734
  display: inline-block;
5734
- width: var(--caret-width);
5735
+ width: 0;
5736
+ margin: 0;
5737
+ padding: 0;
5738
+ overflow: visible;
5735
5739
  height: 1.3em;
5736
5740
  vertical-align: top;
5737
- margin-right: 2px;
5738
- position: absolute;
5741
+ position: relative;
5739
5742
  }
5740
5743
 
5741
5744
  .adm-virtual-input-caret {
5742
- width: 100%;
5743
- height: 100%;
5745
+ width: var(--caret-width);
5746
+ height: 95%;
5744
5747
  background-color: var(--caret-color);
5745
- position: relative;
5748
+ position: absolute;
5746
5749
  top: 5%;
5750
+ left: 0;
5751
+ z-index: 1;
5747
5752
  }
5748
5753
 
5749
5754
  .adm-virtual-input:focus {
@@ -32,6 +32,7 @@
32
32
  overflow-y: hidden;
33
33
  overflow-x: scroll;
34
34
  letter-spacing: 2px;
35
+ padding-right: var(--caret-width);
35
36
  scrollbar-width: none;
36
37
  }
37
38
 
@@ -53,19 +54,23 @@
53
54
 
54
55
  .adm-virtual-input-caret-container {
55
56
  display: inline-block;
56
- width: var(--caret-width);
57
+ width: 0;
58
+ margin: 0;
59
+ padding: 0;
60
+ overflow: visible;
57
61
  height: 1.3em;
58
62
  vertical-align: top;
59
- margin-right: 2px;
60
- position: absolute;
63
+ position: relative;
61
64
  }
62
65
 
63
66
  .adm-virtual-input-caret {
64
- width: 100%;
65
- height: 100%;
67
+ width: var(--caret-width);
68
+ height: 95%;
66
69
  background-color: var(--caret-color);
67
- position: relative;
70
+ position: absolute;
68
71
  top: 5%;
72
+ left: 0;
73
+ z-index: 1;
69
74
  }
70
75
 
71
76
  .adm-virtual-input:focus {
@@ -32,6 +32,7 @@
32
32
  overflow-y: hidden;
33
33
  overflow-x: scroll;
34
34
  letter-spacing: 2px;
35
+ padding-right: var(--caret-width);
35
36
  scrollbar-width: none;
36
37
  }
37
38
 
@@ -53,19 +54,23 @@
53
54
 
54
55
  .adm-virtual-input-caret-container {
55
56
  display: inline-block;
56
- width: var(--caret-width);
57
+ width: 0;
58
+ margin: 0;
59
+ padding: 0;
60
+ overflow: visible;
57
61
  height: 1.3em;
58
62
  vertical-align: top;
59
- margin-right: 2px;
60
- position: absolute;
63
+ position: relative;
61
64
  }
62
65
 
63
66
  .adm-virtual-input-caret {
64
- width: 100%;
65
- height: 100%;
67
+ width: var(--caret-width);
68
+ height: 95%;
66
69
  background-color: var(--caret-color);
67
- position: relative;
70
+ position: absolute;
68
71
  top: 5%;
72
+ left: 0;
73
+ z-index: 1;
69
74
  }
70
75
 
71
76
  .adm-virtual-input:focus {
package/2x/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antd-mobile",
3
- "version": "5.41.0-alpha.3",
3
+ "version": "5.41.0-alpha.5",
4
4
  "homepage": "https://github.com/ant-design/ant-design-mobile#readme",
5
5
  "bugs": {
6
6
  "url": "https://github.com/ant-design/ant-design-mobile/issues"