@trionesdev/antd-mobile-base-react 0.0.2-beta.0 → 0.0.2-beta.2
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/LICENSE +21 -21
- package/README.md +23 -23
- package/dist/ActionSheet/style.scss +51 -51
- package/dist/Alert/style.scss +69 -69
- package/dist/Avatar/style.scss +16 -16
- package/dist/Badge/style.scss +100 -100
- package/dist/Card/style.scss +35 -35
- package/dist/CascaderPicker/cascader-picker.js +1 -1
- package/dist/CascaderPicker/style.scss +42 -42
- package/dist/CascaderView/cascader-view.js +1 -1
- package/dist/CascaderView/style.scss +22 -22
- package/dist/Cell/styles.scss +52 -52
- package/dist/Checkbox/index.scss +151 -151
- package/dist/DemoBlock/index.scss +20 -20
- package/dist/DemoDescription/index.scss +3 -3
- package/dist/Descriptions/style.scss +65 -65
- package/dist/Divider/style.scss +62 -62
- package/dist/Ellipsis/style.scss +13 -13
- package/dist/Empty/style.scss +29 -29
- package/dist/ErrorBlock/demo/base.js +2 -2
- package/dist/ErrorBlock/style.scss +62 -62
- package/dist/Footer/style.scss +55 -55
- package/dist/Form/FormItem/form-item-input.js +1 -1
- package/dist/Form/FormItem/form-item-label.js +1 -1
- package/dist/Form/style.scss +45 -45
- package/dist/Grid/style.scss +17 -17
- package/dist/Icon/demo/base.js +3 -3
- package/dist/Input/index.scss +173 -173
- package/dist/InputNumber/style.scss +43 -43
- package/dist/Mask/style.scss +20 -20
- package/dist/NavBar/style.scss +61 -61
- package/dist/NoticeBar/style.scss +130 -130
- package/dist/PageIndicator/style.scss +59 -59
- package/dist/Picker/picker.js +1 -1
- package/dist/Picker/style.scss +41 -41
- package/dist/PickerView/picker-view-column.js +1 -1
- package/dist/PickerView/picker-view.js +1 -1
- package/dist/PickerView/style.scss +72 -72
- package/dist/Popup/style.scss +53 -53
- package/dist/Radio/style.scss +138 -138
- package/dist/Rate/style.scss +37 -37
- package/dist/Result/demo/base.js +2 -2
- package/dist/Result/style.scss +73 -73
- package/dist/SafeArea/style.scss +18 -18
- package/dist/Scaffold/style.scss +16 -16
- package/dist/ScrollView/style.scss +19 -19
- package/dist/SideBar/side-bar.js +6 -6
- package/dist/SideBar/style.scss +85 -85
- package/dist/Space/style.scss +77 -77
- package/dist/SpinLoading/spin-loading.scss +40 -40
- package/dist/Steps/style.scss +146 -146
- package/dist/Switch/style.scss +128 -128
- package/dist/TabBar/demo/base.js +2 -2
- package/dist/TabBar/index.scss +36 -36
- package/dist/TabBar/tab-bar.d.ts +1 -1
- package/dist/TabBar/tab-bar.js +3 -2
- package/dist/Tabs/style.scss +108 -108
- package/dist/Tabs/tabs.js +1 -1
- package/dist/Tag/demo/base.js +2 -2
- package/dist/Tag/demo/style.scss +8 -8
- package/dist/Tag/style.scss +86 -86
- package/dist/Toast/style.scss +63 -63
- package/dist/VerificationCodeInput/style.scss +20 -20
- package/dist/WaterMark/style.scss +17 -17
- package/dist/style/style.scss +52 -52
- package/dist/style/theme-dark.scss +24 -24
- package/dist/style/theme-default.scss +54 -54
- package/dist/style/variable.scss +168 -168
- package/dist/utils/type.js +36 -36
- package/dist/utils/with-default-props.js +4 -4
- package/package.json +5 -6
package/dist/Form/style.scss
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
$cls-prefix-form: 'triones-antm-form';
|
|
2
|
-
$cls-prefix-form-item: 'triones-antm-form-item';
|
|
3
|
-
|
|
4
|
-
.#{$cls-prefix-form}{
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.#{$cls-prefix-form-item}{
|
|
9
|
-
&-label{
|
|
10
|
-
font-size: 14Px;
|
|
11
|
-
//line-height: 1.5;
|
|
12
|
-
color: #6F6F6F;
|
|
13
|
-
&-left{}
|
|
14
|
-
&-right{
|
|
15
|
-
text-align: right;
|
|
16
|
-
}
|
|
17
|
-
&-required-mark{
|
|
18
|
-
display: inline-block;
|
|
19
|
-
color: red;
|
|
20
|
-
margin-right: 4Px;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
&-input{
|
|
24
|
-
.#{$cls-prefix-form-item}{
|
|
25
|
-
&-error{
|
|
26
|
-
font-size: 12Px;
|
|
27
|
-
color: red;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
&-horizontal{
|
|
32
|
-
display: flex;
|
|
33
|
-
.#{$cls-prefix-form-item}{
|
|
34
|
-
&-label{
|
|
35
|
-
padding: 4Px;
|
|
36
|
-
}
|
|
37
|
-
&-input{
|
|
38
|
-
flex: auto 1;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
&-hidden{
|
|
43
|
-
display: none;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
1
|
+
$cls-prefix-form: 'triones-antm-form';
|
|
2
|
+
$cls-prefix-form-item: 'triones-antm-form-item';
|
|
3
|
+
|
|
4
|
+
.#{$cls-prefix-form}{
|
|
5
|
+
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.#{$cls-prefix-form-item}{
|
|
9
|
+
&-label{
|
|
10
|
+
font-size: 14Px;
|
|
11
|
+
//line-height: 1.5;
|
|
12
|
+
color: #6F6F6F;
|
|
13
|
+
&-left{}
|
|
14
|
+
&-right{
|
|
15
|
+
text-align: right;
|
|
16
|
+
}
|
|
17
|
+
&-required-mark{
|
|
18
|
+
display: inline-block;
|
|
19
|
+
color: red;
|
|
20
|
+
margin-right: 4Px;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
&-input{
|
|
24
|
+
.#{$cls-prefix-form-item}{
|
|
25
|
+
&-error{
|
|
26
|
+
font-size: 12Px;
|
|
27
|
+
color: red;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
&-horizontal{
|
|
32
|
+
display: flex;
|
|
33
|
+
.#{$cls-prefix-form-item}{
|
|
34
|
+
&-label{
|
|
35
|
+
padding: 4Px;
|
|
36
|
+
}
|
|
37
|
+
&-input{
|
|
38
|
+
flex: auto 1;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
&-hidden{
|
|
43
|
+
display: none;
|
|
44
|
+
}
|
|
45
|
+
}
|
package/dist/Grid/style.scss
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
$class-prefix-grid: 'triones-antm-grid';
|
|
2
|
-
/* prettier-ignore */
|
|
3
|
-
.#{$class-prefix-grid} {
|
|
4
|
-
--gap: 0;
|
|
5
|
-
--gap-horizontal: var(--gap);
|
|
6
|
-
--gap-vertical: var(--gap);
|
|
7
|
-
|
|
8
|
-
display: grid;
|
|
9
|
-
grid-gap: 10PX;
|
|
10
|
-
column-gap: var(--gap-horizontal);
|
|
11
|
-
row-gap: var(--gap-vertical);
|
|
12
|
-
grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
|
|
13
|
-
align-items: stretch;
|
|
14
|
-
&-item {
|
|
15
|
-
grid-column-end: span var(--item-span);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
1
|
+
$class-prefix-grid: 'triones-antm-grid';
|
|
2
|
+
/* prettier-ignore */
|
|
3
|
+
.#{$class-prefix-grid} {
|
|
4
|
+
--gap: 0;
|
|
5
|
+
--gap-horizontal: var(--gap);
|
|
6
|
+
--gap-vertical: var(--gap);
|
|
7
|
+
|
|
8
|
+
display: grid;
|
|
9
|
+
grid-gap: 10PX;
|
|
10
|
+
column-gap: var(--gap-horizontal);
|
|
11
|
+
row-gap: var(--gap-vertical);
|
|
12
|
+
grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
|
|
13
|
+
align-items: stretch;
|
|
14
|
+
&-item {
|
|
15
|
+
grid-column-end: span var(--item-span);
|
|
16
|
+
}
|
|
17
|
+
}
|
package/dist/Icon/demo/base.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* compact: true
|
|
1
|
+
/**
|
|
2
|
+
* compact: true
|
|
3
3
|
*/
|
|
4
4
|
import React from "react";
|
|
5
5
|
import * as icons from "../../../../antd-mobile-icons-react";
|
|
6
|
-
import { map, omit } from "lodash";
|
|
6
|
+
import { map, omit } from "lodash-es";
|
|
7
7
|
import { DemoBlock } from "../../DemoBlock";
|
|
8
8
|
export default (function () {
|
|
9
9
|
return /*#__PURE__*/React.createElement(DemoBlock, {
|
package/dist/Input/index.scss
CHANGED
|
@@ -1,173 +1,173 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
$inputCls: 'triones-antm-input';
|
|
4
|
-
$inputAffixWrapperCls: 'triones-antm-input-affix-wrapper';
|
|
5
|
-
$inputGroupWrapperCls: 'triones-antm-input-group-wrapper';
|
|
6
|
-
$inputPotCls: 'triones-antm-pot';
|
|
7
|
-
|
|
8
|
-
input {
|
|
9
|
-
height: auto;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.#{$inputCls} {
|
|
13
|
-
box-sizing: border-box;
|
|
14
|
-
display: inline-block;
|
|
15
|
-
position: relative;
|
|
16
|
-
width: 100%;
|
|
17
|
-
min-width: 0;
|
|
18
|
-
transition: all .2s;
|
|
19
|
-
padding: $trionesInputPaddingBlock $trionesInputPaddingInline;
|
|
20
|
-
outline: none;
|
|
21
|
-
box-shadow: none;
|
|
22
|
-
border: none;
|
|
23
|
-
line-height: $trionesLineHeight;
|
|
24
|
-
border-radius: $trionesBorderRadius;
|
|
25
|
-
font-size: $trionesInputInputFontSize;
|
|
26
|
-
height: auto;
|
|
27
|
-
|
|
28
|
-
&::placeholder {
|
|
29
|
-
font-size: $trionesInputInputFontSize;
|
|
30
|
-
color: #cccccc;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
.#{$inputAffixWrapperCls} {
|
|
36
|
-
box-sizing: border-box;
|
|
37
|
-
position: relative;
|
|
38
|
-
display: inline-flex;
|
|
39
|
-
width: 100%;
|
|
40
|
-
min-width: 0;
|
|
41
|
-
line-height: $trionesLineHeight;
|
|
42
|
-
padding: $trionesInputPaddingBlock $trionesInputPaddingInline;
|
|
43
|
-
gap: 4Px;
|
|
44
|
-
|
|
45
|
-
&::before {
|
|
46
|
-
|
|
47
|
-
display: inline-block;
|
|
48
|
-
width: 0;
|
|
49
|
-
visibility: hidden;
|
|
50
|
-
content: "\a0";
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&::after {
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.#{$inputCls} {
|
|
58
|
-
padding: 0;
|
|
59
|
-
background-color: transparent;
|
|
60
|
-
|
|
61
|
-
&-prifix {
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&-suffix {
|
|
65
|
-
display: inline-flex;
|
|
66
|
-
align-items: center;
|
|
67
|
-
flex-shrink: 0;
|
|
68
|
-
gap: 4Px;
|
|
69
|
-
|
|
70
|
-
.clear-icon {
|
|
71
|
-
color: rgba(0, 0, 0, 0.25);
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
&:hover {
|
|
75
|
-
color: rgba(0, 0, 0, 0.45);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.triones-antm-icon {
|
|
80
|
-
cursor: pointer;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.#{$inputGroupWrapperCls} {
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
.#{$inputPotCls} {
|
|
91
|
-
position: relative;
|
|
92
|
-
display: inline-flex;
|
|
93
|
-
&-wrapper{
|
|
94
|
-
position: relative;
|
|
95
|
-
display: inline-flex;
|
|
96
|
-
align-items: center;
|
|
97
|
-
flex-wrap: nowrap;
|
|
98
|
-
column-gap: 8Px;
|
|
99
|
-
}
|
|
100
|
-
&-input {
|
|
101
|
-
position: absolute;
|
|
102
|
-
background-color: transparent;
|
|
103
|
-
z-index: -1;
|
|
104
|
-
left: 0;
|
|
105
|
-
top: 0;
|
|
106
|
-
right: 0;
|
|
107
|
-
bottom: 0;
|
|
108
|
-
opacity: 0;
|
|
109
|
-
-moz-appearance: textfield;
|
|
110
|
-
&::-webkit-outer-spin-button,
|
|
111
|
-
&::-webkit-inner-spin-button {
|
|
112
|
-
-webkit-appearance: none;
|
|
113
|
-
margin: 0;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
&-item {
|
|
118
|
-
text-align: center;
|
|
119
|
-
font-size: $trionesInputInputFontSize;
|
|
120
|
-
height: 32Px;
|
|
121
|
-
width: 32Px;
|
|
122
|
-
display: inline-flex;
|
|
123
|
-
align-items: center;
|
|
124
|
-
justify-content: center;
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
&::placeholder {
|
|
128
|
-
font-size: $trionesInputInputFontSize;
|
|
129
|
-
}
|
|
130
|
-
&-focus{
|
|
131
|
-
&::after{
|
|
132
|
-
content: ' ';
|
|
133
|
-
height: 100%;
|
|
134
|
-
width: 0.5Px;
|
|
135
|
-
background-color: #0a0a0a;
|
|
136
|
-
transition: transform 0.1s ease;
|
|
137
|
-
animation: blink 1s step-end infinite;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.#{$inputCls}-outlined {
|
|
144
|
-
font-size: $trionesInputInputFontSize;
|
|
145
|
-
color: rgba(0, 0, 0, 0.88);
|
|
146
|
-
background: #ffffff;
|
|
147
|
-
border-width: 1Px;
|
|
148
|
-
border-style: solid;
|
|
149
|
-
border-color: #d9d9d9;
|
|
150
|
-
-webkit-appearance: none;
|
|
151
|
-
-moz-appearance: none;
|
|
152
|
-
appearance: none;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
.#{$inputCls}-textarea {
|
|
158
|
-
box-sizing: border-box;
|
|
159
|
-
width: 100%;
|
|
160
|
-
border: 0;
|
|
161
|
-
outline: 0;
|
|
162
|
-
padding: $trionesInputPaddingBlock $trionesInputPaddingInline;
|
|
163
|
-
&::placeholder {
|
|
164
|
-
font-size: $trionesInputInputFontSize;
|
|
165
|
-
color: #cccccc;
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
@keyframes blink {
|
|
170
|
-
50% {
|
|
171
|
-
background-color: transparent;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
1
|
+
@use "../style/variable" as *;
|
|
2
|
+
|
|
3
|
+
$inputCls: 'triones-antm-input';
|
|
4
|
+
$inputAffixWrapperCls: 'triones-antm-input-affix-wrapper';
|
|
5
|
+
$inputGroupWrapperCls: 'triones-antm-input-group-wrapper';
|
|
6
|
+
$inputPotCls: 'triones-antm-pot';
|
|
7
|
+
|
|
8
|
+
input {
|
|
9
|
+
height: auto;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.#{$inputCls} {
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
display: inline-block;
|
|
15
|
+
position: relative;
|
|
16
|
+
width: 100%;
|
|
17
|
+
min-width: 0;
|
|
18
|
+
transition: all .2s;
|
|
19
|
+
padding: $trionesInputPaddingBlock $trionesInputPaddingInline;
|
|
20
|
+
outline: none;
|
|
21
|
+
box-shadow: none;
|
|
22
|
+
border: none;
|
|
23
|
+
line-height: $trionesLineHeight;
|
|
24
|
+
border-radius: $trionesBorderRadius;
|
|
25
|
+
font-size: $trionesInputInputFontSize;
|
|
26
|
+
height: auto;
|
|
27
|
+
|
|
28
|
+
&::placeholder {
|
|
29
|
+
font-size: $trionesInputInputFontSize;
|
|
30
|
+
color: #cccccc;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
.#{$inputAffixWrapperCls} {
|
|
36
|
+
box-sizing: border-box;
|
|
37
|
+
position: relative;
|
|
38
|
+
display: inline-flex;
|
|
39
|
+
width: 100%;
|
|
40
|
+
min-width: 0;
|
|
41
|
+
line-height: $trionesLineHeight;
|
|
42
|
+
padding: $trionesInputPaddingBlock $trionesInputPaddingInline;
|
|
43
|
+
gap: 4Px;
|
|
44
|
+
|
|
45
|
+
&::before {
|
|
46
|
+
|
|
47
|
+
display: inline-block;
|
|
48
|
+
width: 0;
|
|
49
|
+
visibility: hidden;
|
|
50
|
+
content: "\a0";
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&::after {
|
|
54
|
+
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.#{$inputCls} {
|
|
58
|
+
padding: 0;
|
|
59
|
+
background-color: transparent;
|
|
60
|
+
|
|
61
|
+
&-prifix {
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&-suffix {
|
|
65
|
+
display: inline-flex;
|
|
66
|
+
align-items: center;
|
|
67
|
+
flex-shrink: 0;
|
|
68
|
+
gap: 4Px;
|
|
69
|
+
|
|
70
|
+
.clear-icon {
|
|
71
|
+
color: rgba(0, 0, 0, 0.25);
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
&:hover {
|
|
75
|
+
color: rgba(0, 0, 0, 0.45);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.triones-antm-icon {
|
|
80
|
+
cursor: pointer;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.#{$inputGroupWrapperCls} {
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
.#{$inputPotCls} {
|
|
91
|
+
position: relative;
|
|
92
|
+
display: inline-flex;
|
|
93
|
+
&-wrapper{
|
|
94
|
+
position: relative;
|
|
95
|
+
display: inline-flex;
|
|
96
|
+
align-items: center;
|
|
97
|
+
flex-wrap: nowrap;
|
|
98
|
+
column-gap: 8Px;
|
|
99
|
+
}
|
|
100
|
+
&-input {
|
|
101
|
+
position: absolute;
|
|
102
|
+
background-color: transparent;
|
|
103
|
+
z-index: -1;
|
|
104
|
+
left: 0;
|
|
105
|
+
top: 0;
|
|
106
|
+
right: 0;
|
|
107
|
+
bottom: 0;
|
|
108
|
+
opacity: 0;
|
|
109
|
+
-moz-appearance: textfield;
|
|
110
|
+
&::-webkit-outer-spin-button,
|
|
111
|
+
&::-webkit-inner-spin-button {
|
|
112
|
+
-webkit-appearance: none;
|
|
113
|
+
margin: 0;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&-item {
|
|
118
|
+
text-align: center;
|
|
119
|
+
font-size: $trionesInputInputFontSize;
|
|
120
|
+
height: 32Px;
|
|
121
|
+
width: 32Px;
|
|
122
|
+
display: inline-flex;
|
|
123
|
+
align-items: center;
|
|
124
|
+
justify-content: center;
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
&::placeholder {
|
|
128
|
+
font-size: $trionesInputInputFontSize;
|
|
129
|
+
}
|
|
130
|
+
&-focus{
|
|
131
|
+
&::after{
|
|
132
|
+
content: ' ';
|
|
133
|
+
height: 100%;
|
|
134
|
+
width: 0.5Px;
|
|
135
|
+
background-color: #0a0a0a;
|
|
136
|
+
transition: transform 0.1s ease;
|
|
137
|
+
animation: blink 1s step-end infinite;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.#{$inputCls}-outlined {
|
|
144
|
+
font-size: $trionesInputInputFontSize;
|
|
145
|
+
color: rgba(0, 0, 0, 0.88);
|
|
146
|
+
background: #ffffff;
|
|
147
|
+
border-width: 1Px;
|
|
148
|
+
border-style: solid;
|
|
149
|
+
border-color: #d9d9d9;
|
|
150
|
+
-webkit-appearance: none;
|
|
151
|
+
-moz-appearance: none;
|
|
152
|
+
appearance: none;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
.#{$inputCls}-textarea {
|
|
158
|
+
box-sizing: border-box;
|
|
159
|
+
width: 100%;
|
|
160
|
+
border: 0;
|
|
161
|
+
outline: 0;
|
|
162
|
+
padding: $trionesInputPaddingBlock $trionesInputPaddingInline;
|
|
163
|
+
&::placeholder {
|
|
164
|
+
font-size: $trionesInputInputFontSize;
|
|
165
|
+
color: #cccccc;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
@keyframes blink {
|
|
170
|
+
50% {
|
|
171
|
+
background-color: transparent;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
@
|
|
2
|
-
$trionesInputNumberCls: 'triones-antm-input-number';
|
|
3
|
-
|
|
4
|
-
.#{$trionesInputNumberCls} {
|
|
5
|
-
display: inline-flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
gap: 4Px;
|
|
8
|
-
border-radius: $trionesBorderRadius;
|
|
9
|
-
background-color: $trionesColorTextQuaternary;
|
|
10
|
-
|
|
11
|
-
input {
|
|
12
|
-
&::-webkit-outer-spin-button,
|
|
13
|
-
&::-webkit-inner-spin-button {
|
|
14
|
-
-webkit-appearance: none;
|
|
15
|
-
margin: 0;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
border: 0;
|
|
19
|
-
text-align: center;
|
|
20
|
-
width: 30Px;
|
|
21
|
-
|
|
22
|
-
&:focus {
|
|
23
|
-
outline: none;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&-button {
|
|
28
|
-
cursor: pointer;
|
|
29
|
-
display: flex;
|
|
30
|
-
font-size: 10Px;
|
|
31
|
-
height: 20Px;
|
|
32
|
-
width: 20Px;
|
|
33
|
-
justify-content: center;
|
|
34
|
-
align-items: center;
|
|
35
|
-
&-disabled{
|
|
36
|
-
cursor: not-allowed;
|
|
37
|
-
color: $trionesColorTextDisabled;
|
|
38
|
-
}
|
|
39
|
-
.triones-antm-icon{
|
|
40
|
-
font-size: 10Px!important;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
1
|
+
@use "../style/variable" as *;
|
|
2
|
+
$trionesInputNumberCls: 'triones-antm-input-number';
|
|
3
|
+
|
|
4
|
+
.#{$trionesInputNumberCls} {
|
|
5
|
+
display: inline-flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
gap: 4Px;
|
|
8
|
+
border-radius: $trionesBorderRadius;
|
|
9
|
+
background-color: $trionesColorTextQuaternary;
|
|
10
|
+
|
|
11
|
+
input {
|
|
12
|
+
&::-webkit-outer-spin-button,
|
|
13
|
+
&::-webkit-inner-spin-button {
|
|
14
|
+
-webkit-appearance: none;
|
|
15
|
+
margin: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
border: 0;
|
|
19
|
+
text-align: center;
|
|
20
|
+
width: 30Px;
|
|
21
|
+
|
|
22
|
+
&:focus {
|
|
23
|
+
outline: none;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&-button {
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
display: flex;
|
|
30
|
+
font-size: 10Px;
|
|
31
|
+
height: 20Px;
|
|
32
|
+
width: 20Px;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
align-items: center;
|
|
35
|
+
&-disabled{
|
|
36
|
+
cursor: not-allowed;
|
|
37
|
+
color: $trionesColorTextDisabled;
|
|
38
|
+
}
|
|
39
|
+
.triones-antm-icon{
|
|
40
|
+
font-size: 10Px!important;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
package/dist/Mask/style.scss
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
$maskCls:'triones-antm-mask2';
|
|
2
|
-
|
|
3
|
-
.#{$maskCls}{
|
|
4
|
-
position: fixed;
|
|
5
|
-
top: 0;
|
|
6
|
-
left: 0;
|
|
7
|
-
right: 0;
|
|
8
|
-
bottom: 0;
|
|
9
|
-
display: none;
|
|
10
|
-
background-color: rgba(0, 0, 0, .15);
|
|
11
|
-
z-index: 1000;
|
|
12
|
-
&-open{
|
|
13
|
-
display: block;
|
|
14
|
-
}
|
|
15
|
-
&-inner{
|
|
16
|
-
height: 100%;
|
|
17
|
-
width: 100%;
|
|
18
|
-
position: relative;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
1
|
+
$maskCls:'triones-antm-mask2';
|
|
2
|
+
|
|
3
|
+
.#{$maskCls}{
|
|
4
|
+
position: fixed;
|
|
5
|
+
top: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
right: 0;
|
|
8
|
+
bottom: 0;
|
|
9
|
+
display: none;
|
|
10
|
+
background-color: rgba(0, 0, 0, .15);
|
|
11
|
+
z-index: 1000;
|
|
12
|
+
&-open{
|
|
13
|
+
display: block;
|
|
14
|
+
}
|
|
15
|
+
&-inner{
|
|
16
|
+
height: 100%;
|
|
17
|
+
width: 100%;
|
|
18
|
+
position: relative;
|
|
19
|
+
}
|
|
20
|
+
}
|