@ape.swap/bonds-sdk 3.0.2 → 3.0.4-test.1

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/styles.css CHANGED
@@ -131,70 +131,10 @@
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
-
141
134
  .modal {
142
135
  width: fit-content !important;
143
136
  max-width: 95%;
144
137
  }
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
- }
198
138
 
199
139
  .project-image {
200
140
  border-radius: 6px;
@@ -234,10 +174,10 @@
234
174
  }
235
175
 
236
176
  .modaltable-container.title-container {
177
+ width: 100%;
237
178
  font-weight: bold;
238
179
  font-size: 1.5rem;
239
180
  display: flex;
240
- flex-direction: row;
241
181
  align-items: center;
242
182
  }
243
183
 
@@ -294,12 +234,6 @@
294
234
  padding-left: 10px;
295
235
  }
296
236
 
297
- .title-container.price-container {
298
- display: flex;
299
- flex-direction: column;
300
- padding-left: 20px;
301
- }
302
-
303
237
  .price-container.price {
304
238
  font-size: 14px;
305
239
  color: var(--theme-ui-colors-gray);
@@ -687,18 +621,6 @@ span.flex-inline {
687
621
  min-height: 92px;
688
622
  }
689
623
 
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
-
702
624
  .bond-row {
703
625
  display: flex;
704
626
  flex-direction: row;
@@ -715,15 +637,9 @@ span.flex-inline {
715
637
  }
716
638
  .bond-row .token-info-container {
717
639
  display: flex;
718
- width: 40%;
640
+ width: 100%;
719
641
  position: relative;
720
642
  }
721
- .bond-row .token-info-container .xmas-hat {
722
- position: absolute;
723
- z-index: 9;
724
- left: 25px;
725
- top: 3px;
726
- }
727
643
  .bond-row .bond-info-columns {
728
644
  display: flex;
729
645
  flex-direction: row;
@@ -780,19 +696,6 @@ span.flex-inline {
780
696
  display: flex;
781
697
  }
782
698
 
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
-
796
699
  .column.column-tokens {
797
700
  display: flex;
798
701
  align-items: center;
@@ -1022,11 +925,10 @@ span.flex-inline {
1022
925
  .tokeninfoname.container {
1023
926
  width: calc(100% + 20px);
1024
927
  position: relative;
1025
- justify-content: space-between;
928
+ justify-content: start;
1026
929
  height: 100%;
1027
930
  align-items: center;
1028
931
  padding-left: 20px;
1029
- overflow: hidden;
1030
932
  border-radius: 10px;
1031
933
  }
1032
934
 
@@ -1052,7 +954,6 @@ span.flex-inline {
1052
954
  padding-left: 6px;
1053
955
  width: 100%;
1054
956
  align-items: center;
1055
- max-width: 190px;
1056
957
  }
1057
958
 
1058
959
  .tokeninfoname.tokentext {
@@ -0,0 +1,5 @@
1
+ import { LaunchBondTiers } from '@ape.swap/apeswap-lists';
2
+ declare const BondModalMinTierHeader: ({ minTier }: {
3
+ minTier: LaunchBondTiers | null;
4
+ }) => import("react").JSX.Element;
5
+ export default BondModalMinTierHeader;
@@ -4,7 +4,6 @@ import { BillsConfig } from '@ape.swap/apeswap-lists';
4
4
  export interface BondRowsByChainProps {
5
5
  bonds: (BondsData | BillsConfig)[];
6
6
  hideTitles: boolean;
7
- isCampaign: boolean;
8
7
  }
9
8
  declare const BondRowsByChain: React.FC<BondRowsByChainProps>;
10
9
  export default BondRowsByChain;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Ape Bond SDK",
4
4
  "author": "Ape Bond",
5
5
  "license": "MIT",
6
- "version": "3.0.2",
6
+ "version": "3.0.4-test.1",
7
7
  "module": "dist/main.js",
8
8
  "type": "module",
9
9
  "types": "dist/main.d.ts",