@rtsee/ngx 0.0.131 → 0.0.132

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.
@@ -235,7 +235,11 @@ declare class StoriesListComponent implements AfterViewInit, OnChanges {
235
235
  ngAfterViewInit(): void;
236
236
  ngOnChanges(changes: SimpleChanges): void;
237
237
  setSortBy(mode: StoriesListSortMode): void;
238
- onStoryClicked(story?: RTSeeStory): void;
238
+ onStoryClicked(story?: RTSeeStory, fallbackEntityId?: string): void;
239
+ hasReadingProgress(item: {
240
+ entityId: string;
241
+ entity?: RTSeeStory;
242
+ }): boolean;
239
243
  private scrollToTop;
240
244
  static ɵfac: i0.ɵɵFactoryDeclaration<StoriesListComponent, never>;
241
245
  static ɵcmp: i0.ɵɵComponentDeclaration<StoriesListComponent, "rtsee-stories-list", never, { "list": { "alias": "list"; "required": false; }; "presentation": { "alias": "presentation"; "required": false; }; "messenger": { "alias": "messenger"; "required": false; }; }, {}, never, never, true, never>;
@@ -337,46 +337,71 @@
337
337
 
338
338
  .rtsee-stories-list-item {
339
339
  display: block;
340
- background: rgba(255, 255, 255, 0.04);
340
+ background: linear-gradient(
341
+ 135deg,
342
+ $rts-rates-bg-card-start 0%,
343
+ $rts-rates-bg-card-end 100%
344
+ );
341
345
  border: 1px solid rgba(255, 255, 255, 0.08);
342
346
  border-radius: 16px;
343
347
  padding: 14px;
344
- transition: border-color 0.2s ease, background-color 0.2s ease;
348
+ transition: border-color 0.2s ease, box-shadow 0.2s ease;
349
+
350
+ @media screen and (min-width: $rts-break-sm) {
351
+ padding: 16px 18px;
352
+ }
345
353
 
346
354
  &:hover {
347
355
  border-color: rgba(191, 139, 255, 0.35);
348
- background: rgba(255, 255, 255, 0.06);
356
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
349
357
  }
350
358
  }
351
359
 
352
360
  .rtsee-stories-list-item-card {
361
+ display: flex;
362
+ flex-direction: column;
363
+ min-width: 0;
364
+ }
365
+
366
+ .rtsee-stories-list-item-top {
353
367
  display: flex;
354
368
  flex-direction: row;
355
- align-items: flex-start;
369
+ align-items: stretch;
356
370
  gap: 14px;
357
371
  min-width: 0;
372
+
373
+ @media screen and (min-width: $rts-break-sm) {
374
+ gap: 16px;
375
+ }
358
376
  }
359
377
 
360
378
  .rtsee-stories-list-item-cover-link {
361
379
  position: relative;
362
380
  flex-shrink: 0;
381
+ align-self: flex-start;
363
382
  display: block;
364
- width: 112px;
365
- height: 112px;
383
+ width: 104px;
384
+ height: 104px;
366
385
  aspect-ratio: 1 / 1;
367
386
  border-radius: 12px;
368
387
  overflow: hidden;
369
388
  background: #222;
370
389
  text-decoration: none;
390
+ box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
391
+
392
+ @media screen and (min-width: $rts-break-sm) {
393
+ width: 112px;
394
+ height: 112px;
395
+ }
371
396
 
372
397
  &::after {
373
398
  content: "";
374
399
  position: absolute;
375
400
  inset: 0 0 auto 0;
376
- height: 44px;
401
+ height: 36px;
377
402
  background: linear-gradient(
378
403
  180deg,
379
- rgba(10, 8, 18, 0.6) 0%,
404
+ rgba(10, 8, 18, 0.58) 0%,
380
405
  rgba(10, 8, 18, 0) 100%
381
406
  );
382
407
  pointer-events: none;
@@ -384,15 +409,15 @@
384
409
  }
385
410
 
386
411
  &:hover .rtsee-stories-list-item-cover {
387
- transform: scale(1.04);
412
+ transform: scale(1.05);
388
413
  }
389
414
  }
390
415
 
391
416
  .rtsee-stories-list-item-cover-top {
392
417
  position: absolute;
393
- top: 6px;
394
- left: 6px;
395
- right: 6px;
418
+ top: 5px;
419
+ left: 5px;
420
+ right: 5px;
396
421
  z-index: 2;
397
422
  display: flex;
398
423
  align-items: center;
@@ -403,15 +428,15 @@
403
428
 
404
429
  .rtsee-stories-list-item-rank {
405
430
  flex-shrink: 0;
406
- min-width: 24px;
407
- height: 24px;
431
+ min-width: 22px;
432
+ height: 22px;
408
433
  padding: 0 6px;
409
- border-radius: 999px;
410
- background: rgba(18, 14, 28, 0.76);
434
+ border-radius: 7px;
435
+ background: rgba(18, 14, 28, 0.82);
411
436
  border: 1px solid rgba(191, 139, 255, 0.5);
412
437
  backdrop-filter: blur(6px);
413
438
  color: #fff;
414
- font-size: 0.76rem;
439
+ font-size: 0.72rem;
415
440
  font-weight: 700;
416
441
  line-height: 1;
417
442
  display: inline-flex;
@@ -422,10 +447,10 @@
422
447
 
423
448
  .rtsee-stories-list-item-rating {
424
449
  flex-shrink: 0;
425
- height: 24px;
426
- padding: 0 7px;
427
- border-radius: 999px;
428
- background: rgba(18, 14, 28, 0.76);
450
+ height: 22px;
451
+ padding: 0 6px;
452
+ border-radius: 7px;
453
+ background: rgba(18, 14, 28, 0.82);
429
454
  border: 1px solid rgba(255, 255, 255, 0.16);
430
455
  backdrop-filter: blur(6px);
431
456
  display: inline-flex;
@@ -436,13 +461,13 @@
436
461
 
437
462
  .rtsee-stories-list-item-rating-star {
438
463
  color: $ai-rating-star-color;
439
- font-size: 0.8rem;
464
+ font-size: 0.74rem;
440
465
  line-height: 1;
441
466
  }
442
467
 
443
468
  .rtsee-stories-list-item-rating-value {
444
469
  color: #ffffff;
445
- font-size: 0.74rem;
470
+ font-size: 0.7rem;
446
471
  font-weight: 700;
447
472
  line-height: 1;
448
473
  }
@@ -467,20 +492,38 @@
467
492
  .rtsee-stories-list-item-body {
468
493
  flex: 1;
469
494
  min-width: 0;
495
+ min-height: 104px;
496
+ display: flex;
497
+ flex-direction: column;
498
+ justify-content: space-between;
499
+ gap: 10px;
500
+
501
+ @media screen and (min-width: $rts-break-sm) {
502
+ min-height: 112px;
503
+ }
470
504
  }
471
505
 
472
506
  .rtsee-stories-list-item-header {
473
507
  display: flex;
474
508
  flex-direction: column;
475
- gap: 6px;
476
- margin-bottom: 8px;
509
+ gap: 5px;
510
+ margin: 0;
477
511
  }
478
512
 
479
513
  .rtsee-stories-list-item-title {
480
514
  margin: 0;
481
- font-size: 1.15rem;
515
+ font-size: 1.12rem;
482
516
  font-weight: 700;
483
- line-height: 1.3;
517
+ line-height: 1.25;
518
+ display: -webkit-box;
519
+ -webkit-line-clamp: 2;
520
+ line-clamp: 2;
521
+ -webkit-box-orient: vertical;
522
+ overflow: hidden;
523
+
524
+ @media screen and (min-width: $rts-break-sm) {
525
+ font-size: 1.2rem;
526
+ }
484
527
 
485
528
  a {
486
529
  color: #ffffff;
@@ -496,13 +539,24 @@
496
539
  display: flex;
497
540
  align-items: center;
498
541
  flex-wrap: wrap;
499
- gap: 10px;
500
- font-size: 0.8rem;
542
+ gap: 8px;
543
+ font-size: 0.78rem;
501
544
  color: $ai-text-color-secondary;
502
545
  }
503
546
 
547
+ .rtsee-stories-list-item-readtime {
548
+ display: inline-flex;
549
+ align-items: center;
550
+ gap: 4px;
551
+
552
+ .pi {
553
+ font-size: 0.74rem;
554
+ opacity: 0.75;
555
+ }
556
+ }
557
+
504
558
  .rtsee-stories-list-item-age {
505
- font-size: 0.72rem;
559
+ font-size: 0.7rem;
506
560
  font-weight: 600;
507
561
  color: $ai-icon-highlight-color;
508
562
  background: $ai-icon-highlight-color-dim;
@@ -510,11 +564,70 @@
510
564
  border-radius: 4px;
511
565
  }
512
566
 
567
+ .rtsee-stories-list-item-actions {
568
+ display: flex;
569
+ align-items: center;
570
+ flex-wrap: wrap;
571
+ gap: 10px;
572
+ }
573
+
574
+ .rtsee-stories-list-item-start-btn {
575
+ display: inline-flex;
576
+ align-items: center;
577
+ justify-content: center;
578
+ gap: 7px;
579
+ height: 34px;
580
+ padding: 0 14px;
581
+ border: none;
582
+ border-radius: 10px;
583
+ background: linear-gradient(
584
+ 135deg,
585
+ $rts-rates-accent-purple 0%,
586
+ $rts-rates-accent-purple-light 100%
587
+ );
588
+ color: #ffffff;
589
+ text-decoration: none;
590
+ font: inherit;
591
+ font-size: 0.82rem;
592
+ font-weight: 700;
593
+ letter-spacing: 0.01em;
594
+ cursor: pointer;
595
+ box-shadow:
596
+ 0 4px 14px rgba($rts-rates-accent-purple, 0.38),
597
+ 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
598
+ transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
599
+
600
+ .pi {
601
+ font-size: 0.85rem;
602
+ }
603
+
604
+ &:hover {
605
+ color: #ffffff;
606
+ text-decoration: none;
607
+ transform: translateY(-1px);
608
+ filter: brightness(1.06);
609
+ box-shadow:
610
+ 0 6px 18px rgba($rts-rates-accent-purple, 0.5),
611
+ 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
612
+ }
613
+
614
+ &:active {
615
+ transform: translateY(0) scale(0.98);
616
+ }
617
+
618
+ &:focus-visible {
619
+ outline: 2px solid $rts-rates-accent-purple-light;
620
+ outline-offset: 2px;
621
+ }
622
+ }
623
+
513
624
  .rtsee-stories-list-item-description {
514
- margin: 0;
515
- font-size: 0.94rem;
516
- line-height: 1.55;
517
- color: rgba(255, 255, 255, 0.82);
625
+ margin: 12px 0 0;
626
+ padding-top: 12px;
627
+ border-top: 1px solid rgba(255, 255, 255, 0.07);
628
+ font-size: 0.92rem;
629
+ line-height: 1.58;
630
+ color: rgba(255, 255, 255, 0.84);
518
631
  white-space: pre-line;
519
632
  }
520
633
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.131",
2
+ "version": "0.0.132",
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.102",
44
- "@rtsee/conference": "^0.0.103",
45
- "@rtsee/core": "^0.0.146",
46
- "@rtsee/events-dashboard": "^0.0.136",
47
- "@rtsee/factory": "^0.0.145",
48
- "@rtsee/messenger": "^0.0.136",
49
- "@rtsee/presentation": "^0.0.135",
50
- "@rtsee/signaling-client": "^0.0.149",
51
- "@rtsee/utilities-ui": "^0.0.67",
43
+ "@rtsee/common": "^0.0.103",
44
+ "@rtsee/conference": "^0.0.104",
45
+ "@rtsee/core": "^0.0.147",
46
+ "@rtsee/events-dashboard": "^0.0.137",
47
+ "@rtsee/factory": "^0.0.146",
48
+ "@rtsee/messenger": "^0.0.137",
49
+ "@rtsee/presentation": "^0.0.136",
50
+ "@rtsee/signaling-client": "^0.0.150",
51
+ "@rtsee/utilities-ui": "^0.0.68",
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": "02559524684627d820ee7848aa6c3e3ef12caf2a"
74
+ "gitHead": "a43a49fe9cc943e70993636ec7fc84bd67d909c0"
75
75
  }