@rpg-engine/long-bow 0.8.234 → 0.8.235
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/long-bow.cjs.development.js +12 -16
- package/dist/long-bow.cjs.development.js.map +1 -1
- package/dist/long-bow.cjs.production.min.js +1 -1
- package/dist/long-bow.cjs.production.min.js.map +1 -1
- package/dist/long-bow.esm.js +12 -16
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Marketplace/ManagmentPanel.tsx +0 -12
- package/src/components/Marketplace/__test__/ManagmentPanel.spec.tsx +0 -6
package/package.json
CHANGED
|
@@ -147,11 +147,6 @@ export const ManagmentPanel: React.FC<IManagmentPanelProps> = ({
|
|
|
147
147
|
}}
|
|
148
148
|
/>
|
|
149
149
|
</Flex>
|
|
150
|
-
{commissionPercent > 0 && (
|
|
151
|
-
<FeeDisclosure>
|
|
152
|
-
{commissionPercent * 100}% marketplace commission is deducted from seller proceeds.
|
|
153
|
-
</FeeDisclosure>
|
|
154
|
-
)}
|
|
155
150
|
{price && Number(price) > 0 && commissionPercent > 0 && (
|
|
156
151
|
<NetProceeds>
|
|
157
152
|
You'll receive: {netProceedsLabel}
|
|
@@ -317,13 +312,6 @@ const NetProceeds = styled.p`
|
|
|
317
312
|
line-height: 1.5 !important;
|
|
318
313
|
`;
|
|
319
314
|
|
|
320
|
-
const FeeDisclosure = styled.p`
|
|
321
|
-
margin: 6px 0 0;
|
|
322
|
-
color: rgba(254, 240, 138, 0.65);
|
|
323
|
-
font-size: 7px !important;
|
|
324
|
-
line-height: 1.4 !important;
|
|
325
|
-
`;
|
|
326
|
-
|
|
327
315
|
const GoldIcon = styled.div`
|
|
328
316
|
position: relative;
|
|
329
317
|
display: flex;
|
|
@@ -93,12 +93,6 @@ describe('ManagmentPanel commission disclosure', () => {
|
|
|
93
93
|
expect(container.textContent).toMatch(/after 5% commission/i);
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
it('shows the commission disclosure before a price is entered', () => {
|
|
97
|
-
renderPanel(0.05);
|
|
98
|
-
|
|
99
|
-
expect(container.textContent).toMatch(/5% marketplace commission is deducted from seller proceeds/i);
|
|
100
|
-
});
|
|
101
|
-
|
|
102
96
|
it('hides net proceeds when commission is zero', () => {
|
|
103
97
|
renderPanel();
|
|
104
98
|
|