@kaiheila/ui-components 0.1.4 → 0.1.7
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 +11 -7
- package/dist/ui-components.js +1 -1
- package/package.json +1 -1
package/dist/main.css
CHANGED
|
@@ -250,9 +250,10 @@ textarea {
|
|
|
250
250
|
.chuanyu-button.size-sm {
|
|
251
251
|
height: 32px;
|
|
252
252
|
min-width: 80px;
|
|
253
|
-
font-size:
|
|
253
|
+
font-size: 14px;
|
|
254
254
|
padding: 0 12px;
|
|
255
255
|
border-radius: 8px;
|
|
256
|
+
line-height: 32px;
|
|
256
257
|
}
|
|
257
258
|
.chuanyu-button.size-md {
|
|
258
259
|
height: 36px;
|
|
@@ -354,7 +355,7 @@ textarea {
|
|
|
354
355
|
}
|
|
355
356
|
.chuanyu-button.type-simple {
|
|
356
357
|
background-color: var(--button-simple);
|
|
357
|
-
color: var(--text-color);
|
|
358
|
+
color: var(--text-description-color);
|
|
358
359
|
}
|
|
359
360
|
.chuanyu-button.type-simple:not(.disabled):hover {
|
|
360
361
|
background-color: var(--button-simple-hover);
|
|
@@ -367,7 +368,7 @@ textarea {
|
|
|
367
368
|
background-color: transparent;
|
|
368
369
|
}
|
|
369
370
|
.chuanyu-button.type-default {
|
|
370
|
-
color: var(--text-color);
|
|
371
|
+
color: var(--text-description-color);
|
|
371
372
|
background-color: var(--button-default);
|
|
372
373
|
}
|
|
373
374
|
.chuanyu-button.type-default:hover {
|
|
@@ -382,7 +383,7 @@ textarea {
|
|
|
382
383
|
background: rgba(187, 190, 196, 0.3);
|
|
383
384
|
}
|
|
384
385
|
.chuanyu-button.type-ghost {
|
|
385
|
-
color: var(--text-color);
|
|
386
|
+
color: var(--text-description-color);
|
|
386
387
|
background-color: var(--button-simple);
|
|
387
388
|
border: 1px solid var(--border-color);
|
|
388
389
|
}
|
|
@@ -914,11 +915,11 @@ textarea {
|
|
|
914
915
|
transform: translate(-50%);
|
|
915
916
|
width: 220px;
|
|
916
917
|
padding: 10px;
|
|
917
|
-
border-radius:
|
|
918
|
+
border-radius: 12px;
|
|
918
919
|
border: none;
|
|
919
920
|
}
|
|
920
921
|
.selector-option.simple .selector-option-item {
|
|
921
|
-
border-radius:
|
|
922
|
+
border-radius: 8px;
|
|
922
923
|
}
|
|
923
924
|
.selector-option.simple .selector-option-item.selected {
|
|
924
925
|
background-color: transparent;
|
|
@@ -995,7 +996,7 @@ textarea {
|
|
|
995
996
|
overflow: hidden;
|
|
996
997
|
text-overflow: ellipsis;
|
|
997
998
|
cursor: pointer;
|
|
998
|
-
border-radius:
|
|
999
|
+
border-radius: 8px;
|
|
999
1000
|
margin-bottom: 2px;
|
|
1000
1001
|
}
|
|
1001
1002
|
.selector-option-item:last-child {
|
|
@@ -1004,6 +1005,9 @@ textarea {
|
|
|
1004
1005
|
.selector-option-item:hover {
|
|
1005
1006
|
background-color: var(--menu-hover);
|
|
1006
1007
|
}
|
|
1008
|
+
.selector-option-item:active {
|
|
1009
|
+
background-color: var(--menu-active);
|
|
1010
|
+
}
|
|
1007
1011
|
.selector-option-item.selected {
|
|
1008
1012
|
background-color: var(--menu-active);
|
|
1009
1013
|
}
|
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.1.
|
|
2806
|
+
module.exports = JSON.parse("{\"name\":\"@kaiheila/ui-components\",\"version\":\"0.1.6\",\"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\":\"^16.9.0\",\"react-dom\":\"^16.9.0\",\"react-tooltip\":\"^4.2.21\",\"style-loader\":\"^1.0.0\",\"url-loader\":\"^2.1.0\",\"webpack\":\"^4.40.2\",\"webpack-cli\":\"^3.3.1\",\"webpack-dev-server\":\"^3.2.1\"},\"peerDependencies\":{\"react\":\"^16.9.0\",\"react-dom\":\"^16.9.0\"},\"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 */
|