@riil-frontend/component-topology 2.12.7-alpha.20 → 2.12.7-alpha.21
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/build/1.js +1 -1
- package/build/index.css +1 -1
- package/build/index.js +12 -12
- package/es/core/editor/components/settings/common/LayoutSettings.js +8 -4
- package/es/core/editor/components/settings/common/LayoutSettings.module.scss +21 -2
- package/lib/core/editor/components/settings/common/LayoutSettings.js +8 -4
- package/lib/core/editor/components/settings/common/LayoutSettings.module.scss +21 -2
- package/package.json +2 -2
|
@@ -64,18 +64,22 @@ var LayoutSettings = function LayoutSettings(props) {
|
|
|
64
64
|
};
|
|
65
65
|
});
|
|
66
66
|
return /*#__PURE__*/React.createElement("div", {
|
|
67
|
-
className: styles[
|
|
67
|
+
className: styles["layout-setting-template-group"]
|
|
68
68
|
}, /*#__PURE__*/React.createElement(TemplateGroup, {
|
|
69
69
|
dataSource: layoutGroup,
|
|
70
70
|
size: size,
|
|
71
71
|
onChange: onLayoutSelect,
|
|
72
72
|
boxProps: {
|
|
73
|
-
spacing: 4
|
|
73
|
+
spacing: 4,
|
|
74
|
+
className: styles.tagBox
|
|
74
75
|
},
|
|
75
76
|
tagProps: {
|
|
77
|
+
className: styles.tag,
|
|
76
78
|
style: {
|
|
77
|
-
border:
|
|
78
|
-
|
|
79
|
+
border: "none",
|
|
80
|
+
background: "#FFF"
|
|
81
|
+
},
|
|
82
|
+
type: "primary"
|
|
79
83
|
},
|
|
80
84
|
itemProps: {
|
|
81
85
|
className: styles.card,
|
|
@@ -2,7 +2,24 @@
|
|
|
2
2
|
margin: 0 10px;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
.tagBox {
|
|
6
|
+
color: #4D6277;
|
|
7
|
+
|
|
8
|
+
:global {
|
|
9
|
+
.checked {
|
|
10
|
+
background-color: rgba(76, 137, 255, 0.1) !important;
|
|
11
|
+
color: #4D6277 !important;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.tag {
|
|
17
|
+
border: none;
|
|
18
|
+
background-color: #FFF;
|
|
19
|
+
color: #4D6277;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.card {
|
|
6
23
|
display: flex;
|
|
7
24
|
flex-direction: column;
|
|
8
25
|
width: 55px;
|
|
@@ -11,9 +28,11 @@
|
|
|
11
28
|
padding-top: 6px;
|
|
12
29
|
cursor: pointer;
|
|
13
30
|
}
|
|
14
|
-
|
|
31
|
+
|
|
32
|
+
.icon {
|
|
15
33
|
width: 30px;
|
|
16
34
|
}
|
|
35
|
+
|
|
17
36
|
.text {
|
|
18
37
|
height: 12px;
|
|
19
38
|
line-height: 12px;
|
|
@@ -79,18 +79,22 @@ var LayoutSettings = function LayoutSettings(props) {
|
|
|
79
79
|
};
|
|
80
80
|
});
|
|
81
81
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
82
|
-
className: _LayoutSettingsModule["default"][
|
|
82
|
+
className: _LayoutSettingsModule["default"]["layout-setting-template-group"]
|
|
83
83
|
}, /*#__PURE__*/_react["default"].createElement(_TagImageSelect["default"], {
|
|
84
84
|
dataSource: layoutGroup,
|
|
85
85
|
size: size,
|
|
86
86
|
onChange: onLayoutSelect,
|
|
87
87
|
boxProps: {
|
|
88
|
-
spacing: 4
|
|
88
|
+
spacing: 4,
|
|
89
|
+
className: _LayoutSettingsModule["default"].tagBox
|
|
89
90
|
},
|
|
90
91
|
tagProps: {
|
|
92
|
+
className: _LayoutSettingsModule["default"].tag,
|
|
91
93
|
style: {
|
|
92
|
-
border:
|
|
93
|
-
|
|
94
|
+
border: "none",
|
|
95
|
+
background: "#FFF"
|
|
96
|
+
},
|
|
97
|
+
type: "primary"
|
|
94
98
|
},
|
|
95
99
|
itemProps: {
|
|
96
100
|
className: _LayoutSettingsModule["default"].card,
|
|
@@ -2,7 +2,24 @@
|
|
|
2
2
|
margin: 0 10px;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
.tagBox {
|
|
6
|
+
color: #4D6277;
|
|
7
|
+
|
|
8
|
+
:global {
|
|
9
|
+
.checked {
|
|
10
|
+
background-color: rgba(76, 137, 255, 0.1) !important;
|
|
11
|
+
color: #4D6277 !important;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.tag {
|
|
17
|
+
border: none;
|
|
18
|
+
background-color: #FFF;
|
|
19
|
+
color: #4D6277;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.card {
|
|
6
23
|
display: flex;
|
|
7
24
|
flex-direction: column;
|
|
8
25
|
width: 55px;
|
|
@@ -11,9 +28,11 @@
|
|
|
11
28
|
padding-top: 6px;
|
|
12
29
|
cursor: pointer;
|
|
13
30
|
}
|
|
14
|
-
|
|
31
|
+
|
|
32
|
+
.icon {
|
|
15
33
|
width: 30px;
|
|
16
34
|
}
|
|
35
|
+
|
|
17
36
|
.text {
|
|
18
37
|
height: 12px;
|
|
19
38
|
line-height: 12px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riil-frontend/component-topology",
|
|
3
|
-
"version": "2.12.7-alpha.
|
|
3
|
+
"version": "2.12.7-alpha.21",
|
|
4
4
|
"description": "拓扑",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "build-scripts start",
|
|
@@ -110,6 +110,6 @@
|
|
|
110
110
|
"access": "public"
|
|
111
111
|
},
|
|
112
112
|
"license": "MIT",
|
|
113
|
-
"homepage": "https://unpkg.com/@riil-frontend/component-topology@2.12.7-alpha.
|
|
113
|
+
"homepage": "https://unpkg.com/@riil-frontend/component-topology@2.12.7-alpha.21/build/index.html",
|
|
114
114
|
"gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
|
|
115
115
|
}
|