@titaui/pc 1.9.31 → 1.9.32
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/lib/components/dialog/index.css +2 -0
- package/lib/components/table/index.css +1 -0
- package/package.json +1 -1
- package/src/components/dialog/index.scss +2 -0
- package/src/components/table/index.scss +1 -0
- package/lib/components/table/checkbox/index.css +0 -95
- package/lib/components/table/checkbox/index.js +0 -24
- package/src/components/table/checkbox/index.js +0 -11
- package/src/components/table/checkbox/index.scss +0 -93
package/package.json
CHANGED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
.tita-checkbox {
|
|
2
|
-
font-size: 14px;
|
|
3
|
-
line-height: 1.5;
|
|
4
|
-
color: rgba(0, 0, 0, 0.65);
|
|
5
|
-
box-sizing: border-box;
|
|
6
|
-
margin: 0;
|
|
7
|
-
padding: 0;
|
|
8
|
-
list-style: none;
|
|
9
|
-
white-space: nowrap;
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
outline: 0;
|
|
12
|
-
display: inline-block;
|
|
13
|
-
line-height: 1;
|
|
14
|
-
position: relative;
|
|
15
|
-
vertical-align: middle;
|
|
16
|
-
left: 1px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.tita-checkbox .rc-checkbox-checked .rc-checkbox-inner {
|
|
20
|
-
background: #2879ff;
|
|
21
|
-
border: none;
|
|
22
|
-
border-radius: 2px;
|
|
23
|
-
width: 16px;
|
|
24
|
-
height: 16px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.tita-checkbox .rc-checkbox-checked .rc-checkbox-inner::after {
|
|
28
|
-
transform: rotate(0deg) scale(0.6);
|
|
29
|
-
border: 0 solid transparent;
|
|
30
|
-
transition: none;
|
|
31
|
-
color: #fff;
|
|
32
|
-
content: "\E9f9" !important;
|
|
33
|
-
left: 1px;
|
|
34
|
-
top: 1px;
|
|
35
|
-
font-weight: 700;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.tita-checkbox .rc-checkbox-checked::after {
|
|
39
|
-
position: absolute;
|
|
40
|
-
top: 0;
|
|
41
|
-
left: 0;
|
|
42
|
-
width: 100%;
|
|
43
|
-
height: 100%;
|
|
44
|
-
border-radius: 2px;
|
|
45
|
-
border: 1px solid #1687d9;
|
|
46
|
-
content: "";
|
|
47
|
-
animation: antCheckboxEffect 0.36s ease-in-out;
|
|
48
|
-
animation-fill-mode: both;
|
|
49
|
-
visibility: hidden;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.tita-checkbox .rc-checkbox-input {
|
|
53
|
-
position: absolute;
|
|
54
|
-
left: 0;
|
|
55
|
-
z-index: 1;
|
|
56
|
-
cursor: pointer;
|
|
57
|
-
opacity: 0;
|
|
58
|
-
top: -5px;
|
|
59
|
-
bottom: 0;
|
|
60
|
-
right: 0;
|
|
61
|
-
width: 100%;
|
|
62
|
-
height: 100%;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.tita-checkbox .rc-checkbox-inner {
|
|
66
|
-
position: relative;
|
|
67
|
-
top: 0;
|
|
68
|
-
left: 0;
|
|
69
|
-
display: block;
|
|
70
|
-
width: 14px;
|
|
71
|
-
height: 14px;
|
|
72
|
-
border: 1px solid #e9ecf0;
|
|
73
|
-
border-radius: 2px;
|
|
74
|
-
background-color: #fff;
|
|
75
|
-
transition: none;
|
|
76
|
-
font-family: tu-icon !important;
|
|
77
|
-
font-style: normal;
|
|
78
|
-
font-weight: 400;
|
|
79
|
-
font-variant: normal;
|
|
80
|
-
text-transform: none;
|
|
81
|
-
line-height: 1;
|
|
82
|
-
-webkit-font-smoothing: antialiased;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.tita-checkbox .rc-checkbox-inner::after {
|
|
86
|
-
transform: rotate(0deg) scale(1);
|
|
87
|
-
position: absolute;
|
|
88
|
-
display: table;
|
|
89
|
-
border: 0 solid #1587d9;
|
|
90
|
-
border-top: 0;
|
|
91
|
-
border-left: 0;
|
|
92
|
-
content: " ";
|
|
93
|
-
left: 0;
|
|
94
|
-
transition: none;
|
|
95
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
|
-
var _rcCheckbox = _interopRequireDefault(require("rc-checkbox"));
|
|
11
|
-
|
|
12
|
-
require("./index.css");
|
|
13
|
-
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
-
|
|
16
|
-
var _default = function _default(props) {
|
|
17
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
18
|
-
className: "tita-checkbox"
|
|
19
|
-
}, /*#__PURE__*/_react["default"].createElement(_rcCheckbox["default"], props), /*#__PURE__*/_react["default"].createElement("div", {
|
|
20
|
-
className: "tita-checkbox-sign"
|
|
21
|
-
}));
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
exports["default"] = _default;
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
.tita-checkbox {
|
|
2
|
-
font-size: 14px;
|
|
3
|
-
line-height: 1.5;
|
|
4
|
-
color: rgba(0, 0, 0, 0.65);
|
|
5
|
-
box-sizing: border-box;
|
|
6
|
-
margin: 0;
|
|
7
|
-
padding: 0;
|
|
8
|
-
list-style: none;
|
|
9
|
-
white-space: nowrap;
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
outline: 0;
|
|
12
|
-
display: inline-block;
|
|
13
|
-
line-height: 1;
|
|
14
|
-
position: relative;
|
|
15
|
-
vertical-align: middle;
|
|
16
|
-
left: 1px;
|
|
17
|
-
|
|
18
|
-
.rc-checkbox-checked {
|
|
19
|
-
.rc-checkbox-inner {
|
|
20
|
-
background: #2879ff;
|
|
21
|
-
border: none;
|
|
22
|
-
border-radius: 2px;
|
|
23
|
-
width: 16px;
|
|
24
|
-
height: 16px;
|
|
25
|
-
&::after {
|
|
26
|
-
transform: rotate(0deg) scale(0.6);
|
|
27
|
-
border: 0 solid transparent;
|
|
28
|
-
transition: none;
|
|
29
|
-
color: #fff;
|
|
30
|
-
content: "\E9f9" !important;
|
|
31
|
-
left: 1px;
|
|
32
|
-
top: 1px;
|
|
33
|
-
font-weight: 700;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&::after {
|
|
38
|
-
position: absolute;
|
|
39
|
-
top: 0;
|
|
40
|
-
left: 0;
|
|
41
|
-
width: 100%;
|
|
42
|
-
height: 100%;
|
|
43
|
-
border-radius: 2px;
|
|
44
|
-
border: 1px solid #1687d9;
|
|
45
|
-
content: "";
|
|
46
|
-
animation: antCheckboxEffect 0.36s ease-in-out;
|
|
47
|
-
animation-fill-mode: both;
|
|
48
|
-
visibility: hidden;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
.rc-checkbox-input {
|
|
52
|
-
position: absolute;
|
|
53
|
-
left: 0;
|
|
54
|
-
z-index: 1;
|
|
55
|
-
cursor: pointer;
|
|
56
|
-
opacity: 0;
|
|
57
|
-
top: -5px;
|
|
58
|
-
bottom: 0;
|
|
59
|
-
right: 0;
|
|
60
|
-
width: 100%;
|
|
61
|
-
height: 100%;
|
|
62
|
-
}
|
|
63
|
-
.rc-checkbox-inner {
|
|
64
|
-
position: relative;
|
|
65
|
-
top: 0;
|
|
66
|
-
left: 0;
|
|
67
|
-
display: block;
|
|
68
|
-
width: 14px;
|
|
69
|
-
height: 14px;
|
|
70
|
-
border: 1px solid #e9ecf0;
|
|
71
|
-
border-radius: 2px;
|
|
72
|
-
background-color: #fff;
|
|
73
|
-
transition: none;
|
|
74
|
-
font-family: tu-icon !important;
|
|
75
|
-
font-style: normal;
|
|
76
|
-
font-weight: 400;
|
|
77
|
-
font-variant: normal;
|
|
78
|
-
text-transform: none;
|
|
79
|
-
line-height: 1;
|
|
80
|
-
-webkit-font-smoothing: antialiased;
|
|
81
|
-
&::after {
|
|
82
|
-
transform: rotate(0deg) scale(1);
|
|
83
|
-
position: absolute;
|
|
84
|
-
display: table;
|
|
85
|
-
border: 0 solid #1587d9;
|
|
86
|
-
border-top: 0;
|
|
87
|
-
border-left: 0;
|
|
88
|
-
content: " ";
|
|
89
|
-
left: 0;
|
|
90
|
-
transition: none;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|