@kaiheila/ui-components 0.0.1 → 0.0.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/dist/main.css +3 -12
- package/dist/ui-components.js +48 -2
- package/package.json +1 -1
package/dist/main.css
CHANGED
|
@@ -487,13 +487,11 @@ textarea {
|
|
|
487
487
|
height: 14px;
|
|
488
488
|
font-size: 14px;
|
|
489
489
|
line-height: 14px;
|
|
490
|
-
|
|
491
|
-
border-style: solid;
|
|
490
|
+
color: var(--text-tip-color);
|
|
492
491
|
border-radius: 4px;
|
|
493
492
|
margin-right: 10px;
|
|
494
493
|
vertical-align: middle;
|
|
495
494
|
box-sizing: border-box;
|
|
496
|
-
border-color: var(--text-tip-color);
|
|
497
495
|
}
|
|
498
496
|
.kaihei-checkbox-mute.active {
|
|
499
497
|
display: inline-flex;
|
|
@@ -825,17 +823,10 @@ textarea {
|
|
|
825
823
|
justify-content: center;
|
|
826
824
|
align-items: center;
|
|
827
825
|
position: relative;
|
|
828
|
-
|
|
826
|
+
color: var(--text-tip-color);
|
|
829
827
|
}
|
|
830
828
|
.kaihei-radio.checked {
|
|
831
|
-
|
|
832
|
-
}
|
|
833
|
-
.kaihei-radio.checked:after {
|
|
834
|
-
content: "";
|
|
835
|
-
width: 8px;
|
|
836
|
-
height: 8px;
|
|
837
|
-
background-color: var(--color-primary);
|
|
838
|
-
border-radius: 50%;
|
|
829
|
+
color: var(--color-primary);
|
|
839
830
|
}
|
|
840
831
|
.form-item-radio {
|
|
841
832
|
display: flex;
|
package/dist/ui-components.js
CHANGED
|
@@ -2803,7 +2803,7 @@ module.exports = require("react-dom");
|
|
|
2803
2803
|
/* 6 */
|
|
2804
2804
|
/***/ (function(module) {
|
|
2805
2805
|
|
|
2806
|
-
module.exports = JSON.parse("{\"name\":\"@kaiheila/ui-components\",\"version\":\"0.0.1\",\"description\":\"开黑啦 UI Components\",\"main\":\"dist/ui-components.js\",\"scripts\":{\"build\":\"webpack\",\"demo\":\"webpack-dev-server --config webpack.config.demo.js\"
|
|
2806
|
+
module.exports = JSON.parse("{\"name\":\"@kaiheila/ui-components\",\"version\":\"0.0.1\",\"description\":\"开黑啦 UI Components\",\"main\":\"dist/ui-components.js\",\"scripts\":{\"build\":\"webpack\",\"demo\":\"webpack-dev-server --config webpack.config.demo.js\"},\"keywords\":[\"UI\",\"Components\"],\"author\":\"yangchuan\",\"license\":\"ISC\",\"files\":[\"dist\"],\"devDependencies\":{\"@babel/core\":\"^7.15.5\",\"@babel/preset-env\":\"^7.15.6\",\"@babel/preset-react\":\"^7.14.5\",\"@webpack-cli/serve\":\"^1.6.0\",\"babel-loader\":\"^8.2.2\",\"classnames\":\"^2.3.1\",\"css-loader\":\"^2.1.1\",\"html-webpack-plugin\":\"^4.5.2\",\"less\":\"^4.1.2\",\"less-loader\":\"^5.0.0\",\"mini-css-extract-plugin\":\"^0.8.0\",\"prop-types\":\"^15.7.2\",\"react\":\"^17.0.2\",\"react-dom\":\"^17.0.2\",\"react-tooltip\":\"^4.2.21\",\"style-loader\":\"^1.0.0\",\"stylelint-config-recommended\":\"^5.0.0\",\"url-loader\":\"^2.1.0\",\"webpack\":\"^4.40.2\",\"webpack-cli\":\"^3.3.1\",\"webpack-dev-server\":\"^3.2.1\"},\"peerDependencies\":{\"react\":\"^17.0.2\",\"react-dom\":\"^17.0.2\"},\"browserslist\":{\"production\":[\">0.2%\",\"not dead\",\"not op_mini all\"],\"development\":[\"last 1 chrome version\",\"last 1 firefox version\",\"last 1 safari version\"]}}");
|
|
2807
2807
|
|
|
2808
2808
|
/***/ }),
|
|
2809
2809
|
/* 7 */
|
|
@@ -5173,7 +5173,53 @@ var radio_RadioForm = /*#__PURE__*/function (_Component2) {
|
|
|
5173
5173
|
className: external_classnames_default()('kaihei-radio', className, {
|
|
5174
5174
|
'checked': is_checked
|
|
5175
5175
|
})
|
|
5176
|
-
}
|
|
5176
|
+
}, is_checked ? /*#__PURE__*/external_react_default.a.createElement("svg", {
|
|
5177
|
+
width: "14px",
|
|
5178
|
+
height: "14px",
|
|
5179
|
+
viewBox: "0 0 14 14",
|
|
5180
|
+
version: "1.1",
|
|
5181
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
5182
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
5183
|
+
id: "10\u6708",
|
|
5184
|
+
stroke: "none",
|
|
5185
|
+
strokeWidth: "1",
|
|
5186
|
+
fill: "none",
|
|
5187
|
+
fillRule: "evenodd"
|
|
5188
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
5189
|
+
id: "\u5355\u9009\u63A7\u4EF6",
|
|
5190
|
+
transform: "translate(-443.000000, -178.000000)",
|
|
5191
|
+
fill: "currentColor",
|
|
5192
|
+
fillRule: "nonzero"
|
|
5193
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
5194
|
+
id: "\u7F16\u7EC4",
|
|
5195
|
+
transform: "translate(140.000000, 113.000000)"
|
|
5196
|
+
}, /*#__PURE__*/external_react_default.a.createElement("path", {
|
|
5197
|
+
d: "M310,65 C313.865993,65 317,68.1340068 317,72 C317,75.8659932 313.865993,79 310,79 C306.134007,79 303,75.8659932 303,72 C303,68.1340068 306.134007,65 310,65 Z M310,66.5 C306.962434,66.5 304.5,68.9624339 304.5,72 C304.5,75.0375661 306.962434,77.5 310,77.5 C313.037566,77.5 315.5,75.0375661 315.5,72 C315.5,68.9624339 313.037566,66.5 310,66.5 Z M310,68 C312.209139,68 314,69.790861 314,72 C314,74.209139 312.209139,76 310,76 C307.790861,76 306,74.209139 306,72 C306,69.790861 307.790861,68 310,68 Z",
|
|
5198
|
+
id: "\u5355\u9009\u9009\u4E2D"
|
|
5199
|
+
}))))) : /*#__PURE__*/external_react_default.a.createElement("svg", {
|
|
5200
|
+
width: "14px",
|
|
5201
|
+
height: "14px",
|
|
5202
|
+
viewBox: "0 0 14 14",
|
|
5203
|
+
version: "1.1",
|
|
5204
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
5205
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
5206
|
+
id: "10\u6708",
|
|
5207
|
+
stroke: "none",
|
|
5208
|
+
strokeWidth: "1",
|
|
5209
|
+
fill: "none",
|
|
5210
|
+
fillRule: "evenodd"
|
|
5211
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
5212
|
+
id: "\u5355\u9009\u63A7\u4EF6",
|
|
5213
|
+
transform: "translate(-365.000000, -178.000000)",
|
|
5214
|
+
fill: "currentColor",
|
|
5215
|
+
fillRule: "nonzero"
|
|
5216
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
5217
|
+
id: "\u7F16\u7EC4",
|
|
5218
|
+
transform: "translate(140.000000, 113.000000)"
|
|
5219
|
+
}, /*#__PURE__*/external_react_default.a.createElement("path", {
|
|
5220
|
+
d: "M232,65 C235.865993,65 239,68.1340068 239,72 C239,75.8659932 235.865993,79 232,79 C228.134007,79 225,75.8659932 225,72 C225,68.1340068 228.134007,65 232,65 Z M232,66.5 C228.962434,66.5 226.5,68.9624339 226.5,72 C226.5,75.0375661 228.962434,77.5 232,77.5 C235.037566,77.5 237.5,75.0375661 237.5,72 C237.5,68.9624339 235.037566,66.5 232,66.5 Z",
|
|
5221
|
+
id: "\u5355\u9009\u9ED8\u8BA4"
|
|
5222
|
+
})))))), /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
5177
5223
|
className: "label"
|
|
5178
5224
|
}, item.label));
|
|
5179
5225
|
}));
|