@peers-app/peers-ui 0.6.19 → 0.7.0

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.
@@ -38,7 +38,7 @@ const LeftBarContent = () => {
38
38
  ];
39
39
  const knowledgeSublinkActive = contentPath.startsWith('knowledge-') || knowledgeSublinks.find(ks => contentPath.startsWith(ks.path || ks.text.toLowerCase()));
40
40
  const containerClassName = `d-flex flex-column flex-shrink-0 p-2 text-white ` + (_isDesktop ? 'bg-dark-subtle' : 'bg-dark');
41
- const content = (react_1.default.createElement("div", { className: containerClassName, style: { width: "300px", height: "calc(100vh - 40px)" } },
41
+ const content = (react_1.default.createElement("div", { className: containerClassName, style: { width: "300px", height: "calc(100vh - 25px)" } },
42
42
  react_1.default.createElement("div", { className: "clearfix" },
43
43
  react_1.default.createElement("div", { className: "dropdown", style: { display: 'inline-block', width: '200px' } },
44
44
  react_1.default.createElement("a", { id: "dropdownUser1", "data-bs-toggle": "dropdown", "aria-expanded": "false", className: "d-flex align-items-center text-white text-decoration-none", href: "#", tabIndex: -1 },
@@ -76,12 +76,12 @@ const MainContentContainer = () => {
76
76
  setSplitPos(String(size));
77
77
  }, style: {
78
78
  position: 'unset',
79
- height: `calc(100vh - 40px)`,
79
+ height: `calc(100vh - 25px)`,
80
80
  } },
81
81
  react_1.default.createElement("div", null,
82
82
  react_1.default.createElement(router_1.Router, null)),
83
83
  react_1.default.createElement("div", { className: 'thread-view', style: {
84
- height: `calc(100vh - 40px)`,
84
+ height: `calc(100vh - 25px)`,
85
85
  overflowY: 'scroll',
86
86
  width: `calc(100vw - ${splitPos}px - 300px)`,
87
87
  } },
@@ -132,7 +132,7 @@ function TabsLayoutInternal() {
132
132
  const switchTab = (tabId) => {
133
133
  (0, tabs_state_1.activeTabId)(tabId);
134
134
  };
135
- return (react_1.default.createElement("div", { key: currentlyActiveGroupId, className: "d-flex flex-column", style: { height: 'calc(100vh - 40px)', overflow: 'hidden' } },
135
+ return (react_1.default.createElement("div", { key: currentlyActiveGroupId, className: "d-flex flex-column", style: { height: 'calc(100vh - 25px)', overflow: 'hidden' } },
136
136
  react_1.default.createElement("div", { className: `border-bottom ${_colorMode === 'light' ? 'bg-light' : 'bg-dark'}`, style: {
137
137
  borderBottomWidth: '1px',
138
138
  borderBottomColor: _colorMode === 'light' ? '#dee2e6' : '#495057'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peers-app/peers-ui",
3
- "version": "0.6.19",
3
+ "version": "0.7.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/peers-app/peers-ui.git"
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "peerDependencies": {
29
29
  "bootstrap": "^5.3.3",
30
- "@peers-app/peers-sdk": "^0.6.19",
30
+ "@peers-app/peers-sdk": "^0.7.0",
31
31
  "react": "^18.0.0",
32
32
  "react-dom": "^18.0.0"
33
33
  },
@@ -57,7 +57,7 @@
57
57
  "jest": "^29.7.0",
58
58
  "jest-environment-jsdom": "^30.0.5",
59
59
  "path-browserify": "^1.0.1",
60
- "@peers-app/peers-sdk": "0.6.19",
60
+ "@peers-app/peers-sdk": "0.7.0",
61
61
  "react": "^18.0.0",
62
62
  "react-dom": "^18.0.0",
63
63
  "string-width": "^7.1.0",
@@ -50,7 +50,7 @@ export const LeftBarContent = () => {
50
50
  const containerClassName = `d-flex flex-column flex-shrink-0 p-2 text-white ` + (_isDesktop ? 'bg-dark-subtle' : 'bg-dark');
51
51
 
52
52
  const content = (
53
- <div className={containerClassName} style={{ width: "300px", height: "calc(100vh - 40px)" }} >
53
+ <div className={containerClassName} style={{ width: "300px", height: "calc(100vh - 25px)" }} >
54
54
  <div className="clearfix"
55
55
  // style={{ borderBottom: 'solid', borderColor: '#606365', borderWidth: '1px' }}
56
56
  >
@@ -55,7 +55,7 @@ export const MainContentContainer = () => {
55
55
  }}
56
56
  style={{
57
57
  position: 'unset',
58
- height: `calc(100vh - 40px)`,
58
+ height: `calc(100vh - 25px)`,
59
59
  }}
60
60
  >
61
61
  <div>
@@ -64,7 +64,7 @@ export const MainContentContainer = () => {
64
64
  <div
65
65
  className='thread-view'
66
66
  style={{
67
- height: `calc(100vh - 40px)`,
67
+ height: `calc(100vh - 25px)`,
68
68
  overflowY: 'scroll',
69
69
  width: `calc(100vw - ${splitPos}px - 300px)`,
70
70
  }}
@@ -117,7 +117,7 @@ function TabsLayoutInternal() {
117
117
  return (
118
118
  <div
119
119
  key={currentlyActiveGroupId}
120
- className="d-flex flex-column" style={{ height: 'calc(100vh - 40px)', overflow: 'hidden' }}>
120
+ className="d-flex flex-column" style={{ height: 'calc(100vh - 25px)', overflow: 'hidden' }}>
121
121
  {/* Tabs Header */}
122
122
  <div
123
123
  className={`border-bottom ${_colorMode === 'light' ? 'bg-light' : 'bg-dark'}`}