@xaypay/tui 0.0.76 → 0.0.78
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/dist/index.es.js +239 -298
- package/dist/index.js +238 -298
- package/package.json +3 -3
- package/src/assets/table-settings-icon.svg +3 -0
- package/src/components/button/button.stories.js +4 -2
- package/src/components/button/index.js +9 -4
- package/src/components/captcha/index.js +2 -0
- package/src/components/input/index.js +35 -4
- package/src/components/input/input.stories.js +1 -1
- package/src/components/newAutocomplete/index.js +11 -12
- package/src/components/newFile/index.js +10 -10
- package/src/components/select/index.js +7 -6
- package/src/components/select/select.module.css +1 -1
- package/src/components/table/index.js +172 -113
- package/src/components/table/table.stories.js +198 -29
- package/src/stories/static/button-usage-icon.png +0 -0
- package/src/stories/usage.stories.mdx +4 -0
- package/src/utils/index.js +3 -16
- package/tui.config.js +29 -6
- package/src/components/table/table.module.css +0 -80
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
.table-wrap {
|
|
2
|
-
width: 100%;
|
|
3
|
-
background: #fff;
|
|
4
|
-
box-shadow: 0 10px 30px rgba(0,35,106,.06);
|
|
5
|
-
border-radius: 14px 14px 0 0;
|
|
6
|
-
overflow: hidden
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.table-wrap:not(:first-child) {
|
|
10
|
-
margin-top: 30px
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.table-bottom-inner .table-items:first-child,.table-top .table-items:first-child {
|
|
14
|
-
flex: 0 0 auto;
|
|
15
|
-
width: 60px
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.table-bottom-inner .table-items:nth-child(2),.table-top .table-items:nth-child(2) {
|
|
19
|
-
flex: 0 0 auto;
|
|
20
|
-
width: 120px
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.table-bottom-inner .table-items:nth-child(3),.table-top .table-items:nth-child(3) {
|
|
24
|
-
flex: 0 0 auto;
|
|
25
|
-
width: 170px
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.table-bottom-inner .table-items:nth-child(4),.table-top .table-items:nth-child(4) {
|
|
29
|
-
flex: 0 0 auto;
|
|
30
|
-
width: 126px
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.table-bottom-inner .table-items:nth-child(5),.table-bottom-inner .table-items:nth-child(6),.table-bottom-inner .table-items:nth-child(8),.table-top .table-items:nth-child(5),.table-top .table-items:nth-child(6),.table-top .table-items:nth-child(8) {
|
|
34
|
-
flex: 0 0 auto;
|
|
35
|
-
width: 100px
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.table-bottom-inner .table-items:last-child,.table-top .table-items:last-child {
|
|
39
|
-
flex: 0 0 auto;
|
|
40
|
-
width: 104px
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.table-top {
|
|
44
|
-
width: 100%;
|
|
45
|
-
height: 44px;
|
|
46
|
-
background: #00236a
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.table-top .table-items {
|
|
50
|
-
flex: 1 1;
|
|
51
|
-
display: flex;
|
|
52
|
-
align-items: center;
|
|
53
|
-
justify-content: center;
|
|
54
|
-
text-align: center;
|
|
55
|
-
color: #fff;
|
|
56
|
-
font-size: 15px;
|
|
57
|
-
line-height: 17px
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.table-bottom-inner {
|
|
61
|
-
width: 100%;
|
|
62
|
-
min-height: 40px;
|
|
63
|
-
background: #fff
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.table-bottom-inner .table-items {
|
|
67
|
-
flex: 1 1;
|
|
68
|
-
display: flex;
|
|
69
|
-
align-items: center;
|
|
70
|
-
justify-content: center;
|
|
71
|
-
text-align: center;
|
|
72
|
-
font-size: 14px;
|
|
73
|
-
line-height: 16px;
|
|
74
|
-
border-bottom: 1px solid #eee;
|
|
75
|
-
padding: 4px
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.table-bottom-inner .table-items:not(:last-child) {
|
|
79
|
-
border-right: 1px solid #eee
|
|
80
|
-
}
|