@fonixtree/magic-design 0.0.41 → 0.0.43

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.
@@ -78,7 +78,7 @@ var LinkModal = function LinkModal(props) {
78
78
  width: "1000",
79
79
  wrapClassName: "linkModal"
80
80
  }, /*#__PURE__*/_react["default"].createElement("div", {
81
- className: "modalWrap"
81
+ className: "urlModalWrap"
82
82
  }, /*#__PURE__*/_react["default"].createElement("div", {
83
83
  className: "linkType"
84
84
  }, /*#__PURE__*/_react["default"].createElement("div", {
@@ -3,14 +3,14 @@
3
3
  right: unset !important;
4
4
  left: unset !important;
5
5
 
6
- .modalWrap {
6
+ .urlModalWrap {
7
7
  font-family: 'Open Sans';
8
8
  font-style: normal;
9
9
  font-weight: 400;
10
10
  font-size: 14px;
11
11
  line-height: 22px;
12
12
  color: #232F46;
13
- height:600px;
13
+ height: 600px;
14
14
 
15
15
  .linkType {
16
16
  display: flex;
@@ -23,6 +23,7 @@
23
23
  cursor: pointer;
24
24
  font-weight: 600;
25
25
  border-radius: 4px;
26
+
26
27
  &:hover {
27
28
  background: #F5F6F7;
28
29
  }
@@ -95,6 +96,7 @@
95
96
  color: #2d3040;
96
97
  }
97
98
  }
99
+
98
100
  .ant-modal {
99
101
  top: 25px;
100
102
  }
@@ -71,14 +71,14 @@ function (_super) {
71
71
  return /*#__PURE__*/_react["default"].createElement("img", {
72
72
  key: label.imgUrl || label.labelPictureUrl,
73
73
  alt: "img",
74
- className: (0, _classnames["default"])('image-label-wrap', 'img', (_a = {}, _a["position-" + label.position] = true, _a.small = small, _a)),
74
+ className: (0, _classnames["default"])('image-label-wrap', 'img', (_a = {}, _a["position-" + (label.position || 'default')] = true, _a.small = small, _a)),
75
75
  src: label.imgUrl || label.labelPictureUrl
76
76
  });
77
77
  }
78
78
 
79
79
  return /*#__PURE__*/_react["default"].createElement("div", {
80
80
  key: label.labelName,
81
- className: (0, _classnames["default"])('image-label-wrap', (_b = {}, _b["position-" + label.position] = true, _b))
81
+ className: (0, _classnames["default"])('image-label-wrap', (_b = {}, _b["position-" + (label.position || 'default')] = true, _b))
82
82
  }, label.labelName);
83
83
  });
84
84
  };
@@ -1,4 +1,3 @@
1
-
2
1
  .image-label-wrap {
3
2
  position: absolute;
4
3
  z-index: 1;
@@ -13,7 +12,8 @@
13
12
  }
14
13
  }
15
14
 
16
- &.position-1 {
15
+ &.position-1,
16
+ &.position-default {
17
17
  top: 0;
18
18
  left: 0;
19
19
  }
@@ -32,4 +32,4 @@
32
32
  bottom: 0;
33
33
  right: 0;
34
34
  }
35
- }
35
+ }
@@ -78,7 +78,7 @@ var LinkModal = function LinkModal(props) {
78
78
  width: "1000",
79
79
  wrapClassName: "linkModal"
80
80
  }, /*#__PURE__*/_react["default"].createElement("div", {
81
- className: "modalWrap"
81
+ className: "urlModalWrap"
82
82
  }, /*#__PURE__*/_react["default"].createElement("div", {
83
83
  className: "linkType"
84
84
  }, /*#__PURE__*/_react["default"].createElement("div", {
@@ -3,14 +3,14 @@
3
3
  right: unset !important;
4
4
  left: unset !important;
5
5
 
6
- .modalWrap {
6
+ .urlModalWrap {
7
7
  font-family: 'Open Sans';
8
8
  font-style: normal;
9
9
  font-weight: 400;
10
10
  font-size: 14px;
11
11
  line-height: 22px;
12
12
  color: #232F46;
13
- height:600px;
13
+ height: 600px;
14
14
 
15
15
  .linkType {
16
16
  display: flex;
@@ -23,6 +23,7 @@
23
23
  cursor: pointer;
24
24
  font-weight: 600;
25
25
  border-radius: 4px;
26
+
26
27
  &:hover {
27
28
  background: #F5F6F7;
28
29
  }
@@ -95,6 +96,7 @@
95
96
  color: #2d3040;
96
97
  }
97
98
  }
99
+
98
100
  .ant-modal {
99
101
  top: 25px;
100
102
  }
@@ -71,14 +71,14 @@ function (_super) {
71
71
  return /*#__PURE__*/_react["default"].createElement("img", {
72
72
  key: label.imgUrl || label.labelPictureUrl,
73
73
  alt: "img",
74
- className: (0, _classnames["default"])('image-label-wrap', 'img', (_a = {}, _a["position-" + label.position] = true, _a.small = small, _a)),
74
+ className: (0, _classnames["default"])('image-label-wrap', 'img', (_a = {}, _a["position-" + (label.position || 'default')] = true, _a.small = small, _a)),
75
75
  src: label.imgUrl || label.labelPictureUrl
76
76
  });
77
77
  }
78
78
 
79
79
  return /*#__PURE__*/_react["default"].createElement("div", {
80
80
  key: label.labelName,
81
- className: (0, _classnames["default"])('image-label-wrap', (_b = {}, _b["position-" + label.position] = true, _b))
81
+ className: (0, _classnames["default"])('image-label-wrap', (_b = {}, _b["position-" + (label.position || 'default')] = true, _b))
82
82
  }, label.labelName);
83
83
  });
84
84
  };
@@ -1,4 +1,3 @@
1
-
2
1
  .image-label-wrap {
3
2
  position: absolute;
4
3
  z-index: 1;
@@ -13,7 +12,8 @@
13
12
  }
14
13
  }
15
14
 
16
- &.position-1 {
15
+ &.position-1,
16
+ &.position-default {
17
17
  top: 0;
18
18
  left: 0;
19
19
  }
@@ -32,4 +32,4 @@
32
32
  bottom: 0;
33
33
  right: 0;
34
34
  }
35
- }
35
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "0.0.41",
4
+ "version": "0.0.43",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",