@dckj-npm/dc-material 0.1.124 → 0.1.125

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.
@@ -3,7 +3,6 @@ import './index.scss';
3
3
  import { Location } from "./position";
4
4
  interface LocationProps {
5
5
  itemArray: Location[];
6
- currentLocation: Location;
7
6
  open: boolean;
8
7
  setIsOpen: () => void;
9
8
  setCurrent: (data: Location) => void;
@@ -3,7 +3,6 @@ import "./index.scss";
3
3
  var ContentList = function navigationList(_ref) {
4
4
  var open = _ref.open,
5
5
  itemArray = _ref.itemArray,
6
- currentLocation = _ref.currentLocation,
7
6
  setIsOpen = _ref.setIsOpen,
8
7
  setCurrent = _ref.setCurrent;
9
8
  var changeHandle = function changeHandle(position) {
@@ -18,13 +17,13 @@ var ContentList = function navigationList(_ref) {
18
17
  style: {
19
18
  display: open ? 'block' : 'none'
20
19
  }
21
- }, itemArray.map(function (item) {
20
+ }, itemArray ? itemArray.map(function (item) {
22
21
  return /*#__PURE__*/React.createElement("div", {
23
22
  onClick: function onClick() {
24
23
  return changeHandle(item);
25
24
  },
26
25
  className: "location-list-item"
27
26
  }, item.address);
28
- }));
27
+ }) : /*#__PURE__*/React.createElement("div", null, "\u6682\u65E0\u6570\u636E"));
29
28
  };
30
29
  export default ContentList;
@@ -7,8 +7,6 @@
7
7
  padding-bottom: 10px;
8
8
  justify-content: flex-start;
9
9
 
10
- border-bottom: 1px solid rgba(0, 0, 0, 0.1);
11
-
12
10
  .teletext-list__panel__item_image {
13
11
  width: 90px;
14
12
  height: 71px;
@@ -53,3 +51,7 @@
53
51
  }
54
52
 
55
53
  }
54
+
55
+ .teletext-list__panel__item:not(:last-child) {
56
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
57
+ }
@@ -3,7 +3,6 @@ import './index.scss';
3
3
  import { Location } from "./position";
4
4
  interface LocationProps {
5
5
  itemArray: Location[];
6
- currentLocation: Location;
7
6
  open: boolean;
8
7
  setIsOpen: () => void;
9
8
  setCurrent: (data: Location) => void;
@@ -9,7 +9,6 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
9
9
  var ContentList = function navigationList(_ref) {
10
10
  var open = _ref.open,
11
11
  itemArray = _ref.itemArray,
12
- currentLocation = _ref.currentLocation,
13
12
  setIsOpen = _ref.setIsOpen,
14
13
  setCurrent = _ref.setCurrent;
15
14
  var changeHandle = function changeHandle(position) {
@@ -24,13 +23,13 @@ var ContentList = function navigationList(_ref) {
24
23
  style: {
25
24
  display: open ? 'block' : 'none'
26
25
  }
27
- }, itemArray.map(function (item) {
26
+ }, itemArray ? itemArray.map(function (item) {
28
27
  return /*#__PURE__*/React.createElement("div", {
29
28
  onClick: function onClick() {
30
29
  return changeHandle(item);
31
30
  },
32
31
  className: "location-list-item"
33
32
  }, item.address);
34
- }));
33
+ }) : /*#__PURE__*/React.createElement("div", null, "\u6682\u65E0\u6570\u636E"));
35
34
  };
36
35
  var _default = exports["default"] = ContentList;
@@ -7,8 +7,6 @@
7
7
  padding-bottom: 10px;
8
8
  justify-content: flex-start;
9
9
 
10
- border-bottom: 1px solid rgba(0, 0, 0, 0.1);
11
-
12
10
  .teletext-list__panel__item_image {
13
11
  width: 90px;
14
12
  height: 71px;
@@ -53,3 +51,7 @@
53
51
  }
54
52
 
55
53
  }
54
+
55
+ .teletext-list__panel__item:not(:last-child) {
56
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
57
+ }
@@ -93,7 +93,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
93
93
  packageName = '@dckj-npm/dc-material';
94
94
  }
95
95
  if (version === void 0) {
96
- version = '0.1.124';
96
+ version = '0.1.125';
97
97
  }
98
98
  if (basicLibraryVersion === void 0) {
99
99
  basicLibraryVersion = {
@@ -98,7 +98,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
98
98
  packageName = '@dckj-npm/dc-material';
99
99
  }
100
100
  if (version === void 0) {
101
- version = '0.1.124';
101
+ version = '0.1.125';
102
102
  }
103
103
  if (basicLibraryVersion === void 0) {
104
104
  basicLibraryVersion = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dckj-npm/dc-material",
3
- "version": "0.1.124",
3
+ "version": "0.1.125",
4
4
  "description": "dc低代码物料",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -103,10 +103,10 @@
103
103
  },
104
104
  "componentConfig": {
105
105
  "isComponentLibrary": true,
106
- "materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.124/build/lowcode/assets-prod.json"
106
+ "materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.125/build/lowcode/assets-prod.json"
107
107
  },
108
108
  "lcMeta": {
109
109
  "type": "component"
110
110
  },
111
- "homepage": "https://unpkg.com/@dckj-npm/dc-material@0.1.124/build/index.html"
111
+ "homepage": "https://unpkg.com/@dckj-npm/dc-material@0.1.125/build/index.html"
112
112
  }