@xapps-platform/marketplace-ui 0.1.7 → 0.1.9
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/README.md +12 -0
- package/dist/MarketplaceApp.d.ts.map +1 -1
- package/dist/index.css +119 -0
- package/dist/index.css.map +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +929 -116
- package/dist/index.js.map +4 -4
- package/dist/marketplace.css +141 -0
- package/dist/pages/XappDetailPage.d.ts +3 -1
- package/dist/pages/XappDetailPage.d.ts.map +1 -1
- package/dist/types.d.ts +108 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -53,6 +53,18 @@ export function App() {
|
|
|
53
53
|
- Composes with `@xapps-platform/embed-sdk` when host pages need iframe catalog/widget orchestration.
|
|
54
54
|
- Provides shared marketplace navigation for `Xapps`, `Publishers`, and `Activity`, plus activity
|
|
55
55
|
tabs for `Requests`, `Payments`, `Invoices`, and `Notifications`.
|
|
56
|
+
- `XappDetailPage` now also consumes the current-user XMS monetization read when exposed by the
|
|
57
|
+
host client:
|
|
58
|
+
- current access / subscription state
|
|
59
|
+
- credits summary
|
|
60
|
+
- additive entitlement summaries for owned durable unlocks
|
|
61
|
+
- resolved paywall-driven plan options from the published xapp manifest
|
|
62
|
+
- optional current-user checkout actions when the host exposes purchase-intent/payment-session helpers
|
|
63
|
+
- shared plan semantics that distinguish recurring memberships from additive unlocks:
|
|
64
|
+
- current recurring packages are not re-purchasable
|
|
65
|
+
- owned additive unlocks are not re-purchasable
|
|
66
|
+
- non-owned additive unlocks can still be purchased alongside an active membership and are
|
|
67
|
+
presented as add-ons instead of replacement plans
|
|
56
68
|
- Supports xapp-scoped operational surfaces for `requests`, `payments`, `invoices`, and
|
|
57
69
|
`notifications`.
|
|
58
70
|
- Host placement policy is declared through `MarketplaceEnv.host.operationalSurfaces`; the contract
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarketplaceApp.d.ts","sourceRoot":"","sources":["../src/MarketplaceApp.tsx"],"names":[],"mappings":"AAYA,wBAAgB,cAAc,
|
|
1
|
+
{"version":3,"file":"MarketplaceApp.d.ts","sourceRoot":"","sources":["../src/MarketplaceApp.tsx"],"names":[],"mappings":"AAYA,wBAAgB,cAAc,4CAqB7B"}
|
package/dist/index.css
CHANGED
|
@@ -1746,6 +1746,93 @@
|
|
|
1746
1746
|
line-height: 1.35;
|
|
1747
1747
|
overflow-wrap: anywhere;
|
|
1748
1748
|
}
|
|
1749
|
+
.mx-paywall-card-head {
|
|
1750
|
+
display: grid;
|
|
1751
|
+
gap: 0.35rem;
|
|
1752
|
+
margin-bottom: 0.85rem;
|
|
1753
|
+
}
|
|
1754
|
+
.mx-paywall-card-title {
|
|
1755
|
+
font-size: 0.98rem;
|
|
1756
|
+
font-weight: 700;
|
|
1757
|
+
color: var(--mx-text-main);
|
|
1758
|
+
}
|
|
1759
|
+
.mx-paywall-card-summary {
|
|
1760
|
+
font-size: 0.85rem;
|
|
1761
|
+
line-height: 1.45;
|
|
1762
|
+
color: var(--mx-text-muted);
|
|
1763
|
+
}
|
|
1764
|
+
.mx-paywall-card-badges {
|
|
1765
|
+
display: flex;
|
|
1766
|
+
flex-wrap: wrap;
|
|
1767
|
+
gap: 0.45rem;
|
|
1768
|
+
margin-bottom: 0.9rem;
|
|
1769
|
+
}
|
|
1770
|
+
.mx-paywall-card-badge,
|
|
1771
|
+
.mx-paywall-card-package-fit,
|
|
1772
|
+
.mx-paywall-card-package-default,
|
|
1773
|
+
.mx-paywall-card-signal {
|
|
1774
|
+
display: inline-flex;
|
|
1775
|
+
align-items: center;
|
|
1776
|
+
border-radius: 999px;
|
|
1777
|
+
padding: 0.28rem 0.58rem;
|
|
1778
|
+
font-size: 0.72rem;
|
|
1779
|
+
line-height: 1;
|
|
1780
|
+
border: 1px solid var(--mx-border);
|
|
1781
|
+
background: color-mix(in srgb, var(--mx-primary) 5%, var(--mx-card-bg));
|
|
1782
|
+
color: var(--mx-text-muted);
|
|
1783
|
+
}
|
|
1784
|
+
.mx-paywall-card-packages {
|
|
1785
|
+
display: grid;
|
|
1786
|
+
gap: 0.7rem;
|
|
1787
|
+
}
|
|
1788
|
+
.mx-paywall-card-package {
|
|
1789
|
+
display: grid;
|
|
1790
|
+
gap: 0.55rem;
|
|
1791
|
+
padding: 0.8rem 0.85rem;
|
|
1792
|
+
border-radius: 0.85rem;
|
|
1793
|
+
border: 1px solid var(--mx-border);
|
|
1794
|
+
background: color-mix(in srgb, var(--mx-card-bg) 94%, var(--mx-bg));
|
|
1795
|
+
}
|
|
1796
|
+
.mx-paywall-card-package.is-default {
|
|
1797
|
+
border-color: color-mix(in srgb, var(--mx-primary) 40%, var(--mx-border));
|
|
1798
|
+
background: color-mix(in srgb, var(--mx-primary) 4%, var(--mx-card-bg));
|
|
1799
|
+
}
|
|
1800
|
+
.mx-paywall-card-package-head {
|
|
1801
|
+
display: flex;
|
|
1802
|
+
align-items: flex-start;
|
|
1803
|
+
justify-content: space-between;
|
|
1804
|
+
gap: 0.8rem;
|
|
1805
|
+
}
|
|
1806
|
+
.mx-paywall-card-package-title {
|
|
1807
|
+
font-size: 0.92rem;
|
|
1808
|
+
font-weight: 700;
|
|
1809
|
+
color: var(--mx-text-main);
|
|
1810
|
+
}
|
|
1811
|
+
.mx-paywall-card-package-description {
|
|
1812
|
+
margin-top: 0.2rem;
|
|
1813
|
+
font-size: 0.8rem;
|
|
1814
|
+
line-height: 1.4;
|
|
1815
|
+
color: var(--mx-text-muted);
|
|
1816
|
+
}
|
|
1817
|
+
.mx-paywall-card-money {
|
|
1818
|
+
font-size: 0.84rem;
|
|
1819
|
+
font-weight: 700;
|
|
1820
|
+
color: var(--mx-text-main);
|
|
1821
|
+
white-space: nowrap;
|
|
1822
|
+
}
|
|
1823
|
+
.mx-paywall-card-package-meta {
|
|
1824
|
+
display: flex;
|
|
1825
|
+
flex-wrap: wrap;
|
|
1826
|
+
gap: 0.45rem;
|
|
1827
|
+
}
|
|
1828
|
+
.mx-paywall-card-package-default {
|
|
1829
|
+
color: var(--mx-primary);
|
|
1830
|
+
}
|
|
1831
|
+
.mx-paywall-card-signals {
|
|
1832
|
+
display: flex;
|
|
1833
|
+
flex-wrap: wrap;
|
|
1834
|
+
gap: 0.45rem;
|
|
1835
|
+
}
|
|
1749
1836
|
.mx-tag-list {
|
|
1750
1837
|
margin-top: 0.45rem;
|
|
1751
1838
|
}
|
|
@@ -3387,4 +3474,36 @@
|
|
|
3387
3474
|
flex-direction: column;
|
|
3388
3475
|
gap: 0.6rem;
|
|
3389
3476
|
}
|
|
3477
|
+
.mx-plans-route {
|
|
3478
|
+
display: flex;
|
|
3479
|
+
flex-direction: column;
|
|
3480
|
+
gap: 1rem;
|
|
3481
|
+
}
|
|
3482
|
+
.mx-plans-route-header {
|
|
3483
|
+
padding: 0.25rem 0 0.75rem;
|
|
3484
|
+
}
|
|
3485
|
+
.mx-plans-route-title {
|
|
3486
|
+
font-size: 1.5rem;
|
|
3487
|
+
font-weight: 700;
|
|
3488
|
+
color: var(--mx-text-main);
|
|
3489
|
+
letter-spacing: -0.02em;
|
|
3490
|
+
}
|
|
3491
|
+
.mx-plans-route-subtitle {
|
|
3492
|
+
margin-top: 0.4rem;
|
|
3493
|
+
color: var(--mx-text-muted);
|
|
3494
|
+
line-height: 1.5;
|
|
3495
|
+
}
|
|
3496
|
+
.mx-plans-route-grid {
|
|
3497
|
+
display: grid;
|
|
3498
|
+
grid-template-columns: minmax(0, 1fr);
|
|
3499
|
+
gap: 1rem;
|
|
3500
|
+
}
|
|
3501
|
+
.mx-plans-route-main {
|
|
3502
|
+
display: flex;
|
|
3503
|
+
flex-direction: column;
|
|
3504
|
+
gap: 1rem;
|
|
3505
|
+
}
|
|
3506
|
+
.mx-plans-route.is-widget-hosted {
|
|
3507
|
+
gap: 0.75rem;
|
|
3508
|
+
}
|
|
3390
3509
|
/*# sourceMappingURL=index.css.map */
|