@ape.swap/bonds-sdk 3.0.4-test.2 → 3.0.5
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/components/{TagMinTierFlashBond/TagMinTierFlashBond.d.ts → TagXmasFlashBond/TagXmasFlashBond.d.ts} +3 -3
- package/dist/main.js +42779 -42732
- package/dist/styles.css +102 -3
- package/dist/views/Bonds/components/BondRows/BondRowsByChain.d.ts +1 -0
- package/package.json +1 -1
- package/dist/components/TokenInfoAndName/MinTierRow.d.ts +0 -5
- package/dist/views/BondModal/components/BondModalMinTierHeader.d.ts +0 -5
package/dist/styles.css
CHANGED
|
@@ -131,10 +131,70 @@
|
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
+
.project-view .xmas-hat {
|
|
135
|
+
display: none;
|
|
136
|
+
}
|
|
137
|
+
.project-view .xmas-tag {
|
|
138
|
+
display: none;
|
|
139
|
+
}
|
|
140
|
+
|
|
134
141
|
.modal {
|
|
135
142
|
width: fit-content !important;
|
|
136
143
|
max-width: 95%;
|
|
137
144
|
}
|
|
145
|
+
.modal .xmas-hat {
|
|
146
|
+
display: none;
|
|
147
|
+
}
|
|
148
|
+
.modal .xmas-tag {
|
|
149
|
+
display: none;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.project-view.xmas-style {
|
|
153
|
+
background: url("/images/bills/xmasRowBG.png");
|
|
154
|
+
background-size: contain;
|
|
155
|
+
}
|
|
156
|
+
.project-view.xmas-style .bond-card-block, .project-view.xmas-style .token-selector-panel {
|
|
157
|
+
background-color: rgb(38, 51, 63);
|
|
158
|
+
}
|
|
159
|
+
.project-view.xmas-style .input-container.token {
|
|
160
|
+
background-color: rgb(45, 58, 71);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.modal.xmas-style, .project-view.xmas-style {
|
|
164
|
+
background-color: rgb(31, 44, 56);
|
|
165
|
+
}
|
|
166
|
+
.modal.xmas-style .title-container.bondicon .xmas-hat, .project-view.xmas-style .title-container.bondicon .xmas-hat {
|
|
167
|
+
display: block;
|
|
168
|
+
position: absolute;
|
|
169
|
+
z-index: 9;
|
|
170
|
+
left: 13px;
|
|
171
|
+
top: -18px;
|
|
172
|
+
}
|
|
173
|
+
.modal.xmas-style .title-container.bondname, .project-view.xmas-style .title-container.bondname {
|
|
174
|
+
display: block;
|
|
175
|
+
}
|
|
176
|
+
.modal.xmas-style .title-container.bondname .list-tag, .project-view.xmas-style .title-container.bondname .list-tag {
|
|
177
|
+
background: #DF4141;
|
|
178
|
+
color: white;
|
|
179
|
+
}
|
|
180
|
+
.modal.xmas-style .modal-content, .project-view.xmas-style .modal-content {
|
|
181
|
+
background: url("/images/bills/xmasRowBG.png");
|
|
182
|
+
background-size: contain;
|
|
183
|
+
}
|
|
184
|
+
.modal.xmas-style .modal-content .bond-card-block, .modal.xmas-style .modal-content .token-selector-panel, .project-view.xmas-style .modal-content .bond-card-block, .project-view.xmas-style .modal-content .token-selector-panel {
|
|
185
|
+
background-color: rgb(38, 51, 63);
|
|
186
|
+
}
|
|
187
|
+
.modal.xmas-style .modal-content .input-container.token, .project-view.xmas-style .modal-content .input-container.token {
|
|
188
|
+
background-color: rgb(45, 58, 71);
|
|
189
|
+
}
|
|
190
|
+
.modal.xmas-style .hide-mobile, .project-view.xmas-style .hide-mobile {
|
|
191
|
+
display: none;
|
|
192
|
+
}
|
|
193
|
+
@media screen and (min-width: 800px) {
|
|
194
|
+
.modal.xmas-style .hide-mobile, .project-view.xmas-style .hide-mobile {
|
|
195
|
+
display: flex;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
138
198
|
|
|
139
199
|
.project-image {
|
|
140
200
|
border-radius: 6px;
|
|
@@ -174,10 +234,10 @@
|
|
|
174
234
|
}
|
|
175
235
|
|
|
176
236
|
.modaltable-container.title-container {
|
|
177
|
-
width: 100%;
|
|
178
237
|
font-weight: bold;
|
|
179
238
|
font-size: 1.5rem;
|
|
180
239
|
display: flex;
|
|
240
|
+
flex-direction: row;
|
|
181
241
|
align-items: center;
|
|
182
242
|
}
|
|
183
243
|
|
|
@@ -234,6 +294,12 @@
|
|
|
234
294
|
padding-left: 10px;
|
|
235
295
|
}
|
|
236
296
|
|
|
297
|
+
.title-container.price-container {
|
|
298
|
+
display: flex;
|
|
299
|
+
flex-direction: column;
|
|
300
|
+
padding-left: 20px;
|
|
301
|
+
}
|
|
302
|
+
|
|
237
303
|
.price-container.price {
|
|
238
304
|
font-size: 14px;
|
|
239
305
|
color: var(--theme-ui-colors-gray);
|
|
@@ -621,6 +687,18 @@ span.flex-inline {
|
|
|
621
687
|
min-height: 92px;
|
|
622
688
|
}
|
|
623
689
|
|
|
690
|
+
.show-alert-tier-xmas {
|
|
691
|
+
padding: 5px 10px;
|
|
692
|
+
width: 100%;
|
|
693
|
+
background: #DF4141;
|
|
694
|
+
border-radius: 4px;
|
|
695
|
+
margin-top: 10px !important;
|
|
696
|
+
font-size: 12px;
|
|
697
|
+
font-weight: 400;
|
|
698
|
+
justify-content: center;
|
|
699
|
+
text-align: center;
|
|
700
|
+
}
|
|
701
|
+
|
|
624
702
|
.bond-row {
|
|
625
703
|
display: flex;
|
|
626
704
|
flex-direction: row;
|
|
@@ -637,9 +715,15 @@ span.flex-inline {
|
|
|
637
715
|
}
|
|
638
716
|
.bond-row .token-info-container {
|
|
639
717
|
display: flex;
|
|
640
|
-
width:
|
|
718
|
+
width: 40%;
|
|
641
719
|
position: relative;
|
|
642
720
|
}
|
|
721
|
+
.bond-row .token-info-container .xmas-hat {
|
|
722
|
+
position: absolute;
|
|
723
|
+
z-index: 9;
|
|
724
|
+
left: 25px;
|
|
725
|
+
top: 3px;
|
|
726
|
+
}
|
|
643
727
|
.bond-row .bond-info-columns {
|
|
644
728
|
display: flex;
|
|
645
729
|
flex-direction: row;
|
|
@@ -696,6 +780,19 @@ span.flex-inline {
|
|
|
696
780
|
display: flex;
|
|
697
781
|
}
|
|
698
782
|
|
|
783
|
+
.bond-row.xmas-border {
|
|
784
|
+
background: url("/images/bills/xmasRowBG.png");
|
|
785
|
+
background-color: rgb(31, 44, 56);
|
|
786
|
+
}
|
|
787
|
+
.bond-row.xmas-border .tokeninfoname.container .list-tag {
|
|
788
|
+
background: #DF4141;
|
|
789
|
+
color: white;
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
.bond-row.xmas-border:hover {
|
|
793
|
+
background-color: rgb(42, 64, 84);
|
|
794
|
+
}
|
|
795
|
+
|
|
699
796
|
.column.column-tokens {
|
|
700
797
|
display: flex;
|
|
701
798
|
align-items: center;
|
|
@@ -925,10 +1022,11 @@ span.flex-inline {
|
|
|
925
1022
|
.tokeninfoname.container {
|
|
926
1023
|
width: calc(100% + 20px);
|
|
927
1024
|
position: relative;
|
|
928
|
-
justify-content:
|
|
1025
|
+
justify-content: space-between;
|
|
929
1026
|
height: 100%;
|
|
930
1027
|
align-items: center;
|
|
931
1028
|
padding-left: 20px;
|
|
1029
|
+
overflow: hidden;
|
|
932
1030
|
border-radius: 10px;
|
|
933
1031
|
}
|
|
934
1032
|
|
|
@@ -954,6 +1052,7 @@ span.flex-inline {
|
|
|
954
1052
|
padding-left: 6px;
|
|
955
1053
|
width: 100%;
|
|
956
1054
|
align-items: center;
|
|
1055
|
+
max-width: 190px;
|
|
957
1056
|
}
|
|
958
1057
|
|
|
959
1058
|
.tokeninfoname.tokentext {
|
|
@@ -4,6 +4,7 @@ import { BillsConfig } from '@ape.swap/apeswap-lists';
|
|
|
4
4
|
export interface BondRowsByChainProps {
|
|
5
5
|
bonds: (BondsData | BillsConfig)[];
|
|
6
6
|
hideTitles: boolean;
|
|
7
|
+
isCampaign: boolean;
|
|
7
8
|
}
|
|
8
9
|
declare const BondRowsByChain: React.FC<BondRowsByChainProps>;
|
|
9
10
|
export default BondRowsByChain;
|
package/package.json
CHANGED