@riil-frontend/component-topology 11.0.21 → 11.0.22
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/index.css +1 -1
- package/build/index.js +8 -8
- package/es/core/editor/components/Toolbar/widgets/Layout/components/LayoutSettings.module.scss +1 -1
- package/es/core/editor/components/Toolbar/widgets/NodeAlignWidget.module.scss +2 -0
- package/es/core/editor/components/settings/common/AlignSetting/AlignTypeList.js +5 -1
- package/es/core/models/TopoApp.js +1 -1
- package/lib/core/editor/components/Toolbar/widgets/Layout/components/LayoutSettings.module.scss +1 -1
- package/lib/core/editor/components/Toolbar/widgets/NodeAlignWidget.module.scss +2 -0
- package/lib/core/editor/components/settings/common/AlignSetting/AlignTypeList.js +6 -1
- package/lib/core/models/TopoApp.js +1 -1
- package/package.json +2 -2
@@ -1,6 +1,7 @@
|
|
1
1
|
.leftInput{
|
2
2
|
width: 106px !important;
|
3
3
|
margin: 0px 9px 10px 9px;
|
4
|
+
color:$color-text1-4;
|
4
5
|
:global{
|
5
6
|
input{
|
6
7
|
background: url('/img/topo/editor/toolbar/对齐/水平间距_normal.svg')no-repeat 5px center !important;
|
@@ -17,6 +18,7 @@
|
|
17
18
|
}
|
18
19
|
.rightInput{
|
19
20
|
width: 106px !important;
|
21
|
+
color:$color-text1-4;
|
20
22
|
:global{
|
21
23
|
input{
|
22
24
|
background: url('/img/topo/editor/toolbar/对齐/垂直间距 _normal.svg')no-repeat 5px center !important;
|
@@ -4,6 +4,7 @@ import _Icon from "@alifd/next/es/icon";
|
|
4
4
|
import _Divider from "@alifd/next/es/divider";
|
5
5
|
import React, { useState } from 'react';
|
6
6
|
import styles from "./AlignSetting.module.scss";
|
7
|
+
import variables from '@alifd/theme-19926/variables.js';
|
7
8
|
var TREE_LAYOUT_OPTIONS = [{
|
8
9
|
value: 'left',
|
9
10
|
label: '左对齐',
|
@@ -83,7 +84,10 @@ var AlignTypeList = function AlignTypeList(props) {
|
|
83
84
|
,
|
84
85
|
disabled: (item.value === 'distributeHorizontal' || item.value === 'distributeVertical') && distributionDisabled
|
85
86
|
}, /*#__PURE__*/React.createElement(_Icon, {
|
86
|
-
type: item.icon
|
87
|
+
type: item.icon,
|
88
|
+
style: {
|
89
|
+
color: variables['$color-text1-4']
|
90
|
+
}
|
87
91
|
})),
|
88
92
|
align: "b"
|
89
93
|
}, item.label);
|
@@ -24,7 +24,7 @@ import ElementTagTipConfig from "./tagstips/ElementTagTipConfig";
|
|
24
24
|
import SelectionModel from "./SelectionModel";
|
25
25
|
import CiCache from "./cache/CiCache"; // eslint-disable-next-line no-undef
|
26
26
|
|
27
|
-
var version = typeof "11.0.
|
27
|
+
var version = typeof "11.0.22" === 'string' ? "11.0.22" : null;
|
28
28
|
console.info("\u62D3\u6251\u7248\u672C: " + version);
|
29
29
|
/**
|
30
30
|
* 拓扑显示和编辑
|
@@ -1,6 +1,7 @@
|
|
1
1
|
.leftInput{
|
2
2
|
width: 106px !important;
|
3
3
|
margin: 0px 9px 10px 9px;
|
4
|
+
color:$color-text1-4;
|
4
5
|
:global{
|
5
6
|
input{
|
6
7
|
background: url('/img/topo/editor/toolbar/对齐/水平间距_normal.svg')no-repeat 5px center !important;
|
@@ -17,6 +18,7 @@
|
|
17
18
|
}
|
18
19
|
.rightInput{
|
19
20
|
width: 106px !important;
|
21
|
+
color:$color-text1-4;
|
20
22
|
:global{
|
21
23
|
input{
|
22
24
|
background: url('/img/topo/editor/toolbar/对齐/垂直间距 _normal.svg')no-repeat 5px center !important;
|
@@ -17,6 +17,8 @@ var _react = _interopRequireWildcard(require("react"));
|
|
17
17
|
|
18
18
|
var _AlignSettingModule = _interopRequireDefault(require("./AlignSetting.module.scss"));
|
19
19
|
|
20
|
+
var _variables = _interopRequireDefault(require("@alifd/theme-19926/variables.js"));
|
21
|
+
|
20
22
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
21
23
|
|
22
24
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
@@ -100,7 +102,10 @@ var AlignTypeList = function AlignTypeList(props) {
|
|
100
102
|
,
|
101
103
|
disabled: (item.value === 'distributeHorizontal' || item.value === 'distributeVertical') && distributionDisabled
|
102
104
|
}, /*#__PURE__*/_react["default"].createElement(_icon["default"], {
|
103
|
-
type: item.icon
|
105
|
+
type: item.icon,
|
106
|
+
style: {
|
107
|
+
color: _variables["default"]['$color-text1-4']
|
108
|
+
}
|
104
109
|
})),
|
105
110
|
align: "b"
|
106
111
|
}, item.label);
|
@@ -56,7 +56,7 @@ var _SelectionModel = _interopRequireDefault(require("./SelectionModel"));
|
|
56
56
|
var _CiCache = _interopRequireDefault(require("./cache/CiCache"));
|
57
57
|
|
58
58
|
// eslint-disable-next-line no-undef
|
59
|
-
var version = typeof "11.0.
|
59
|
+
var version = typeof "11.0.22" === 'string' ? "11.0.22" : null;
|
60
60
|
console.info("\u62D3\u6251\u7248\u672C: " + version);
|
61
61
|
/**
|
62
62
|
* 拓扑显示和编辑
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@riil-frontend/component-topology",
|
3
|
-
"version": "11.0.
|
3
|
+
"version": "11.0.22",
|
4
4
|
"description": "拓扑",
|
5
5
|
"scripts": {
|
6
6
|
"start": "build-scripts start",
|
@@ -118,6 +118,6 @@
|
|
118
118
|
"access": "public"
|
119
119
|
},
|
120
120
|
"license": "MIT",
|
121
|
-
"homepage": "https://unpkg.com/@riil-frontend/component-topology@11.0.
|
121
|
+
"homepage": "https://unpkg.com/@riil-frontend/component-topology@11.0.22/build/index.html",
|
122
122
|
"gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
|
123
123
|
}
|