@corpsmap/corpsmap 3.2.62 → 3.2.65

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corpsmap/corpsmap",
3
- "version": "3.2.62",
3
+ "version": "3.2.65",
4
4
  "description": "CorpsMap as React Components",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -24,20 +24,20 @@ class IdentifyDetails extends React.Component {
24
24
  if (isHtml(val)) {
25
25
  return (
26
26
  <td
27
- className="col-sm-8 overflow-ellipsis"
27
+ className="col-sm-8 overflow-sidebar-identify"
28
28
  dangerouslySetInnerHTML={{ __html: val }}
29
29
  ></td>
30
30
  );
31
31
  } else {
32
32
  if (val.indexOf("http") !== -1) {
33
33
  return (
34
- <td className="col-sm-8 overflow-ellipsis" title={val}>
34
+ <td className="col-sm-8 overflow-sidebar-identify" title={val}>
35
35
  <a href={val}>{val}</a>
36
36
  </td>
37
37
  );
38
38
  } else {
39
39
  return (
40
- <td className="col-sm-8 overflow-ellipsis" title={val}>
40
+ <td className="col-sm-8 overflow-sidebar-identify" title={val}>
41
41
  {val}
42
42
  </td>
43
43
  );
@@ -45,7 +45,7 @@ class IdentifyDetails extends React.Component {
45
45
  }
46
46
  } else {
47
47
  return (
48
- <td className="col-sm-8 overflow-ellipsis" title={val}>
48
+ <td className="col-sm-8 overflow-sidebar-identify" title={val}>
49
49
  {val}
50
50
  </td>
51
51
  );
@@ -81,10 +81,10 @@ class IdentifyDetails extends React.Component {
81
81
  <table className="table table-striped table-hover ">
82
82
  <thead>
83
83
  <tr>
84
- <th className="overflow-ellipsis">
84
+ <th className="col-sm-4 overflow-sidebar-identify">
85
85
  <strong>Attribute</strong>
86
86
  </th>
87
- <th className="overflow-ellipsis">
87
+ <th className="col-sm-8 overflow-sidebar-identify">
88
88
  <strong>Value</strong>
89
89
  </th>
90
90
  </tr>
@@ -93,7 +93,7 @@ class IdentifyDetails extends React.Component {
93
93
  {Object.keys(identifyDetailFeature.properties).map((key, i) => {
94
94
  return (
95
95
  <tr key={btoa(key) + i}>
96
- <td className="col-sm-4 overflow-ellipsis" title={key}>
96
+ <td className="col-sm-4 overflow-sidebar-identify" title={key}>
97
97
  {key}
98
98
  </td>
99
99
  {this.renderValue(identifyDetailFeature.properties[key])}
@@ -88,7 +88,7 @@ class ResultListItem extends React.Component {
88
88
  <span className="col-sm-2">
89
89
  <i className="mdi mdi-plus icon-inline"></i>
90
90
  </span>
91
- <span className="col-sm-4 overflow-ellipsis">{key}</span>
91
+ <span className="col-sm-4 overflow-sidebar-identify">{key}</span>
92
92
  {isHtml(val) ? (<span className="col-sm-6" dangerouslySetInnerHTML={{ __html: val }}></span>) : (<span className="col-sm-6">{val}</span>)}
93
93
  </p>
94
94
  </li>
@@ -45,7 +45,7 @@ class IdentifySidebar extends React.Component {
45
45
  }
46
46
 
47
47
  render() {
48
- const { primaryPanelShowClose, doToggleIdentifyView } = this.props;
48
+ const { primaryPanelShowClose, doToggleIdentifyView, doPrimaryPanelResize } = this.props;
49
49
 
50
50
  const listClass = classnames({
51
51
  "sidebar-list": !primaryPanelShowClose,
@@ -59,6 +59,16 @@ class IdentifySidebar extends React.Component {
59
59
  <div className={listClass} style={{ top: listTop }}>
60
60
  <div className="row">
61
61
  <div className="col-xs-12">
62
+ <button
63
+ type="button"
64
+ className="cm-btn cm-btn-xs cm-btn-default pull-right"
65
+ title="RESIZE PANE"
66
+ onClick={() => {
67
+ doPrimaryPanelResize({width: 585});
68
+ }}
69
+ >
70
+ RESIZE PANE
71
+ </button>
62
72
  <button
63
73
  type="button"
64
74
  className="cm-btn cm-btn-xs cm-btn-default pull-right"
@@ -84,5 +94,6 @@ export default connect(
84
94
  "selectUidMap",
85
95
  "selectPrimaryPanelShowClose",
86
96
  "doToggleIdentifyView",
97
+ "doPrimaryPanelResize",
87
98
  IdentifySidebar
88
99
  );
@@ -117,3 +117,5 @@
117
117
  .bg-purple-sharp {color: #FFFFFF; background-color: #796799; }
118
118
 
119
119
  .bg-purple-soft {color: #FFFFFF; background-color: #8877A9; }
120
+
121
+ /*Comments*/
@@ -1928,14 +1928,17 @@
1928
1928
  .corpsmap table col[class*="col-"] {
1929
1929
  position: static;
1930
1930
  display: table-column;
1931
- float: none;
1931
+ float: inline-start;
1932
1932
  }
1933
1933
 
1934
1934
  .corpsmap table td[class*="col-"],
1935
1935
  .corpsmap table th[class*="col-"] {
1936
1936
  position: static;
1937
1937
  display: table-cell;
1938
+ /* JB
1938
1939
  float: none;
1940
+ */
1941
+ float: inline-start;
1939
1942
  }
1940
1943
 
1941
1944
  .corpsmap caption {
@@ -8512,6 +8515,12 @@
8512
8515
  overflow: hidden;
8513
8516
  }
8514
8517
 
8518
+ .corpsmap .overflow-sidebar-identify {
8519
+ text-overflow: ellipsis;
8520
+ white-space: normal;
8521
+ overflow: hidden;
8522
+ }
8523
+
8515
8524
  .corpsmap .overflow-ellipsis-user-select {
8516
8525
  user-select: text;
8517
8526
  }
@@ -8196,7 +8196,10 @@ input[type="checkbox"]:disabled:checked:after,
8196
8196
  z-index: 101;
8197
8197
  background-color: #ffffff;
8198
8198
  color: #666666;
8199
+ /* JB
8199
8200
  padding-right: 15px;
8201
+ */
8202
+ padding-right: 30px;
8200
8203
  /* box-shadow: 1px -2px 4px rgba(0,0,0,0.4); */
8201
8204
  }
8202
8205
 
@@ -39,7 +39,10 @@
39
39
  z-index: 101;
40
40
  background-color: #ffffff;
41
41
  color: #666666;
42
+ padding-right: 30px;
43
+ /* JB
42
44
  padding-right: 15px;
45
+ */
43
46
  /* box-shadow: 1px -2px 4px rgba(0,0,0,0.4); */
44
47
  }
45
48
  .corpsmap .sidebar-list {