@rtsee/ngx 0.0.132 → 0.0.134
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/dist/ngx/fesm2022/rtsee-ngx.mjs +341 -35
- package/dist/ngx/fesm2022/rtsee-ngx.mjs.map +1 -1
- package/dist/ngx/index.d.ts +48 -4
- package/dist/ngx/src/lib/theme/messenger/messenger-header.scss +6 -0
- package/dist/ngx/src/lib/theme/presentation/presentation.scss +30 -0
- package/dist/ngx/src/lib/theme/presentation/stories-list.scss +111 -7
- package/dist/ngx/src/lib/theme/presentation/story-details.scss +86 -29
- package/dist/ngx/src/lib/theme/presentation/story-slides-preview.scss +1 -3
- package/package.json +11 -11
package/dist/ngx/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { OnChanges, OnDestroy, ElementRef, Renderer2, NgZone, SimpleChanges, OnInit, AfterViewInit, EventEmitter, ChangeDetectorRef, OutputEmitterRef, ViewContainerRef, ComponentFactoryResolver, DoCheck, Type } from '@angular/core';
|
|
3
3
|
import { RTSeeConference, RTSeePeerConnection } from '@rtsee/conference';
|
|
4
4
|
import { RTSeeMessenger, RTSeeMessengerSearch, RTSeeMessage, RTSeeChat, RTSeeChatMember, RTSeeMentionAutocomplete, RTSeeWorkflowAutocomplete, OzzyClientTask, OzzyClientTaskAction, OzzyWorkflowStep, OzzyWorkflow } from '@rtsee/messenger';
|
|
5
5
|
import { IPeer, RTSeeTextLabelKeys, IRTSeeCall } from '@rtsee/core';
|
|
@@ -30,6 +30,41 @@ declare class NgxService {
|
|
|
30
30
|
static ɵprov: i0.ɵɵInjectableDeclaration<NgxService>;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
/**
|
|
34
|
+
* Progressive image upgrade directive (`img[rtseeProgressiveImg]`).
|
|
35
|
+
* Loads `initialSrc` (e.g. `smImageUrl` on heroes or `xsImageUrl` on thumbnails) first for instant LCP,
|
|
36
|
+
* skips redundant high-res downloads when `initialSrc` already covers the rendered viewport/DPR or
|
|
37
|
+
* on constrained cellular connections, and defers LCP-candidate hero swaps until after first user
|
|
38
|
+
* interaction so Chrome never resets the Largest Contentful Paint timestamp during page load.
|
|
39
|
+
*/
|
|
40
|
+
declare class ProgressiveImageDirective implements OnChanges, OnDestroy {
|
|
41
|
+
private readonly elRef;
|
|
42
|
+
private readonly renderer;
|
|
43
|
+
private readonly ngZone;
|
|
44
|
+
initialSrc?: string | null;
|
|
45
|
+
fullSrc?: string | null;
|
|
46
|
+
eager: boolean;
|
|
47
|
+
private readonly isBrowser;
|
|
48
|
+
private observer;
|
|
49
|
+
private pendingTimer;
|
|
50
|
+
private removeLoadListener;
|
|
51
|
+
private removeErrorListener;
|
|
52
|
+
private removeInteractionListeners;
|
|
53
|
+
private runId;
|
|
54
|
+
private destroyed;
|
|
55
|
+
constructor(elRef: ElementRef<HTMLImageElement>, renderer: Renderer2, ngZone: NgZone, platformId: object);
|
|
56
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
57
|
+
ngOnDestroy(): void;
|
|
58
|
+
private setupProgressiveLoad;
|
|
59
|
+
private isConstrainedNetwork;
|
|
60
|
+
private needsHigherResolution;
|
|
61
|
+
private waitForUserInteraction;
|
|
62
|
+
private scheduleUpgrade;
|
|
63
|
+
private cleanupPending;
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressiveImageDirective, never>;
|
|
65
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ProgressiveImageDirective, "img[rtseeProgressiveImg]", never, { "initialSrc": { "alias": "initialSrc"; "required": false; }; "fullSrc": { "alias": "fullSrc"; "required": false; }; "eager": { "alias": "eager"; "required": false; }; }, {}, never, never, true, never>;
|
|
66
|
+
}
|
|
67
|
+
|
|
33
68
|
declare class RTSeeControlsComponent {
|
|
34
69
|
rtsee: RTSeeConference;
|
|
35
70
|
fullScreenMode?: boolean;
|
|
@@ -174,6 +209,7 @@ declare class RTSeeContainerComponent implements OnInit {
|
|
|
174
209
|
constructor(authService: RTSeeAuthService, router: Router);
|
|
175
210
|
ngOnInit(): void;
|
|
176
211
|
subscribeToHtmlEvents(): void;
|
|
212
|
+
private syncPresentationMessengerRoute;
|
|
177
213
|
onSidenavToggleClicked(): void;
|
|
178
214
|
defineSideNavState(url: string): void;
|
|
179
215
|
static ɵfac: i0.ɵɵFactoryDeclaration<RTSeeContainerComponent, never>;
|
|
@@ -206,11 +242,15 @@ declare class StoryThumbnailComponent implements OnInit {
|
|
|
206
242
|
declare class StoryDetailsComponent implements AfterViewInit, OnChanges {
|
|
207
243
|
private hostRef;
|
|
208
244
|
private scroller;
|
|
245
|
+
private router;
|
|
209
246
|
private document;
|
|
210
247
|
story: RTSeeStory;
|
|
211
248
|
presentation: RTSeePresentation;
|
|
212
249
|
messenger?: RTSeeMessenger;
|
|
213
|
-
constructor(hostRef: ElementRef<HTMLElement>, scroller: ViewportScroller, document: Document);
|
|
250
|
+
constructor(hostRef: ElementRef<HTMLElement>, scroller: ViewportScroller, router: Router, document: Document);
|
|
251
|
+
get readTogetherLabel(): string;
|
|
252
|
+
get readTogetherHint(): string;
|
|
253
|
+
onReadTogetherVideoCallClicked(): void;
|
|
214
254
|
ngAfterViewInit(): void;
|
|
215
255
|
ngOnChanges(changes: SimpleChanges): void;
|
|
216
256
|
onRelatedStoryClicked(relatedStory: RTSeeStory): void;
|
|
@@ -225,13 +265,17 @@ declare class StoryDetailsComponent implements AfterViewInit, OnChanges {
|
|
|
225
265
|
declare class StoriesListComponent implements AfterViewInit, OnChanges {
|
|
226
266
|
private hostRef;
|
|
227
267
|
private scroller;
|
|
268
|
+
private router;
|
|
228
269
|
private document;
|
|
229
270
|
list: RTSeeStoriesList;
|
|
230
271
|
presentation: RTSeePresentation;
|
|
231
272
|
messenger?: RTSeeMessenger;
|
|
232
273
|
protected readonly RTSeeTextLabelKeys: typeof RTSeeTextLabelKeys;
|
|
233
274
|
protected readonly Math: Math;
|
|
234
|
-
constructor(hostRef: ElementRef<HTMLElement>, scroller: ViewportScroller, document: Document);
|
|
275
|
+
constructor(hostRef: ElementRef<HTMLElement>, scroller: ViewportScroller, router: Router, document: Document);
|
|
276
|
+
get readTogetherLabel(): string;
|
|
277
|
+
get readTogetherHint(): string;
|
|
278
|
+
onReadTogetherVideoCallClicked(): void;
|
|
235
279
|
ngAfterViewInit(): void;
|
|
236
280
|
ngOnChanges(changes: SimpleChanges): void;
|
|
237
281
|
setSortBy(mode: StoriesListSortMode): void;
|
|
@@ -1732,5 +1776,5 @@ declare class TestChatNowClickedWidgetComponent extends BaseEventWidgetComponent
|
|
|
1732
1776
|
static ɵcmp: i0.ɵɵComponentDeclaration<TestChatNowClickedWidgetComponent, "rtsee-test-chat-now-clicked-widget", never, {}, {}, never, never, true, never>;
|
|
1733
1777
|
}
|
|
1734
1778
|
|
|
1735
|
-
export { ApplicationEventWidgetComponent, BaseEventWidgetComponent, ChatAgentCreatedWidgetComponent, ChatCreatedWidgetComponent, ChatMemberInviteClickedWidgetComponent, ChatMessageSentWidgetComponent, ChatOpenedWidgetComponent, DefaultTaskActionPromptComponent, DefaultTaskActionThumbnailComponent, EntitiesConfigurationsListComponent, EntitiesListComponent, EventsWidgetsService, FormComponent, GtagService, IllustratorComponent, InteractiveStoryEditorComponent, ManageEntitiesListComponent, ManageEntitiesListGroupComponent, ManageEntitiesListGroupsComponent, ManageEntitiesListsComponent, ManageEntityComponent, ManageEntityConfigurationComponent, MessengerComponent, NgxService, PaymentProductSnippetComponent, PresentationComponent, ProfileComponent, ProfileOpenedWidgetComponent, RTSeeAuthComponent, RTSeeConferenceComponent, RTSeeContainerComponent, RTSeeControlsComponent, RTSeeModule, RTSeeTaskActionComponent, RTSeeTaskComponent, RefineStoriesListFormStepComponent, RefineStoriesListWorkflowForm, RequestDemoClickedWidgetComponent, RtseeEntityCommentsComponent, RtseeEntityPreviewComponent, RtseeEntityTagsComponent, RtseeEventsDashboardComponent, RtseePeerComponent, RtseeSettingsComponent, RtseeTagGroupManageComponent, RtseeTagGroupsManageComponent, RtseeTagManageComponent, RtseeTagsAccordionMenuComponent, SlideNumberChangedWidgetComponent, SlideTaskActionThumbnailComponent, StoriesListComponent, StoriesListLinkStepComponent, StoriesListThumbnailComponent, StoryDetailsComponent, StoryDetailsOpenedWidgetComponent, StoryElementsSectionComponent, StoryReadingStartedWidgetComponent, StoryTaskActionThumbnailComponent, StoryThumbnailComponent, TaskActionPromptComponent, TaskActionThumbnailComponent, TaskActionWidgetsService, TestChatNowClickedWidgetComponent, TranslateStoriesListFormStepComponent, TranslateStoriesListWorkflowForm, TranslationsPanelComponent, WorkflowStepsService };
|
|
1779
|
+
export { ApplicationEventWidgetComponent, BaseEventWidgetComponent, ChatAgentCreatedWidgetComponent, ChatCreatedWidgetComponent, ChatMemberInviteClickedWidgetComponent, ChatMessageSentWidgetComponent, ChatOpenedWidgetComponent, DefaultTaskActionPromptComponent, DefaultTaskActionThumbnailComponent, EntitiesConfigurationsListComponent, EntitiesListComponent, EventsWidgetsService, FormComponent, GtagService, IllustratorComponent, InteractiveStoryEditorComponent, ManageEntitiesListComponent, ManageEntitiesListGroupComponent, ManageEntitiesListGroupsComponent, ManageEntitiesListsComponent, ManageEntityComponent, ManageEntityConfigurationComponent, MessengerComponent, NgxService, PaymentProductSnippetComponent, PresentationComponent, ProfileComponent, ProfileOpenedWidgetComponent, ProgressiveImageDirective, RTSeeAuthComponent, RTSeeConferenceComponent, RTSeeContainerComponent, RTSeeControlsComponent, RTSeeModule, RTSeeTaskActionComponent, RTSeeTaskComponent, RefineStoriesListFormStepComponent, RefineStoriesListWorkflowForm, RequestDemoClickedWidgetComponent, RtseeEntityCommentsComponent, RtseeEntityPreviewComponent, RtseeEntityTagsComponent, RtseeEventsDashboardComponent, RtseePeerComponent, RtseeSettingsComponent, RtseeTagGroupManageComponent, RtseeTagGroupsManageComponent, RtseeTagManageComponent, RtseeTagsAccordionMenuComponent, SlideNumberChangedWidgetComponent, SlideTaskActionThumbnailComponent, StoriesListComponent, StoriesListLinkStepComponent, StoriesListThumbnailComponent, StoryDetailsComponent, StoryDetailsOpenedWidgetComponent, StoryElementsSectionComponent, StoryReadingStartedWidgetComponent, StoryTaskActionThumbnailComponent, StoryThumbnailComponent, TaskActionPromptComponent, TaskActionThumbnailComponent, TaskActionWidgetsService, TestChatNowClickedWidgetComponent, TranslateStoriesListFormStepComponent, TranslateStoriesListWorkflowForm, TranslationsPanelComponent, WorkflowStepsService };
|
|
1736
1780
|
export type { IAccordionItem, IRefineStoriesListWorkflowFormOptions, ITaskActionPromptWidget, ITaskActionThumbnailWidget, ITranslateStoriesListWorkflowFormOptions, IWorkflowStepWidget, RTSeeTagForm, RTSeeTagGroupForm };
|
|
@@ -1,10 +1,40 @@
|
|
|
1
1
|
@import "./variables";
|
|
2
2
|
|
|
3
3
|
.rtsee-presentation {
|
|
4
|
+
min-height: 100vh;
|
|
4
5
|
padding-bottom: $rts-bottom-nav-height + $rts-offset-sm;
|
|
5
6
|
background-color: $ai-background-color;
|
|
6
7
|
color: $ai-text-color-primary;
|
|
7
8
|
|
|
9
|
+
.rtsee-page-skeleton {
|
|
10
|
+
min-height: 100vh;
|
|
11
|
+
background-color: $rts-rates-bg-main;
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
|
|
15
|
+
.rtsee-page-skeleton-hero {
|
|
16
|
+
width: 100%;
|
|
17
|
+
min-height: 320px;
|
|
18
|
+
background: linear-gradient(180deg, #1d1829 0%, $rts-rates-bg-main 100%);
|
|
19
|
+
|
|
20
|
+
@media screen and (min-width: $rts-break-sm) {
|
|
21
|
+
min-height: 400px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@media screen and (min-width: $rts-break-md) {
|
|
25
|
+
min-height: 520px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.rtsee-page-skeleton-body {
|
|
30
|
+
flex: 1;
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: flex-start;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
padding-top: 32px;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
8
38
|
.rtsee-presentation-story-viewer-container {
|
|
9
39
|
background-color: $rts-story-player-background;
|
|
10
40
|
}
|
|
@@ -37,13 +37,21 @@
|
|
|
37
37
|
text-decoration: none;
|
|
38
38
|
color: #ffffff;
|
|
39
39
|
background-color: #1c1926;
|
|
40
|
-
background-size: cover;
|
|
41
|
-
background-position: center;
|
|
42
|
-
background-repeat: no-repeat;
|
|
43
40
|
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
|
|
44
41
|
transition: transform 0.25s ease, box-shadow 0.25s ease;
|
|
45
42
|
user-select: none;
|
|
46
43
|
|
|
44
|
+
.rtsee-stories-list-thumbnail-img {
|
|
45
|
+
position: absolute;
|
|
46
|
+
inset: 0;
|
|
47
|
+
width: 100%;
|
|
48
|
+
height: 100%;
|
|
49
|
+
object-fit: cover;
|
|
50
|
+
object-position: center;
|
|
51
|
+
z-index: 0;
|
|
52
|
+
pointer-events: none;
|
|
53
|
+
}
|
|
54
|
+
|
|
47
55
|
&:hover {
|
|
48
56
|
transform: translateY(-3px) scale(1.015);
|
|
49
57
|
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
|
|
@@ -150,15 +158,23 @@
|
|
|
150
158
|
|
|
151
159
|
.rtsee-stories-list-banner {
|
|
152
160
|
position: relative;
|
|
153
|
-
min-height:
|
|
161
|
+
min-height: 320px;
|
|
154
162
|
background-color: #1a1625;
|
|
155
|
-
background-size: cover;
|
|
156
|
-
background-position: center;
|
|
157
|
-
background-repeat: no-repeat;
|
|
158
163
|
display: flex;
|
|
159
164
|
align-items: flex-end;
|
|
160
165
|
overflow: hidden;
|
|
161
166
|
|
|
167
|
+
.rtsee-stories-list-banner-img {
|
|
168
|
+
position: absolute;
|
|
169
|
+
inset: 0;
|
|
170
|
+
width: 100%;
|
|
171
|
+
height: 100%;
|
|
172
|
+
object-fit: cover;
|
|
173
|
+
object-position: center;
|
|
174
|
+
z-index: 0;
|
|
175
|
+
pointer-events: none;
|
|
176
|
+
}
|
|
177
|
+
|
|
162
178
|
@media screen and (min-width: $rts-break-md) {
|
|
163
179
|
min-height: 360px;
|
|
164
180
|
}
|
|
@@ -281,6 +297,94 @@
|
|
|
281
297
|
color: rgba(255, 255, 255, 0.9);
|
|
282
298
|
}
|
|
283
299
|
|
|
300
|
+
.rtsee-stories-list-read-together-panel {
|
|
301
|
+
display: flex;
|
|
302
|
+
flex-direction: column;
|
|
303
|
+
align-items: stretch;
|
|
304
|
+
justify-content: space-between;
|
|
305
|
+
gap: 14px;
|
|
306
|
+
padding: 16px 20px;
|
|
307
|
+
margin-bottom: 24px;
|
|
308
|
+
border-radius: 16px;
|
|
309
|
+
border: 1px solid rgba(52, 211, 153, 0.28);
|
|
310
|
+
background:
|
|
311
|
+
radial-gradient(
|
|
312
|
+
110% 150% at 0% 0%,
|
|
313
|
+
rgba(16, 185, 129, 0.14) 0%,
|
|
314
|
+
rgba(16, 185, 129, 0) 60%
|
|
315
|
+
),
|
|
316
|
+
linear-gradient(
|
|
317
|
+
135deg,
|
|
318
|
+
$rts-rates-bg-card-start 0%,
|
|
319
|
+
$rts-rates-bg-card-end 100%
|
|
320
|
+
);
|
|
321
|
+
box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
|
|
322
|
+
|
|
323
|
+
@media screen and (min-width: $rts-break-sm) {
|
|
324
|
+
flex-direction: row;
|
|
325
|
+
align-items: center;
|
|
326
|
+
padding: 16px 22px;
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.rtsee-stories-list-read-together-hint {
|
|
331
|
+
margin: 0;
|
|
332
|
+
font-size: 0.93rem;
|
|
333
|
+
line-height: 1.45;
|
|
334
|
+
color: rgba(255, 255, 255, 0.88);
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.rtsee-stories-list-read-together-btn {
|
|
338
|
+
flex-shrink: 0;
|
|
339
|
+
min-height: 46px;
|
|
340
|
+
display: inline-flex;
|
|
341
|
+
align-items: center;
|
|
342
|
+
justify-content: center;
|
|
343
|
+
gap: 9px;
|
|
344
|
+
padding: 10px 20px;
|
|
345
|
+
border-radius: 12px;
|
|
346
|
+
border: 1px solid rgba(52, 211, 153, 0.5);
|
|
347
|
+
background: rgba(16, 185, 129, 0.16);
|
|
348
|
+
color: #ffffff;
|
|
349
|
+
font: inherit;
|
|
350
|
+
font-size: 0.92rem;
|
|
351
|
+
font-weight: 700;
|
|
352
|
+
letter-spacing: 0.01em;
|
|
353
|
+
cursor: pointer;
|
|
354
|
+
box-sizing: border-box;
|
|
355
|
+
box-shadow:
|
|
356
|
+
0 4px 16px rgba(0, 0, 0, 0.24),
|
|
357
|
+
0 0 0 1px rgba(255, 255, 255, 0.06) inset;
|
|
358
|
+
transition:
|
|
359
|
+
transform 0.18s ease,
|
|
360
|
+
border-color 0.18s ease,
|
|
361
|
+
background-color 0.18s ease,
|
|
362
|
+
box-shadow 0.18s ease;
|
|
363
|
+
|
|
364
|
+
.rtsee-stories-list-read-together-icon {
|
|
365
|
+
flex-shrink: 0;
|
|
366
|
+
color: #34d399;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
&:hover {
|
|
370
|
+
transform: translateY(-1px);
|
|
371
|
+
border-color: rgba(52, 211, 153, 0.8);
|
|
372
|
+
background: rgba(16, 185, 129, 0.25);
|
|
373
|
+
box-shadow:
|
|
374
|
+
0 8px 22px rgba(16, 185, 129, 0.22),
|
|
375
|
+
0 0 0 1px rgba(255, 255, 255, 0.12) inset;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
&:active {
|
|
379
|
+
transform: translateY(0) scale(0.99);
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
&:focus-visible {
|
|
383
|
+
outline: 2px solid #34d399;
|
|
384
|
+
outline-offset: 2px;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
|
|
284
388
|
.rtsee-stories-list-toolbar {
|
|
285
389
|
display: flex;
|
|
286
390
|
align-items: center;
|
|
@@ -20,9 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
.rtsee-story-details-cover {
|
|
22
22
|
position: relative;
|
|
23
|
-
background-
|
|
24
|
-
background-position: center;
|
|
25
|
-
background-repeat: no-repeat;
|
|
23
|
+
background-color: #1a1625;
|
|
26
24
|
display: flex;
|
|
27
25
|
align-items: flex-end;
|
|
28
26
|
overflow: hidden;
|
|
@@ -30,11 +28,22 @@
|
|
|
30
28
|
// Mobile-first default
|
|
31
29
|
min-height: 320px;
|
|
32
30
|
|
|
31
|
+
.rtsee-story-details-cover-img {
|
|
32
|
+
position: absolute;
|
|
33
|
+
inset: 0;
|
|
34
|
+
width: 100%;
|
|
35
|
+
height: 100%;
|
|
36
|
+
object-fit: cover;
|
|
37
|
+
object-position: center;
|
|
38
|
+
z-index: 0;
|
|
39
|
+
pointer-events: none;
|
|
40
|
+
}
|
|
41
|
+
|
|
33
42
|
.rtsee-story-details-btn-close {
|
|
34
43
|
position: absolute;
|
|
35
44
|
top: 24px;
|
|
36
45
|
right: 24px;
|
|
37
|
-
z-index:
|
|
46
|
+
z-index: 3;
|
|
38
47
|
width: 40px;
|
|
39
48
|
height: 40px;
|
|
40
49
|
border-radius: 50%;
|
|
@@ -82,24 +91,12 @@
|
|
|
82
91
|
position: relative;
|
|
83
92
|
z-index: 2;
|
|
84
93
|
width: 100%;
|
|
85
|
-
animation: rtseeHeroFadeUp 0.8s ease-out both;
|
|
86
94
|
|
|
87
95
|
// Mobile-first default
|
|
88
96
|
padding: $rts-offset-lg $rts-offset-md $rts-offset-xl;
|
|
89
97
|
max-width: 100%;
|
|
90
98
|
}
|
|
91
99
|
|
|
92
|
-
@keyframes rtseeHeroFadeUp {
|
|
93
|
-
from {
|
|
94
|
-
opacity: 0;
|
|
95
|
-
transform: translateY(30px);
|
|
96
|
-
}
|
|
97
|
-
to {
|
|
98
|
-
opacity: 1;
|
|
99
|
-
transform: translateY(0);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
100
|
/* ── TAGS / BADGES ────────────────────────────────────────── */
|
|
104
101
|
|
|
105
102
|
.rtsee-story-details-cover-badges {
|
|
@@ -264,7 +261,6 @@
|
|
|
264
261
|
box-shadow:
|
|
265
262
|
0 12px 40px rgba(0, 0, 0, 0.35),
|
|
266
263
|
0 0 0 1px rgba(255, 255, 255, 0.02) inset;
|
|
267
|
-
animation: rtseeCardSlideUp 0.6s ease-out both;
|
|
268
264
|
|
|
269
265
|
// fan the preview circles out when the panel is hovered
|
|
270
266
|
&:hover .rtsee-story-slides-preview-circle {
|
|
@@ -277,10 +273,24 @@
|
|
|
277
273
|
display: block;
|
|
278
274
|
}
|
|
279
275
|
|
|
276
|
+
.rtsee-story-details-cta-group {
|
|
277
|
+
display: flex;
|
|
278
|
+
flex-direction: column;
|
|
279
|
+
align-items: stretch;
|
|
280
|
+
gap: 12px;
|
|
281
|
+
width: 100%;
|
|
282
|
+
|
|
283
|
+
@media screen and (min-width: $rts-break-sm) {
|
|
284
|
+
flex-direction: row;
|
|
285
|
+
align-items: stretch;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
280
289
|
/* ── Start reading CTA ── */
|
|
281
290
|
.rtsee-story-details-start-reading.rts-action-button {
|
|
282
291
|
display: block;
|
|
283
292
|
width: 100%;
|
|
293
|
+
flex: 1 1 0;
|
|
284
294
|
|
|
285
295
|
.p-button {
|
|
286
296
|
position: relative;
|
|
@@ -352,6 +362,65 @@
|
|
|
352
362
|
}
|
|
353
363
|
}
|
|
354
364
|
}
|
|
365
|
+
|
|
366
|
+
/* ── Read Together on Video Call CTA ── */
|
|
367
|
+
.rtsee-story-details-read-together-btn {
|
|
368
|
+
flex: 1 1 0;
|
|
369
|
+
width: 100%;
|
|
370
|
+
min-height: 58px;
|
|
371
|
+
display: inline-flex;
|
|
372
|
+
align-items: center;
|
|
373
|
+
justify-content: center;
|
|
374
|
+
gap: 10px;
|
|
375
|
+
padding: $rts-offset-md $rts-offset-lg;
|
|
376
|
+
border-radius: 14px;
|
|
377
|
+
border: 1px solid rgba(52, 211, 153, 0.42);
|
|
378
|
+
background:
|
|
379
|
+
radial-gradient(
|
|
380
|
+
120% 140% at 0% 0%,
|
|
381
|
+
rgba(16, 185, 129, 0.2) 0%,
|
|
382
|
+
rgba(16, 185, 129, 0) 65%
|
|
383
|
+
),
|
|
384
|
+
rgba(255, 255, 255, 0.06);
|
|
385
|
+
color: #ffffff;
|
|
386
|
+
font: inherit;
|
|
387
|
+
font-size: 1rem;
|
|
388
|
+
font-weight: 700;
|
|
389
|
+
letter-spacing: 0.01em;
|
|
390
|
+
cursor: pointer;
|
|
391
|
+
box-sizing: border-box;
|
|
392
|
+
box-shadow:
|
|
393
|
+
0 6px 20px rgba(0, 0, 0, 0.25),
|
|
394
|
+
0 0 0 1px rgba(255, 255, 255, 0.06) inset;
|
|
395
|
+
transition:
|
|
396
|
+
transform 0.2s ease,
|
|
397
|
+
border-color 0.2s ease,
|
|
398
|
+
background-color 0.2s ease,
|
|
399
|
+
box-shadow 0.2s ease;
|
|
400
|
+
|
|
401
|
+
.rtsee-story-details-read-together-icon {
|
|
402
|
+
flex-shrink: 0;
|
|
403
|
+
color: #34d399;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
&:hover {
|
|
407
|
+
transform: translateY(-2px);
|
|
408
|
+
border-color: rgba(52, 211, 153, 0.72);
|
|
409
|
+
background-color: rgba(16, 185, 129, 0.14);
|
|
410
|
+
box-shadow:
|
|
411
|
+
0 10px 26px rgba(16, 185, 129, 0.22),
|
|
412
|
+
0 0 0 1px rgba(255, 255, 255, 0.12) inset;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
&:active {
|
|
416
|
+
transform: translateY(0) scale(0.99);
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
&:focus-visible {
|
|
420
|
+
outline: 2px solid #34d399;
|
|
421
|
+
outline-offset: 3px;
|
|
422
|
+
}
|
|
423
|
+
}
|
|
355
424
|
}
|
|
356
425
|
|
|
357
426
|
@keyframes rtseeStartReadingGlow {
|
|
@@ -420,23 +489,11 @@
|
|
|
420
489
|
transform 0.3s ease,
|
|
421
490
|
border-color 0.3s ease,
|
|
422
491
|
box-shadow 0.3s ease;
|
|
423
|
-
animation: rtseeCardSlideUp 0.6s ease-out both;
|
|
424
492
|
|
|
425
493
|
// Mobile-first default
|
|
426
494
|
padding: ($rts-offset-md + $rts-offset-sm); // 24px
|
|
427
495
|
}
|
|
428
496
|
|
|
429
|
-
@keyframes rtseeCardSlideUp {
|
|
430
|
-
from {
|
|
431
|
-
opacity: 0;
|
|
432
|
-
transform: translateY(24px);
|
|
433
|
-
}
|
|
434
|
-
to {
|
|
435
|
-
opacity: 1;
|
|
436
|
-
transform: translateY(0);
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
|
|
440
497
|
.rtsee-story-details-glass-card:hover {
|
|
441
498
|
transform: translateY(-4px);
|
|
442
499
|
border-color: rgba($rts-rates-accent-purple, 0.3);
|
|
@@ -7,6 +7,7 @@ $rts-slides-preview-circle: 52px;
|
|
|
7
7
|
.rtsee-story-slides-preview {
|
|
8
8
|
display: flex;
|
|
9
9
|
align-items: center;
|
|
10
|
+
min-height: $rts-slides-preview-circle;
|
|
10
11
|
gap: $rts-offset-md;
|
|
11
12
|
color: $rts-rates-text-primary;
|
|
12
13
|
|
|
@@ -35,13 +36,10 @@ $rts-slides-preview-circle: 52px;
|
|
|
35
36
|
rgba($rts-rates-accent-purple-light, 0.15) 100%
|
|
36
37
|
);
|
|
37
38
|
transition: transform 0.3s ease;
|
|
38
|
-
// backwards: the finished animation must not override the hover transforms
|
|
39
|
-
animation: rtseeSlidesPreviewPop 0.45s ease-out backwards;
|
|
40
39
|
|
|
41
40
|
@for $i from 1 through 3 {
|
|
42
41
|
&:nth-child(#{$i}) {
|
|
43
42
|
z-index: 4 - $i;
|
|
44
|
-
animation-delay: #{$i * 0.08}s;
|
|
45
43
|
}
|
|
46
44
|
}
|
|
47
45
|
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0.
|
|
2
|
+
"version": "0.0.134",
|
|
3
3
|
"name": "@rtsee/ngx",
|
|
4
4
|
"module": "./dist/ngx/fesm2022/rtsee-ngx.mjs",
|
|
5
5
|
"types": "./dist/ngx/index.d.ts",
|
|
@@ -40,15 +40,15 @@
|
|
|
40
40
|
"@angular/platform-browser-dynamic": "^20.1.2",
|
|
41
41
|
"@angular/router": "^20.1.2",
|
|
42
42
|
"@primeuix/themes": "^1.2.3",
|
|
43
|
-
"@rtsee/common": "^0.0.
|
|
44
|
-
"@rtsee/conference": "^0.0.
|
|
45
|
-
"@rtsee/core": "^0.0.
|
|
46
|
-
"@rtsee/events-dashboard": "^0.0.
|
|
47
|
-
"@rtsee/factory": "^0.0.
|
|
48
|
-
"@rtsee/messenger": "^0.0.
|
|
49
|
-
"@rtsee/presentation": "^0.0.
|
|
50
|
-
"@rtsee/signaling-client": "^0.0.
|
|
51
|
-
"@rtsee/utilities-ui": "^0.0.
|
|
43
|
+
"@rtsee/common": "^0.0.105",
|
|
44
|
+
"@rtsee/conference": "^0.0.106",
|
|
45
|
+
"@rtsee/core": "^0.0.149",
|
|
46
|
+
"@rtsee/events-dashboard": "^0.0.139",
|
|
47
|
+
"@rtsee/factory": "^0.0.148",
|
|
48
|
+
"@rtsee/messenger": "^0.0.139",
|
|
49
|
+
"@rtsee/presentation": "^0.0.138",
|
|
50
|
+
"@rtsee/signaling-client": "^0.0.152",
|
|
51
|
+
"@rtsee/utilities-ui": "^0.0.70",
|
|
52
52
|
"@stripe/stripe-js": "^8.6.1",
|
|
53
53
|
"@types/gtag.js": "^0.0.20",
|
|
54
54
|
"@types/node": "~24.0.14",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"publishConfig": {
|
|
72
72
|
"access": "public"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "bb7ed8ccd92b0b9c0187ed10f6e9154457eef9eb"
|
|
75
75
|
}
|