@arcblock/ux 1.17.15 → 1.17.16
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/Blocklet/blocklet.js
CHANGED
|
@@ -36,7 +36,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
36
36
|
const Div = _styledComponents.default.div.withConfig({
|
|
37
37
|
displayName: "blocklet__Div",
|
|
38
38
|
componentId: "sc-atxvkd-0"
|
|
39
|
-
})(["&.arcblock-blocklet{padding:16px 16px 0 16px;}.arcblock-blocklet__content{cursor:pointer;display:flex;", "{align-items:center;}}.arcblock-blocklet__cover{width:64px;height:64px;margin-right:16px;overflow:hidden;border-radius:12px;transform:translateZ(0);", "{width:80px;height:80px;margin-bottom:12px;}}.arcblock-blocklet__button--hover{&:not(.Mui-disabled){position:relative;z-index:1;&::before{content:'';position:absolute;height:100%;width:100%;left:0;top:0;transition:opacity 0.3s;}&:hover::before{opacity:0;}&::after{content:'';position:absolute;height:100%;width:100%;background-color:", ";transform:scale(0.1);opacity:0;z-index:-1;transition:transform 0.3s,opacity 0.3s,background-color 0.3s;}&:hover::after{opacity:1;transform-origin:center;transform:scale(1);}}&:not(.Mui-disabled){background-color:transparent !important;color:", ";}&:not(.Mui-disabled){&:hover{color:", ";}}}.arcblock-blocklet__info{flex:1;overflow:hidden;border-bottom:1px solid ", ";padding-bottom:24px;}.arcblock-blocklet__text{height:57px;overflow:hidden;}.arcblock-blocklet__title{margin:0;font-size:16px;font-weight:500;line-height:19px;overflow:hidden;text-overflow:ellipsis;
|
|
39
|
+
})(["&.arcblock-blocklet{padding:16px 16px 0 16px;}.arcblock-blocklet__content{cursor:pointer;display:flex;", "{align-items:center;}}.arcblock-blocklet__cover{width:64px;height:64px;margin-right:16px;overflow:hidden;border-radius:12px;transform:translateZ(0);", "{width:80px;height:80px;margin-bottom:12px;}}.arcblock-blocklet__button--hover{&:not(.Mui-disabled){position:relative;z-index:1;&::before{content:'';position:absolute;height:100%;width:100%;left:0;top:0;transition:opacity 0.3s;}&:hover::before{opacity:0;}&::after{content:'';position:absolute;height:100%;width:100%;background-color:", ";transform:scale(0.1);opacity:0;z-index:-1;transition:transform 0.3s,opacity 0.3s,background-color 0.3s;}&:hover::after{opacity:1;transform-origin:center;transform:scale(1);}}&:not(.Mui-disabled){background-color:transparent !important;color:", ";}&:not(.Mui-disabled){&:hover{color:", ";}}}.arcblock-blocklet__info{flex:1;overflow:hidden;border-bottom:1px solid ", ";padding-bottom:24px;}.arcblock-blocklet__text{height:57px;overflow:hidden;}.arcblock-blocklet__title{margin:0;font-size:16px;font-weight:500;line-height:19px;max-height:19px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.arcblock-blocklet__describe{margin-top:4px;color:", ";font-size:14px;font-weight:500;line-height:17px;max-height:34px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-all;}.arcblock-blocklet__version{color:", ";font-size:12px;}"], props => props.theme.breakpoints.up('sm'), props => props.theme.breakpoints.up('sm'), props => props.theme.palette.primary.main, props => props.theme.palette.primary.main, props => props.theme.palette.common.white, props => props.theme.palette.divider, props => props.theme.palette.grey[600], props => props.theme.palette.grey[600]);
|
|
40
40
|
|
|
41
41
|
function BlockletStore(_ref) {
|
|
42
42
|
let {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcblock/ux",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.16",
|
|
4
4
|
"description": "Common used react components for arcblock products",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"react": ">=16.12.0",
|
|
54
54
|
"react-ga": "^2.7.0"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "acab741ed856df9b4def509821a1ab6217350625",
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@arcblock/icons": "^1.17.
|
|
59
|
-
"@arcblock/react-hooks": "^1.17.
|
|
58
|
+
"@arcblock/icons": "^1.17.16",
|
|
59
|
+
"@arcblock/react-hooks": "^1.17.16",
|
|
60
60
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
61
61
|
"@fontsource/lato": "^4.5.3",
|
|
62
62
|
"@material-ui/core": "^4.12.3",
|
package/src/Blocklet/blocklet.js
CHANGED
|
@@ -95,24 +95,24 @@ const Div = styled.div`
|
|
|
95
95
|
font-size: 16px;
|
|
96
96
|
font-weight: 500;
|
|
97
97
|
line-height: 19px;
|
|
98
|
+
max-height: 19px;
|
|
98
99
|
overflow: hidden;
|
|
99
100
|
text-overflow: ellipsis;
|
|
100
|
-
|
|
101
|
-
-webkit-line-clamp: 2;
|
|
102
|
-
-webkit-box-orient: vertical;
|
|
103
|
-
max-height: 38px;
|
|
104
|
-
word-break: break-all;
|
|
101
|
+
white-space: nowrap;
|
|
105
102
|
}
|
|
106
103
|
.arcblock-blocklet__describe {
|
|
107
|
-
margin-top:
|
|
104
|
+
margin-top: 4px;
|
|
108
105
|
color: ${props => props.theme.palette.grey[600]};
|
|
109
106
|
font-size: 14px;
|
|
110
107
|
font-weight: 500;
|
|
111
108
|
line-height: 17px;
|
|
112
|
-
max-height:
|
|
109
|
+
max-height: 34px;
|
|
113
110
|
overflow: hidden;
|
|
114
111
|
text-overflow: ellipsis;
|
|
115
|
-
|
|
112
|
+
display: -webkit-box;
|
|
113
|
+
-webkit-line-clamp: 2;
|
|
114
|
+
-webkit-box-orient: vertical;
|
|
115
|
+
word-break: break-all;
|
|
116
116
|
}
|
|
117
117
|
.arcblock-blocklet__version {
|
|
118
118
|
color: ${props => props.theme.palette.grey[600]};
|