@electerm/electerm-react 5.1.20 → 5.1.23

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.
@@ -127,10 +127,12 @@ export default class BatchInput extends Component {
127
127
  }
128
128
  // Desktop: an input-shaped, read-only affordance. It is NOT a real input —
129
129
  // clicking it expands the panel where the user actually types.
130
+ // Borderless so it blends into the footer background.
130
131
  return (
131
132
  <Input
132
133
  size='small'
133
134
  readOnly
135
+ variant='borderless'
134
136
  placeholder={e('batchInput')}
135
137
  className='batch-input-holder'
136
138
  style={{ cursor: 'pointer' }}
@@ -96,6 +96,7 @@ export default auto(function FooterEntry (props) {
96
96
  defaultValue: props.store.currentTab?.encode,
97
97
  onSelect: handleSwitchEncoding,
98
98
  size: 'small',
99
+ variant: 'borderless',
99
100
  popupMatchSelectWidth: false
100
101
  }
101
102
  if (props.store.isMobile) {
@@ -116,6 +116,9 @@ export default auto(function Index (props) {
116
116
  'not-win': !isWin,
117
117
  'qm-pinned': pinnedQuickCommandBar,
118
118
  fullscreen,
119
+ // terminal fullscreen keeps the footer visible (rdp/vnc/spice fullscreen
120
+ // does not — the footer would be an empty bar there)
121
+ 'fs-with-footer': fullscreen && store.inActiveTerminal,
119
122
  'is-main': !isSecondInstance,
120
123
  'is-mobile': store.isMobile,
121
124
  'is-desktop': !store.isMobile
@@ -35,3 +35,28 @@
35
35
  top 10px !important
36
36
  right 10px !important
37
37
  bottom 10px !important
38
+
39
+ // Terminal fullscreen keeps the footer (and the quick-command popup above it)
40
+ // visible; the session shrinks to sit on top of the footer. RDP/VNC/Spice
41
+ // fullscreen stays footer-less — inActiveTerminal is false for those tabs, so
42
+ // the fs-with-footer class is absent there.
43
+ // 36px matches footerHeight / the .main-footer height in footer.styl.
44
+ .fullscreen.fs-with-footer
45
+ .main-footer
46
+ display block
47
+ left 0 !important
48
+ .qm-wrap-tooltip
49
+ display block
50
+ left 0 !important
51
+ // sidebar is hidden in fullscreen; hide the footer control that opens it
52
+ .terminal-footer-show-sidebar
53
+ display none
54
+ .session-wrap.session-current
55
+ .term-wrap
56
+ height calc(100% - 36px - var(--shortcut-bar-h, 0px)) !important
57
+ // pinned quick-command bar (180px, same as quickCommandBoxHeight) sits
58
+ // between terminal and footer — reserve its space too
59
+ &.qm-pinned
60
+ .session-wrap.session-current
61
+ .term-wrap
62
+ height calc(100% - 36px - 180px - var(--shortcut-bar-h, 0px)) !important
@@ -126,7 +126,7 @@ export default auto(function InfoModal (props) {
126
126
  // description,
127
127
  devDependencies,
128
128
  dependencies,
129
- langugeRepo,
129
+ languageRepo,
130
130
  author: {
131
131
  name: authorName,
132
132
  email,
@@ -193,8 +193,8 @@ export default auto(function InfoModal (props) {
193
193
  </p>
194
194
  <p className='mg1b'>
195
195
  <GlobalOutlined /> <b className='mg1r'>{e('language')} repo ➾</b>
196
- <Link to={langugeRepo} className='mg1l'>
197
- {langugeRepo}
196
+ <Link to={languageRepo} className='mg1l'>
197
+ {languageRepo}
198
198
  </Link>
199
199
  </p>
200
200
  <p className='mg1b'>
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@electerm/electerm-react",
3
- "version": "5.1.20",
3
+ "version": "5.1.23",
4
4
  "description": "react components src for electerm",
5
5
  "main": "./client/components/main/main.jsx",
6
6
  "license": "MIT",
7
- "langugeRepo": "https://github.com/electerm/electerm-locales",
7
+ "languageRepo": "https://github.com/electerm/electerm-locales",
8
8
  "privacyNoticeLink": "https://github.com/electerm/electerm/wiki/privacy-notice",
9
9
  "knownIssuesLink": "https://github.com/electerm/electerm/wiki/Know-issues",
10
10
  "sponsorLink": "https://electerm.org/sponsor-electerm.html",