@rtsee/ngx 0.0.127 → 0.0.129

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.
@@ -22,11 +22,14 @@ $ise-slide-thumb-size: 112px;
22
22
  display: flex;
23
23
  flex-direction: column;
24
24
  gap: $rts-offset-md;
25
- padding: $rts-offset-md;
25
+ padding: $rts-offset-md $rts-offset-md calc(var(--rtsee-illustrator-collapsed-height, 60px) + #{$rts-offset-md});
26
26
  color: $ai-text-color-primary;
27
27
  background: $ai-background-gradient;
28
28
  border-radius: $ai-default-border-radius;
29
29
  min-height: 100%;
30
+ min-width: 0;
31
+ max-width: 100%;
32
+ box-sizing: border-box;
30
33
 
31
34
  button {
32
35
  font: inherit;
@@ -82,6 +85,8 @@ $ise-slide-thumb-size: 112px;
82
85
  border: 1px solid $ise-border-color;
83
86
  border-radius: $ai-default-border-radius;
84
87
  overflow: hidden;
88
+ min-width: 0;
89
+ max-width: 100%;
85
90
  transition: border-color $ise-transition, box-shadow $ise-transition;
86
91
 
87
92
  &:hover {
@@ -152,11 +157,50 @@ $ise-slide-thumb-size: 112px;
152
157
  .rtsee-ise-section-header {
153
158
  display: flex;
154
159
  align-items: center;
160
+ gap: $rts-offset-sm;
155
161
  position: relative;
156
162
  padding-right: $rts-offset-md;
163
+ min-width: 0;
157
164
 
158
165
  .rtsee-ise-section-toggle {
159
166
  flex: 1;
167
+ min-width: 0;
168
+ }
169
+ }
170
+
171
+ .rtsee-ise-btn-slides-view-toggle {
172
+ display: inline-flex;
173
+ align-items: center;
174
+ gap: 6px;
175
+ padding: 6px 12px;
176
+ background: rgba(255, 255, 255, 0.05);
177
+ border: 1px solid rgba(191, 139, 255, 0.28);
178
+ border-radius: 8px;
179
+ color: #e9d5ff;
180
+ font-size: 0.8rem;
181
+ font-weight: 600;
182
+ cursor: pointer;
183
+ white-space: nowrap;
184
+ flex-shrink: 0;
185
+ transition: all 0.18s ease;
186
+
187
+ .rtsee-ise-view-icon {
188
+ width: 14px;
189
+ height: 14px;
190
+ color: $ai-icon-highlight-color;
191
+ flex-shrink: 0;
192
+ }
193
+
194
+ &:hover {
195
+ background: rgba(168, 85, 247, 0.22);
196
+ border-color: rgba(191, 139, 255, 0.55);
197
+ color: #ffffff;
198
+ }
199
+
200
+ &--active {
201
+ background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(139, 92, 246, 0.18));
202
+ border-color: #a855f7;
203
+ color: #ffffff;
160
204
  }
161
205
  }
162
206
 
@@ -347,6 +391,9 @@ $ise-slide-thumb-size: 112px;
347
391
 
348
392
  .rtsee-ise-section-body {
349
393
  padding: 0 $rts-offset-md $rts-offset-md;
394
+ min-width: 0;
395
+ max-width: 100%;
396
+ box-sizing: border-box;
350
397
  animation: rtsee-ise-reveal $ise-transition both;
351
398
  }
352
399
 
@@ -568,8 +615,17 @@ $ise-slide-thumb-size: 112px;
568
615
 
569
616
  .rtsee-ise-slides-strip {
570
617
  display: flex;
618
+ flex-wrap: nowrap;
619
+ align-items: stretch;
571
620
  gap: $rts-offset-sm + $rts-offset-xsm;
572
621
  overflow-x: auto;
622
+ overflow-y: hidden;
623
+ -webkit-overflow-scrolling: touch;
624
+ touch-action: pan-x;
625
+ width: 100%;
626
+ max-width: 100%;
627
+ min-width: 0;
628
+ box-sizing: border-box;
573
629
  padding: $rts-offset-xsm $rts-offset-xsm $rts-offset-sm;
574
630
  scroll-snap-type: x proximity;
575
631
  scrollbar-width: thin;
@@ -583,13 +639,119 @@ $ise-slide-thumb-size: 112px;
583
639
  background: rgba(191, 139, 255, 0.4);
584
640
  border-radius: 999px;
585
641
  }
642
+
643
+ &.rtsee-ise-slides-strip--inline {
644
+ display: grid;
645
+ grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
646
+ gap: $rts-offset-sm + $rts-offset-xsm;
647
+ overflow-x: visible;
648
+ overflow-y: visible;
649
+ touch-action: auto;
650
+ scroll-snap-type: none;
651
+ padding: $rts-offset-xsm 0;
652
+
653
+ .rtsee-ise-slide-thumb-wrapper,
654
+ .rtsee-ise-slide-thumb--add {
655
+ flex: none;
656
+ width: 100%;
657
+ min-width: 0;
658
+ height: auto;
659
+ aspect-ratio: 1 / 1;
660
+ }
661
+
662
+ .rtsee-ise-slide-thumb {
663
+ width: 100%;
664
+ height: 100%;
665
+ }
666
+
667
+ @media (max-width: $rts-break-md) {
668
+ grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
669
+ gap: 10px;
670
+ }
671
+
672
+ @media (max-width: 540px) {
673
+ grid-template-columns: repeat(4, minmax(0, 1fr));
674
+ gap: 8px;
675
+
676
+ .rtsee-ise-btn-add-slide-ref-label {
677
+ display: none;
678
+ }
679
+
680
+ .rtsee-ise-btn-add-context,
681
+ .rtsee-ise-btn-add-slide-ref {
682
+ width: 22px;
683
+ height: 22px;
684
+ padding: 0;
685
+ top: 3px;
686
+ }
687
+
688
+ .rtsee-ise-btn-add-context {
689
+ left: 3px;
690
+ }
691
+
692
+ .rtsee-ise-btn-add-slide-ref {
693
+ right: 3px;
694
+ }
695
+
696
+ .rtsee-ise-btn-slide-quick-apply {
697
+ width: 22px;
698
+ height: 22px;
699
+ min-width: 22px;
700
+ min-height: 22px;
701
+ bottom: 3px;
702
+ right: 3px;
703
+ }
704
+
705
+ .rtsee-ise-slide-number {
706
+ left: 4px;
707
+ bottom: 4px;
708
+ min-width: 18px;
709
+ padding: 1px 5px;
710
+ font-size: 0.65rem;
711
+ }
712
+ }
713
+
714
+ @media (max-width: 319px) {
715
+ grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
716
+ gap: 6px;
717
+ }
718
+ }
586
719
  }
587
720
 
588
- .rtsee-ise-slide-thumb {
589
- @extend %rtsee-ise-card;
721
+ .rtsee-ise-slide-thumb-wrapper {
590
722
  position: relative;
723
+ display: flex;
591
724
  flex: 0 0 $ise-slide-thumb-size;
725
+ width: $ise-slide-thumb-size;
726
+ min-width: $ise-slide-thumb-size;
592
727
  height: $ise-slide-thumb-size;
728
+ scroll-snap-align: start;
729
+
730
+ .rtsee-ise-btn-add-context {
731
+ position: absolute;
732
+ top: 4px;
733
+ left: 4px;
734
+ }
735
+
736
+ .rtsee-ise-btn-add-slide-ref {
737
+ position: absolute;
738
+ top: 4px;
739
+ right: 4px;
740
+ }
741
+
742
+ .rtsee-ise-btn-slide-quick-apply {
743
+ position: absolute;
744
+ bottom: 4px;
745
+ right: 4px;
746
+ }
747
+ }
748
+
749
+ .rtsee-ise-slide-thumb {
750
+ @extend %rtsee-ise-card;
751
+ position: relative;
752
+ flex: 1 1 auto;
753
+ width: 100%;
754
+ height: 100%;
593
755
  padding: 0;
594
756
  overflow: hidden;
595
757
  scroll-snap-align: start;
@@ -610,6 +772,10 @@ $ise-slide-thumb-size: 112px;
610
772
  }
611
773
 
612
774
  &.rtsee-ise-slide-thumb--add {
775
+ flex: 0 0 $ise-slide-thumb-size;
776
+ width: $ise-slide-thumb-size;
777
+ min-width: $ise-slide-thumb-size;
778
+ height: $ise-slide-thumb-size;
613
779
  border-style: dashed;
614
780
 
615
781
  &:disabled {
@@ -690,7 +856,35 @@ $ise-slide-thumb-size: 112px;
690
856
  }
691
857
 
692
858
  @media (max-width: $rts-break-md) {
693
- padding: $rts-offset-sm;
859
+ padding: $rts-offset-sm $rts-offset-sm calc(var(--rtsee-illustrator-collapsed-height, 56px) + #{$rts-offset-sm});
860
+
861
+ .rtsee-ise-section-header {
862
+ padding-right: $rts-offset-sm;
863
+
864
+ .rtsee-ise-section-toggle {
865
+ padding: $rts-offset-sm + $rts-offset-xsm;
866
+ }
867
+ }
868
+
869
+ .rtsee-ise-section-body {
870
+ padding: 0 ($rts-offset-sm + 2px) ($rts-offset-sm + 2px);
871
+ }
872
+
873
+ .rtsee-ise-slides-strip:not(.rtsee-ise-slides-strip--inline) {
874
+ gap: $rts-offset-sm;
875
+
876
+ .rtsee-ise-slide-thumb-wrapper,
877
+ .rtsee-ise-slide-thumb--add {
878
+ flex: 0 0 96px;
879
+ width: 96px;
880
+ min-width: 96px;
881
+ height: 96px;
882
+ }
883
+
884
+ .rtsee-ise-btn-add-slide-ref-label {
885
+ display: none;
886
+ }
887
+ }
694
888
 
695
889
  .rtsee-ise-thumbs-grid {
696
890
  grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
@@ -4,11 +4,15 @@
4
4
  display: flex;
5
5
  flex-direction: column;
6
6
  gap: $rts-offset-md;
7
+ min-width: 0;
8
+ max-width: 100%;
7
9
 
8
10
  .rtsee-manage-stories-header {
9
11
  display: flex;
10
12
  align-items: center;
11
- justify-content: flex-start;
13
+ justify-content: space-between;
14
+ flex-wrap: wrap;
15
+ gap: $rts-offset-sm + $rts-offset-xsm;
12
16
 
13
17
  .p-button {
14
18
  background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
@@ -28,13 +32,118 @@
28
32
  }
29
33
  }
30
34
 
35
+ .rtsee-manage-stories-search {
36
+ position: relative;
37
+ display: flex;
38
+ align-items: center;
39
+ flex: 1 1 240px;
40
+ max-width: 380px;
41
+ min-width: 200px;
42
+
43
+ .rtsee-manage-stories-search-icon {
44
+ position: absolute;
45
+ left: 12px;
46
+ width: 16px;
47
+ height: 16px;
48
+ color: $ai-text-color-secondary;
49
+ pointer-events: none;
50
+ transition: color 0.15s ease;
51
+ }
52
+
53
+ &:focus-within .rtsee-manage-stories-search-icon {
54
+ color: $ai-icon-highlight-color;
55
+ }
56
+
57
+ .rtsee-manage-stories-search-input {
58
+ width: 100%;
59
+ padding: 9px 34px 9px 36px;
60
+ border-radius: 10px;
61
+ border: 1px solid rgba(255, 255, 255, 0.12);
62
+ background: rgba(18, 18, 28, 0.82);
63
+ color: $ai-text-color-primary;
64
+ font-family: inherit;
65
+ font-size: 0.9rem;
66
+ outline: none;
67
+ box-sizing: border-box;
68
+ transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
69
+
70
+ &::placeholder {
71
+ color: $ai-text-color-secondary;
72
+ }
73
+
74
+ &:focus {
75
+ border-color: rgba(191, 139, 255, 0.55);
76
+ background: rgba(24, 24, 38, 0.94);
77
+ box-shadow: 0 0 0 2px rgba(191, 139, 255, 0.2);
78
+ }
79
+
80
+ &::-webkit-search-cancel-button {
81
+ display: none;
82
+ }
83
+ }
84
+
85
+ .rtsee-manage-stories-search-clear {
86
+ position: absolute;
87
+ right: 8px;
88
+ display: inline-flex;
89
+ align-items: center;
90
+ justify-content: center;
91
+ width: 24px;
92
+ height: 24px;
93
+ padding: 0;
94
+ border: none;
95
+ border-radius: 50%;
96
+ background: transparent;
97
+ color: $ai-text-color-secondary;
98
+ cursor: pointer;
99
+ transition: color 0.15s ease, background 0.15s ease;
100
+
101
+ &:hover {
102
+ color: #ffffff;
103
+ background: rgba(255, 255, 255, 0.08);
104
+ }
105
+
106
+ i {
107
+ font-size: 0.78rem;
108
+ }
109
+ }
110
+
111
+ @media (max-width: $rts-break-md) {
112
+ max-width: 100%;
113
+ flex-basis: 100%;
114
+ }
115
+ }
116
+
31
117
  .rtsee-manage-story-container {
32
118
  display: flex;
33
119
  flex-direction: column;
34
120
  gap: $rts-offset-md;
121
+ min-width: 0;
122
+ max-width: 100%;
35
123
  }
36
124
 
37
125
  .rtsee-manage-stories-list {
38
126
  margin-top: 0;
127
+ display: flex;
128
+ flex-direction: column;
129
+ gap: $rts-offset-sm;
130
+ }
131
+
132
+ .rtsee-manage-stories-empty,
133
+ .rtsee-manage-stories-loading {
134
+ display: flex;
135
+ align-items: center;
136
+ justify-content: center;
137
+ gap: $rts-offset-sm;
138
+ padding: $rts-offset-md;
139
+ border-radius: 12px;
140
+ background: rgba(18, 18, 28, 0.65);
141
+ border: 1px solid rgba(255, 255, 255, 0.07);
142
+ color: $ai-text-color-secondary;
143
+ font-size: 0.9rem;
144
+
145
+ i {
146
+ color: $ai-icon-highlight-color;
147
+ }
39
148
  }
40
149
  }