@trionesdev/antd-mobile-base-react 0.0.2-beta.16 → 0.0.2-beta.17
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/Alert/style.scss +69 -69
- package/dist/Avatar/avatar.d.ts +2 -2
- package/dist/Avatar/avatar.js +1 -1
- package/dist/Avatar/style.scss +17 -17
- package/dist/Badge/style.scss +100 -100
- package/dist/Card/style.scss +35 -35
- package/dist/CascaderView/style.scss +22 -22
- package/dist/Cell/CellGroup.js +25 -8
- package/dist/Cell/cell.js +20 -37
- package/dist/Cell/context.d.ts +4 -2
- package/dist/Cell/styles.scss +81 -52
- package/dist/Cell/types.d.ts +6 -4
- package/dist/Checkbox/checkbox-group.js +1 -2
- package/dist/Checkbox/index.scss +165 -165
- package/dist/ConfigProvider/config-provider.d.ts +1 -0
- package/dist/DemoBlock/index.scss +20 -20
- package/dist/DemoDescription/index.scss +3 -3
- package/dist/Descriptions/style.scss +65 -65
- package/dist/Divider/divider.d.ts +1 -1
- package/dist/Divider/divider.js +5 -3
- 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/ErrorList.d.ts +4 -0
- package/dist/Form/ErrorList.js +9 -0
- package/dist/Form/context.d.ts +4 -2
- package/dist/Form/context.js +2 -1
- package/dist/Form/form.d.ts +24 -6
- package/dist/Form/form.js +22 -11
- package/dist/Form/hooks/useForm.js +1 -8
- package/dist/Form/hooks/useFormContext.js +1 -2
- package/dist/Form/index.d.ts +6 -3
- package/dist/Form/index.js +4 -1
- package/dist/Form/styles.scss +11 -0
- package/dist/Form/types.d.ts +2 -1
- package/dist/FormCell/FormCell.d.ts +21 -0
- package/dist/FormCell/FormCell.js +56 -0
- package/dist/FormCell/index.d.ts +4 -0
- package/dist/FormCell/index.js +3 -0
- package/dist/FormCell/styles.scss +103 -0
- package/dist/Grid/style.scss +17 -17
- package/dist/Icon/demo/base.js +2 -2
- package/dist/InputNumber/style.scss +100 -100
- package/dist/Loading/DotLoading.d.ts +8 -0
- package/dist/Loading/DotLoading.js +33 -0
- package/dist/Loading/SpinLoading.js +70 -0
- package/dist/Loading/dot-loading.scss +72 -0
- package/dist/Loading/index.d.ts +5 -0
- package/dist/Loading/index.js +3 -0
- package/dist/{SpinLoading → Loading}/spin-loading.scss +39 -40
- package/dist/NavBar/style.scss +64 -64
- package/dist/NoticeBar/style.scss +130 -130
- package/dist/PageIndicator/style.scss +59 -59
- package/dist/Progress/Progress.js +1 -1
- package/dist/Progress/ProgressCircle.js +5 -2
- package/dist/Progress/ProgressLine.js +2 -2
- package/dist/Progress/style.scss +33 -33
- package/dist/Progress/types.d.ts +2 -2
- package/dist/Radio/style.scss +154 -141
- 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 +20 -20
- package/dist/Scaffold/style.scss +17 -17
- package/dist/Segmented/style.scss +75 -75
- package/dist/Skeleton/Skeleton.d.ts +80 -21
- package/dist/Skeleton/Skeleton.js +248 -57
- package/dist/Skeleton/index.d.ts +3 -1
- package/dist/Skeleton/index.js +2 -1
- package/dist/Skeleton/style.scss +215 -48
- package/dist/Space/space.js +12 -9
- package/dist/Space/style.scss +101 -80
- package/dist/Stepper/stepper.js +2 -1
- package/dist/Stepper/style.scss +100 -100
- package/dist/Steps/HorizontalSteps.js +5 -2
- package/dist/Steps/VerticalSteps.js +5 -2
- package/dist/Steps/style.scss +153 -153
- package/dist/Steps/types.d.ts +2 -0
- package/dist/Switch/style.scss +127 -128
- package/dist/Switch/switch.d.ts +2 -0
- package/dist/Switch/switch.js +6 -5
- package/dist/TabBar/demo/base.js +2 -2
- package/dist/TabBar/index.scss +37 -37
- package/dist/Tabs/style.scss +108 -108
- package/dist/Tag/style.scss +110 -109
- package/dist/Tag/tag.d.ts +1 -1
- package/dist/Tag/tag.js +1 -1
- package/dist/WaterMark/style.scss +17 -17
- package/dist/index.d.ts +9 -4
- package/dist/index.js +4 -2
- package/dist/style/css-variable.scss +6 -6
- 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 +180 -173
- package/dist/types.d.ts +6 -1
- package/dist/utils/type.js +36 -36
- package/dist/utils/with-default-props.js +4 -4
- package/package.json +4 -7
- package/dist/SpinLoading/index.d.ts +0 -3
- package/dist/SpinLoading/index.js +0 -2
- package/dist/SpinLoading/spin-loading.js +0 -59
- package/dist/Tabs/demo/base.d.ts +0 -3
- package/dist/Tabs/demo/base.js +0 -59
- /package/dist/{SpinLoading/spin-loading.d.ts → Loading/SpinLoading.d.ts} +0 -0
package/dist/TabBar/index.scss
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
@use "../style/variable" as variable;
|
|
2
|
-
|
|
3
|
-
$trionesTabBarActiveColor: variable.$trionesColorPrimary !default;
|
|
4
|
-
|
|
5
|
-
$tabBarCls: 'triones-tab-bar';
|
|
6
|
-
.#{$tabBarCls} {
|
|
7
|
-
box-sizing: border-box;
|
|
8
|
-
padding-top: 4Px;
|
|
9
|
-
&-wrap {
|
|
10
|
-
display: flex;
|
|
11
|
-
background-color: #ffffff;
|
|
12
|
-
width: 100%;
|
|
13
|
-
justify-content: space-around;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&-item {
|
|
17
|
-
display: flex;
|
|
18
|
-
align-items: center;
|
|
19
|
-
flex-direction: column;
|
|
20
|
-
gap: 4Px;
|
|
21
|
-
cursor: default;
|
|
22
|
-
flex: 1 auto;
|
|
23
|
-
padding: 4Px;
|
|
24
|
-
|
|
25
|
-
&-active {
|
|
26
|
-
color: $trionesTabBarActiveColor;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&-icon {
|
|
30
|
-
flex-grow: 1;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&-label {
|
|
34
|
-
font-size: 12Px;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
1
|
+
@use "../style/variable" as variable;
|
|
2
|
+
|
|
3
|
+
$trionesTabBarActiveColor: variable.$trionesColorPrimary !default;
|
|
4
|
+
|
|
5
|
+
$tabBarCls: 'triones-tab-bar';
|
|
6
|
+
.#{$tabBarCls} {
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
padding-top: 4Px;
|
|
9
|
+
&-wrap {
|
|
10
|
+
display: flex;
|
|
11
|
+
background-color: #ffffff;
|
|
12
|
+
width: 100%;
|
|
13
|
+
justify-content: space-around;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&-item {
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
gap: 4Px;
|
|
21
|
+
cursor: default;
|
|
22
|
+
flex: 1 auto;
|
|
23
|
+
padding: 4Px;
|
|
24
|
+
|
|
25
|
+
&-active {
|
|
26
|
+
color: $trionesTabBarActiveColor;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&-icon {
|
|
30
|
+
flex-grow: 1;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&-label {
|
|
34
|
+
font-size: 12Px;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
package/dist/Tabs/style.scss
CHANGED
|
@@ -1,108 +1,108 @@
|
|
|
1
|
-
@use "../style/variable" as variable;
|
|
2
|
-
$tabsCls: 'triones-antm-tabs';
|
|
3
|
-
|
|
4
|
-
.#{$tabsCls} {
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
&-nav {
|
|
8
|
-
position: relative;
|
|
9
|
-
display: flex;
|
|
10
|
-
flex: none;
|
|
11
|
-
align-items: center;
|
|
12
|
-
|
|
13
|
-
&::before {
|
|
14
|
-
bottom: 0;
|
|
15
|
-
position: absolute;
|
|
16
|
-
right: 0;
|
|
17
|
-
left: 0;
|
|
18
|
-
border-bottom: 1Px solid #f0f0f0;
|
|
19
|
-
content: ' ';
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&-wrap {
|
|
23
|
-
//position: relative;
|
|
24
|
-
//display: flex;
|
|
25
|
-
//flex: auto;
|
|
26
|
-
//align-self: stretch;
|
|
27
|
-
//overflow: hidden;
|
|
28
|
-
//white-space: nowrap;
|
|
29
|
-
//transform: translate(0);
|
|
30
|
-
width: 100%;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&-list {
|
|
34
|
-
position: relative;
|
|
35
|
-
display: flex;
|
|
36
|
-
flex: auto;
|
|
37
|
-
overflow-y: auto;
|
|
38
|
-
scrollbar-width: none;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&-ink-bar {
|
|
43
|
-
position: absolute;
|
|
44
|
-
bottom: 0;
|
|
45
|
-
background-color: variable.$trionesColorPrimary;
|
|
46
|
-
height: 2px;
|
|
47
|
-
//width: 100px;
|
|
48
|
-
&-animated {
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&-tab {
|
|
54
|
-
position: relative;
|
|
55
|
-
display: inline-flex;
|
|
56
|
-
align-items: center;
|
|
57
|
-
justify-content: center;
|
|
58
|
-
padding: 10Px 10Px;
|
|
59
|
-
font-size: 14Px;
|
|
60
|
-
background: transparent;
|
|
61
|
-
border: 0;
|
|
62
|
-
outline: none;
|
|
63
|
-
cursor: pointer;
|
|
64
|
-
color: rgba(0, 0, 0, 0.88);
|
|
65
|
-
white-space: nowrap;
|
|
66
|
-
|
|
67
|
-
&-stretch {
|
|
68
|
-
flex: auto;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&-active {
|
|
72
|
-
color: variable.$trionesColorPrimary;
|
|
73
|
-
&::after{
|
|
74
|
-
content: ' ';
|
|
75
|
-
position: absolute;
|
|
76
|
-
bottom: 0;
|
|
77
|
-
width: calc(100% - 0.24rem * 2);
|
|
78
|
-
height:
|
|
79
|
-
overflow: hidden;
|
|
80
|
-
font-size: 0;
|
|
81
|
-
border-radius: 50vh;
|
|
82
|
-
box-sizing: border-box;
|
|
83
|
-
background-color: variable.$trionesColorPrimary;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
&-content-holder {
|
|
90
|
-
flex: auto;
|
|
91
|
-
overflow: hidden;
|
|
92
|
-
.#{$tabsCls} {
|
|
93
|
-
&-content {
|
|
94
|
-
height: 100%;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&-tab-pane {
|
|
100
|
-
height: 100%;
|
|
101
|
-
display: none;
|
|
102
|
-
|
|
103
|
-
&-active {
|
|
104
|
-
display: block;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
1
|
+
@use "../style/variable" as variable;
|
|
2
|
+
$tabsCls: 'triones-antm-tabs';
|
|
3
|
+
|
|
4
|
+
.#{$tabsCls} {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
&-nav {
|
|
8
|
+
position: relative;
|
|
9
|
+
display: flex;
|
|
10
|
+
flex: none;
|
|
11
|
+
align-items: center;
|
|
12
|
+
|
|
13
|
+
&::before {
|
|
14
|
+
bottom: 0;
|
|
15
|
+
position: absolute;
|
|
16
|
+
right: 0;
|
|
17
|
+
left: 0;
|
|
18
|
+
border-bottom: 1Px solid #f0f0f0;
|
|
19
|
+
content: ' ';
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&-wrap {
|
|
23
|
+
//position: relative;
|
|
24
|
+
//display: flex;
|
|
25
|
+
//flex: auto;
|
|
26
|
+
//align-self: stretch;
|
|
27
|
+
//overflow: hidden;
|
|
28
|
+
//white-space: nowrap;
|
|
29
|
+
//transform: translate(0);
|
|
30
|
+
width: 100%;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&-list {
|
|
34
|
+
position: relative;
|
|
35
|
+
display: flex;
|
|
36
|
+
flex: auto;
|
|
37
|
+
overflow-y: auto;
|
|
38
|
+
scrollbar-width: none;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&-ink-bar {
|
|
43
|
+
position: absolute;
|
|
44
|
+
bottom: 0;
|
|
45
|
+
background-color: variable.$trionesColorPrimary;
|
|
46
|
+
height: 2px;
|
|
47
|
+
//width: 100px;
|
|
48
|
+
&-animated {
|
|
49
|
+
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&-tab {
|
|
54
|
+
position: relative;
|
|
55
|
+
display: inline-flex;
|
|
56
|
+
align-items: center;
|
|
57
|
+
justify-content: center;
|
|
58
|
+
padding: 10Px 10Px;
|
|
59
|
+
font-size: 14Px;
|
|
60
|
+
background: transparent;
|
|
61
|
+
border: 0;
|
|
62
|
+
outline: none;
|
|
63
|
+
cursor: pointer;
|
|
64
|
+
color: rgba(0, 0, 0, 0.88);
|
|
65
|
+
white-space: nowrap;
|
|
66
|
+
|
|
67
|
+
&-stretch {
|
|
68
|
+
flex: auto;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&-active {
|
|
72
|
+
color: variable.$trionesColorPrimary;
|
|
73
|
+
&::after{
|
|
74
|
+
content: ' ';
|
|
75
|
+
position: absolute;
|
|
76
|
+
bottom: 0;
|
|
77
|
+
width: calc(100% - 0.24rem * 2);
|
|
78
|
+
height: 2Px;
|
|
79
|
+
overflow: hidden;
|
|
80
|
+
font-size: 0;
|
|
81
|
+
border-radius: 50vh;
|
|
82
|
+
box-sizing: border-box;
|
|
83
|
+
background-color: variable.$trionesColorPrimary;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&-content-holder {
|
|
90
|
+
flex: auto;
|
|
91
|
+
overflow: hidden;
|
|
92
|
+
.#{$tabsCls} {
|
|
93
|
+
&-content {
|
|
94
|
+
height: 100%;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&-tab-pane {
|
|
100
|
+
height: 100%;
|
|
101
|
+
display: none;
|
|
102
|
+
|
|
103
|
+
&-active {
|
|
104
|
+
display: block;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
package/dist/Tag/style.scss
CHANGED
|
@@ -1,109 +1,110 @@
|
|
|
1
|
-
@use "../style/variable" as variable;
|
|
2
|
-
|
|
3
|
-
$tagCls: 'triones-antm-tag';
|
|
4
|
-
|
|
5
|
-
.#{$tagCls} {
|
|
6
|
-
display: inline-flex;
|
|
7
|
-
align-items: center;
|
|
8
|
-
padding: 2Px 8Px;
|
|
9
|
-
font-size:
|
|
10
|
-
line-height: 1
|
|
11
|
-
border-radius: variable.$
|
|
12
|
-
box-sizing: border-box;
|
|
13
|
-
white-space: nowrap;
|
|
14
|
-
|
|
15
|
-
&-square {
|
|
16
|
-
border-radius: 0;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&-round {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
}
|
|
1
|
+
@use "../style/variable" as variable;
|
|
2
|
+
|
|
3
|
+
$tagCls: 'triones-antm-tag';
|
|
4
|
+
|
|
5
|
+
.#{$tagCls} {
|
|
6
|
+
display: inline-flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
padding: 2Px 8Px;
|
|
9
|
+
font-size: variable.$trionesFontSizeSm;
|
|
10
|
+
line-height: 1;
|
|
11
|
+
border-radius: variable.$trionesBorderRadiusXs;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
white-space: nowrap;
|
|
14
|
+
|
|
15
|
+
&-square {
|
|
16
|
+
border-radius: 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&-round {
|
|
20
|
+
padding: 2Px 8Px;
|
|
21
|
+
border-radius: 12Px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Default variant styles
|
|
25
|
+
&-default {
|
|
26
|
+
&.#{$tagCls}-solid {
|
|
27
|
+
background: #666;
|
|
28
|
+
color: #fff;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&.#{$tagCls}-outline {
|
|
32
|
+
color: #666;
|
|
33
|
+
border: 1px solid #666;
|
|
34
|
+
background: transparent;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// processing variant styles
|
|
39
|
+
&-processing {
|
|
40
|
+
&.#{$tagCls}-solid {
|
|
41
|
+
background: variable.$trionesColorPrimary;
|
|
42
|
+
color: #fff;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.#{$tagCls}-outline {
|
|
46
|
+
color: variable.$trionesColorPrimary;
|
|
47
|
+
border: 1px solid variable.$trionesColorPrimary;
|
|
48
|
+
background: transparent;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// Success variant styles
|
|
53
|
+
&-success {
|
|
54
|
+
&.#{$tagCls}-solid {
|
|
55
|
+
background: variable.$trionesColorSuccess;
|
|
56
|
+
color: #fff;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&.#{$tagCls}-outline {
|
|
60
|
+
color: variable.$trionesColorSuccess;
|
|
61
|
+
border: 1px solid variable.$trionesColorSuccess;
|
|
62
|
+
background: transparent;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Warning variant styles
|
|
67
|
+
&-warning {
|
|
68
|
+
&.#{$tagCls}-solid {
|
|
69
|
+
background: variable.$trionesColorWarning;
|
|
70
|
+
color: #fff;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&.#{$tagCls}-outline {
|
|
74
|
+
color: variable.$trionesColorWarning;
|
|
75
|
+
border: 1px solid variable.$trionesColorWarning;
|
|
76
|
+
background: transparent;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
// Danger variant styles
|
|
81
|
+
&-error {
|
|
82
|
+
&.#{$tagCls}-solid {
|
|
83
|
+
background: variable.$trionesColorError;
|
|
84
|
+
color: #fff;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&.#{$tagCls}-outline {
|
|
88
|
+
color: variable.$trionesColorError;
|
|
89
|
+
border: 1px solid variable.$trionesColorError;
|
|
90
|
+
background: transparent;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&-icon {
|
|
95
|
+
margin-inline-end: 4Px;
|
|
96
|
+
|
|
97
|
+
.triones-antm-icon {
|
|
98
|
+
font-size: 10Px;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&-close {
|
|
103
|
+
margin-inline-start: 4Px;
|
|
104
|
+
display: flex;
|
|
105
|
+
|
|
106
|
+
.triones-antm-icon {
|
|
107
|
+
font-size: 10Px;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
package/dist/Tag/tag.d.ts
CHANGED
package/dist/Tag/tag.js
CHANGED
|
@@ -27,7 +27,7 @@ export var Tag = function Tag(_ref) {
|
|
|
27
27
|
var clsPrefix = 'triones-antm-tag';
|
|
28
28
|
|
|
29
29
|
// 是否是预设颜色
|
|
30
|
-
var isPresetColor = ['default', '
|
|
30
|
+
var isPresetColor = ['default', 'processing', 'success', 'warning', 'error'].includes(color);
|
|
31
31
|
var customStyle = !isPresetColor ? _objectSpread(_objectSpread({}, fill === 'solid' ? {
|
|
32
32
|
backgroundColor: color,
|
|
33
33
|
color: '#fff'
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
$class-prefix-water-mark: 'triones-antm-water-mark';
|
|
2
|
-
/* prettier-ignore */
|
|
3
|
-
.#{$class-prefix-water-mark} {
|
|
4
|
-
--z-index: var(--triones-antm-water-mark-z-index, 2000);
|
|
5
|
-
|
|
6
|
-
position: absolute;
|
|
7
|
-
z-index: var(--z-index);
|
|
8
|
-
left: 0;
|
|
9
|
-
right: 0;
|
|
10
|
-
top: 0;
|
|
11
|
-
bottom: 0;
|
|
12
|
-
pointer-events: none;
|
|
13
|
-
background-repeat: repeat;
|
|
14
|
-
&-full-page {
|
|
15
|
-
position: fixed;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
1
|
+
$class-prefix-water-mark: 'triones-antm-water-mark';
|
|
2
|
+
/* prettier-ignore */
|
|
3
|
+
.#{$class-prefix-water-mark} {
|
|
4
|
+
--z-index: var(--triones-antm-water-mark-z-index, 2000);
|
|
5
|
+
|
|
6
|
+
position: absolute;
|
|
7
|
+
z-index: var(--z-index);
|
|
8
|
+
left: 0;
|
|
9
|
+
right: 0;
|
|
10
|
+
top: 0;
|
|
11
|
+
bottom: 0;
|
|
12
|
+
pointer-events: none;
|
|
13
|
+
background-repeat: repeat;
|
|
14
|
+
&-full-page {
|
|
15
|
+
position: fixed;
|
|
16
|
+
}
|
|
17
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -27,8 +27,11 @@ export { default as ErrorBlock, createErrorBlock } from './ErrorBlock';
|
|
|
27
27
|
export type { ErrorBlockStatus, ErrorBlockProps } from './ErrorBlock';
|
|
28
28
|
export { default as Footer } from './Footer';
|
|
29
29
|
export type { FooterProps, ChipItem, LinkItem } from './Footer';
|
|
30
|
-
export { default as Form, useFormContext } from './Form';
|
|
31
|
-
export type {
|
|
30
|
+
export { default as Form, useFormContext, Field } from './Form';
|
|
31
|
+
export type { FormInstance } from "./Form/interface";
|
|
32
|
+
export type { FormProps, FormLayout, FormHorizontalAlign, FormItemVerticalAlign, FormItemLayout } from './Form';
|
|
33
|
+
export { default as FormCell } from "./FormCell";
|
|
34
|
+
export type { FormCellProps } from "./FormCell";
|
|
32
35
|
export { default as Grid } from './Grid';
|
|
33
36
|
export type { GridProps, GridItemProps } from './Grid';
|
|
34
37
|
export { default as IndexedStack } from './IndexedStack';
|
|
@@ -55,10 +58,12 @@ export { default as Scaffold } from './Scaffold';
|
|
|
55
58
|
export type { ScaffoldProps } from './Scaffold';
|
|
56
59
|
export { Segmented } from './Segmented';
|
|
57
60
|
export type { SegmentedProps } from './Segmented';
|
|
61
|
+
export { default as Skeleton } from './Skeleton';
|
|
62
|
+
export type { SkeletonProps, SkeletonAvatarProps, SkeletonTitleProps, SkeletonParagraphProps, SkeletonInputProps, SkeletonButtonProps, SkeletonBlockType, SkeletonAvatarShape, SkeletonAvatarSize, SkeletonButtonShape, } from './Skeleton';
|
|
58
63
|
export { default as Space } from './Space';
|
|
59
64
|
export type { SpaceProps } from './Space';
|
|
60
|
-
export {
|
|
61
|
-
export type { SpinLoadingProps } from './
|
|
65
|
+
export { DotLoading, SpinLoading } from './Loading';
|
|
66
|
+
export type { DotLoadingProps, SpinLoadingProps } from './Loading';
|
|
62
67
|
export { default as Stepper } from './Stepper';
|
|
63
68
|
export type { StepperProps } from './Stepper';
|
|
64
69
|
export { default as Steps } from './Steps';
|
package/dist/index.js
CHANGED
|
@@ -13,7 +13,8 @@ export { default as Ellipsis } from "./Ellipsis";
|
|
|
13
13
|
export { default as Empty } from "./Empty";
|
|
14
14
|
export { default as ErrorBlock, createErrorBlock } from "./ErrorBlock";
|
|
15
15
|
export { default as Footer } from "./Footer";
|
|
16
|
-
export { default as Form, useFormContext } from "./Form";
|
|
16
|
+
export { default as Form, useFormContext, Field } from "./Form";
|
|
17
|
+
export { default as FormCell } from "./FormCell";
|
|
17
18
|
export { default as Grid } from "./Grid";
|
|
18
19
|
export { default as IndexedStack } from "./IndexedStack";
|
|
19
20
|
export { default as InputNumber } from "./InputNumber";
|
|
@@ -27,8 +28,9 @@ export { default as Result } from "./Result";
|
|
|
27
28
|
export { default as SafeArea } from "./SafeArea";
|
|
28
29
|
export { default as Scaffold } from "./Scaffold";
|
|
29
30
|
export { Segmented } from "./Segmented";
|
|
31
|
+
export { default as Skeleton } from "./Skeleton";
|
|
30
32
|
export { default as Space } from "./Space";
|
|
31
|
-
export {
|
|
33
|
+
export { DotLoading, SpinLoading } from "./Loading";
|
|
32
34
|
export { default as Stepper } from "./Stepper";
|
|
33
35
|
export { default as Steps } from "./Steps";
|
|
34
36
|
export { default as Switch } from "./Switch";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
:root,page {
|
|
2
|
-
//--triones-blue: #1677FF;
|
|
3
|
-
//--trioens-color-primary: #1677FF;
|
|
4
|
-
|
|
5
|
-
--triones-safe-area-multiple:1;
|
|
6
|
-
}
|
|
1
|
+
:root,page {
|
|
2
|
+
//--triones-blue: #1677FF;
|
|
3
|
+
//--trioens-color-primary: #1677FF;
|
|
4
|
+
|
|
5
|
+
--triones-safe-area-multiple:1;
|
|
6
|
+
}
|