ui-soxo-bootstrap-core 2.6.42 → 2.6.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.
|
@@ -123,7 +123,9 @@
|
|
|
123
123
|
.right-section {
|
|
124
124
|
margin-top: 0px;
|
|
125
125
|
width: 100%;
|
|
126
|
-
|
|
126
|
+
/* `auto` so the horizontal scrollbar only appears when content genuinely
|
|
127
|
+
overflows — `scroll` forced it to show permanently on every page. */
|
|
128
|
+
overflow-x: auto;
|
|
127
129
|
position: relative;
|
|
128
130
|
padding: 15px;
|
|
129
131
|
margin-left: calc(var(--sidemenu-width, 211px) + 1px);
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* - Renders a single active step view with compact breadcrumb controls.
|
|
12
12
|
*/
|
|
13
13
|
import { ArrowLeftOutlined, ArrowRightOutlined, CompressOutlined, ExpandOutlined, SoundOutlined } from '@ant-design/icons';
|
|
14
|
-
import { Empty, Select,
|
|
14
|
+
import { Empty, Select, Skeleton, message } from 'antd';
|
|
15
15
|
import moment from 'moment';
|
|
16
16
|
import { useEffect, useRef, useState } from 'react';
|
|
17
17
|
import { ExternalWindow } from '../../components';
|
|
@@ -1507,7 +1507,9 @@ export default function ProcessStepsPage({ match, CustomComponents = {}, ...prop
|
|
|
1507
1507
|
{/* <div className="steps-chat-step-component"> */}
|
|
1508
1508
|
{loading ? (
|
|
1509
1509
|
<div className="steps-chat-loading">
|
|
1510
|
-
<
|
|
1510
|
+
<div className="steps-chat-loading__card">
|
|
1511
|
+
<Skeleton active title={{ width: '32%' }} paragraph={{ rows: 6, width: ['90%', '82%', '86%', '70%', '78%', '60%'] }} />
|
|
1512
|
+
</div>
|
|
1511
1513
|
</div>
|
|
1512
1514
|
) : null}
|
|
1513
1515
|
{!loading ? renderDynamicStep() : null}
|
|
@@ -3,7 +3,13 @@
|
|
|
3
3
|
.process-steps-page {
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
|
-
height:
|
|
6
|
+
/* The app shell's `.right-section` is `height: 100vh` with a fixed 56px header
|
|
7
|
+
(`.page-wrapper`) on top of it plus 15px padding. A plain `height: 100%`
|
|
8
|
+
makes this page a full 100vh — so its bottom runs past the viewport under the
|
|
9
|
+
header and forces a page scroll in normal view. Bound it to the space that is
|
|
10
|
+
actually visible below the header instead. (In full screen the promoted
|
|
11
|
+
`.steps-viewport` is 100vh via the Fullscreen API, so this doesn't apply.) */
|
|
12
|
+
height: calc(100vh - 86px);
|
|
7
13
|
min-height: 0;
|
|
8
14
|
width: 100%;
|
|
9
15
|
max-width: 100%;
|
|
@@ -171,7 +177,7 @@
|
|
|
171
177
|
/* Clean solid header on the soft sage → ivory gradient (no glass/frost).
|
|
172
178
|
Matches the onboarding reference without the frosted-glass treatment. */
|
|
173
179
|
border-bottom: 1px solid rgba(255, 255, 255, 0.4);
|
|
174
|
-
background: linear-gradient(180deg, #a7c2c6
|
|
180
|
+
background: linear-gradient(180deg, #a7c2c6 100%, #eff3e3 100%);
|
|
175
181
|
}
|
|
176
182
|
|
|
177
183
|
.steps-breadcrumb-strip {
|
|
@@ -179,8 +185,12 @@
|
|
|
179
185
|
min-width: 0;
|
|
180
186
|
display: flex;
|
|
181
187
|
align-items: center;
|
|
182
|
-
|
|
183
|
-
|
|
188
|
+
/* `safe center` keeps the steps centered when they fit, but falls back to
|
|
189
|
+
start-aligned when there are too many to fit (>6). Plain `center` would clip
|
|
190
|
+
BOTH ends on overflow — cutting off the active step's label (e.g. "Guest
|
|
191
|
+
Details") and making it unreachable even though the strip scrolls. */
|
|
192
|
+
justify-content: safe center;
|
|
193
|
+
gap: clamp(28px, 3vw, 52px);
|
|
184
194
|
overflow-x: auto;
|
|
185
195
|
overflow-y: hidden;
|
|
186
196
|
white-space: nowrap;
|
|
@@ -332,13 +342,14 @@
|
|
|
332
342
|
-webkit-tap-highlight-color: transparent;
|
|
333
343
|
}
|
|
334
344
|
|
|
335
|
-
/* Thin connecting line drawn into the gap toward the next step.
|
|
345
|
+
/* Thin connecting line drawn into the gap toward the next step.
|
|
346
|
+
Width matches the strip's gap so it spans the space without overhanging. */
|
|
336
347
|
.steps-breadcrumb-item:not(:last-child)::after {
|
|
337
348
|
content: '';
|
|
338
349
|
position: absolute;
|
|
339
350
|
left: 100%;
|
|
340
351
|
top: 50%;
|
|
341
|
-
width: 52px;
|
|
352
|
+
width: clamp(28px, 3vw, 52px);
|
|
342
353
|
height: 1px;
|
|
343
354
|
background: rgba(37, 58, 91, 0.2);
|
|
344
355
|
transform: translateY(-50%);
|
|
@@ -826,10 +837,29 @@
|
|
|
826
837
|
}
|
|
827
838
|
|
|
828
839
|
.steps-chat-loading {
|
|
840
|
+
flex: 1 1 auto;
|
|
829
841
|
min-height: 120px;
|
|
830
842
|
display: flex;
|
|
831
|
-
align-items:
|
|
843
|
+
align-items: stretch;
|
|
832
844
|
justify-content: center;
|
|
845
|
+
padding: 20px;
|
|
846
|
+
box-sizing: border-box;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
/* Frosted skeleton card that fills the stage while a step loads (replaces the
|
|
850
|
+
old centered spinner) — matches the soft gradient step surfaces. */
|
|
851
|
+
.steps-chat-loading__card {
|
|
852
|
+
width: 100%;
|
|
853
|
+
max-width: 1100px;
|
|
854
|
+
align-self: stretch;
|
|
855
|
+
padding: 28px 32px;
|
|
856
|
+
box-sizing: border-box;
|
|
857
|
+
border-radius: 16px;
|
|
858
|
+
background: rgba(255, 255, 255, 0.42);
|
|
859
|
+
border: 1px solid rgba(255, 255, 255, 0.6);
|
|
860
|
+
box-shadow: 0 2px 10px rgba(20, 50, 64, 0.05);
|
|
861
|
+
backdrop-filter: blur(4px);
|
|
862
|
+
-webkit-backdrop-filter: blur(4px);
|
|
833
863
|
}
|
|
834
864
|
|
|
835
865
|
/* ── Narration bar (hidden by default via NARRATION_CONTROLS_ENABLED) ── */
|