@tribe-nest/forge 3.59.0 → 3.61.0
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/package.json +2 -1
- package/src/_tests/testCommunity.tsx +28 -0
- package/src/contexts/CartContext.tsx +34 -1
- package/src/contexts/CommunityContext.tsx +192 -0
- package/src/contexts/PublicAuthContext.tsx +15 -3
- package/src/data/queries/_tests/metaSignals.spec.tsx +130 -0
- package/src/data/queries/useAccount.ts +33 -2
- package/src/data/queries/useAnalytics.ts +6 -6
- package/src/data/queries/useCallChat.ts +2 -2
- package/src/data/queries/useChat.ts +52 -40
- package/src/data/queries/useCheckouts.ts +2 -1
- package/src/data/queries/useCoachingAvailability.ts +10 -1
- package/src/data/queries/useCommunities.ts +345 -0
- package/src/data/queries/useCommunity.ts +450 -102
- package/src/data/queries/useCommunityAgent.ts +247 -0
- package/src/data/queries/useCommunityCalendar.ts +150 -0
- package/src/data/queries/useCommunityClassroom.ts +75 -0
- package/src/data/queries/useCommunityMembers.ts +108 -0
- package/src/data/queries/useCommunityModeration.ts +327 -0
- package/src/data/queries/useCommunityWiki.ts +137 -0
- package/src/data/queries/useCourses.ts +2 -0
- package/src/data/queries/useEmailSignIn.ts +79 -0
- package/src/data/queries/useEvents.ts +6 -1
- package/src/data/queries/useForms.ts +5 -1
- package/src/data/queries/useLeadMagnet.ts +6 -2
- package/src/data/queries/useMembership.ts +32 -7
- package/src/data/queries/useMembershipCalls.ts +116 -7
- package/src/data/queries/useMyBookings.ts +24 -1
- package/src/data/queries/useMyTickets.ts +24 -1
- package/src/data/queries/useNotifications.ts +6 -2
- package/src/data/queries/useOrders.ts +2 -1
- package/src/data/queries/usePWA.ts +111 -35
- package/src/data/queries/usePostCollections.ts +28 -16
- package/src/data/queries/usePosts.ts +16 -14
- package/src/data/queries/useSiteApp.ts +130 -0
- package/src/data/queries/useSubscriptions.ts +28 -9
- package/src/i18n/de.json +891 -2
- package/src/i18n/en.json +891 -2
- package/src/index.ts +36 -7
- package/src/runtime/pages.spec.ts +36 -0
- package/src/runtime/pages.ts +52 -27
- package/src/server/_tests/buildWebManifest.spec.ts +1 -1
- package/src/server/_tests/forgeServiceWorkerScript.spec.ts +4 -4
- package/src/types/models.ts +11 -0
- package/src/ui/analytics/ForgeAnalytics.tsx +64 -34
- package/src/ui/analytics/PageMetaPixel.tsx +23 -8
- package/src/ui/analytics/_tests/ForgeAnalytics.meta.spec.tsx +129 -0
- package/src/ui/analytics/_tests/metaCommerceEvents.spec.tsx +159 -0
- package/src/ui/analytics/useMetaEvents.ts +78 -0
- package/src/ui/format/_tests/membershipGate.spec.ts +6 -6
- package/src/ui/format/membershipGate.ts +19 -15
- package/src/ui/headless/_tests/communityAgent.spec.tsx +519 -0
- package/src/ui/headless/_tests/communityCalendar.spec.tsx +195 -0
- package/src/ui/headless/_tests/communityClassroom.spec.tsx +120 -0
- package/src/ui/headless/_tests/communityGate.spec.tsx +80 -0
- package/src/ui/headless/_tests/communityHarness.tsx +212 -0
- package/src/ui/headless/_tests/communityMembers.spec.tsx +316 -0
- package/src/ui/headless/_tests/communityPoll.spec.tsx +389 -0
- package/src/ui/headless/_tests/communityProvider.spec.tsx +151 -0
- package/src/ui/headless/_tests/memberHomeBar.spec.ts +84 -0
- package/src/ui/headless/_tests/siteAppBar.spec.ts +83 -0
- package/src/ui/headless/_tests/siteAppHarness.ts +19 -0
- package/src/ui/headless/_tests/siteAppHome.spec.ts +226 -0
- package/src/ui/headless/_tests/siteAppPrompts.spec.ts +185 -0
- package/src/ui/headless/_tests/useCommunityInvite.spec.tsx +104 -0
- package/src/ui/headless/_tests/useCommunityJoin.spec.tsx +596 -0
- package/src/ui/headless/_tests/useCommunityMembership.spec.tsx +179 -0
- package/src/ui/headless/_tests/useCommunityModeration.spec.tsx +420 -0
- package/src/ui/headless/_tests/useCommunityReads.spec.tsx +295 -0
- package/src/ui/headless/_tests/useCommunityUpgrade.spec.tsx +157 -0
- package/src/ui/headless/_tests/useCommunityWiki.spec.tsx +224 -0
- package/src/ui/headless/_tests/useSiteApp.spec.tsx +52 -0
- package/src/ui/headless/_tests/wikiMediaImage.spec.tsx +132 -0
- package/src/ui/headless/auth/useEmailCodeSignIn.ts +186 -0
- package/src/ui/headless/auth/useSignupForm.ts +30 -3
- package/src/ui/headless/chat/useChatAttachmentUpload.ts +9 -6
- package/src/ui/headless/chat/useChatRoom.ts +35 -1
- package/src/ui/headless/communities/CommunityGate.tsx +67 -0
- package/src/ui/headless/communities/index.ts +96 -0
- package/src/ui/headless/communities/paths.ts +36 -0
- package/src/ui/headless/communities/useCommunity.ts +140 -0
- package/src/ui/headless/communities/useCommunityAbout.ts +71 -0
- package/src/ui/headless/communities/useCommunityCalendar.ts +156 -0
- package/src/ui/headless/communities/useCommunityClassroom.ts +84 -0
- package/src/ui/headless/communities/useCommunityHome.ts +91 -0
- package/src/ui/headless/communities/useCommunityInvite.ts +116 -0
- package/src/ui/headless/communities/useCommunityJoin.ts +494 -0
- package/src/ui/headless/communities/useCommunityMembership.ts +182 -0
- package/src/ui/headless/communities/useCommunityUpgrade.ts +213 -0
- package/src/ui/headless/communities/useCommunityWiki.ts +266 -0
- package/src/ui/headless/communities/useMyMemberships.ts +59 -0
- package/src/ui/headless/community/communityPoll.ts +297 -0
- package/src/ui/headless/community/countries.ts +123 -0
- package/src/ui/headless/community/index.ts +81 -1
- package/src/ui/headless/community/linkPreview.ts +71 -0
- package/src/ui/headless/community/richLexical.ts +27 -2
- package/src/ui/headless/community/useCommunityAgent.ts +285 -0
- package/src/ui/headless/community/useCommunityAttachmentUpload.ts +7 -3
- package/src/ui/headless/community/useCommunityMembers.ts +175 -0
- package/src/ui/headless/community/useCommunityModeration.ts +300 -0
- package/src/ui/headless/community/useCommunitySpaceFeed.ts +22 -4
- package/src/ui/headless/community/useCommunityThread.ts +16 -3
- package/src/ui/headless/community/useMentionComposer.ts +17 -9
- package/src/ui/headless/community/useRichMentionComposer.ts +21 -5
- package/src/ui/headless/downloads/index.ts +8 -0
- package/src/ui/headless/downloads/useDownloadPage.ts +134 -0
- package/src/ui/headless/index.ts +21 -4
- package/src/ui/headless/memberHome/index.ts +11 -1
- package/src/ui/headless/memberHome/memberHomeBar.ts +91 -0
- package/src/ui/headless/memberHome/useMemberHomeNav.ts +84 -44
- package/src/ui/headless/membership/_tests/membershipCheckoutRefetch.spec.tsx +8 -0
- package/src/ui/headless/membership/_tests/useMembershipCheckoutApplication.spec.tsx +5 -4
- package/src/ui/headless/membership/_tests/useMembershipCheckoutQuestionnaire.spec.tsx +1 -1
- package/src/ui/headless/membership/_tests/useMembershipCheckoutTrial.spec.tsx +1 -1
- package/src/ui/headless/membership/useMembershipCheckout.ts +89 -22
- package/src/ui/headless/membership/useMembershipGateNotice.ts +25 -7
- package/src/ui/headless/portal/index.ts +57 -0
- package/src/ui/headless/portal/usePortal.ts +274 -0
- package/src/ui/headless/portal/usePortalFiles.ts +68 -0
- package/src/ui/headless/portal/usePortalMessages.ts +189 -0
- package/src/ui/headless/portal/usePortalPreview.ts +142 -0
- package/src/ui/headless/posts/upsell.ts +54 -8
- package/src/ui/headless/posts/useMemberPostsFeed.ts +6 -5
- package/src/ui/headless/posts/usePostCollectionDetail.ts +7 -4
- package/src/ui/headless/posts/usePostCollectionsList.ts +6 -5
- package/src/ui/headless/posts/usePostItem.ts +6 -5
- package/src/ui/headless/siteApp/appBar.ts +102 -0
- package/src/ui/headless/siteApp/appHome.ts +344 -0
- package/src/ui/headless/siteApp/appPrompts.ts +229 -0
- package/src/ui/headless/siteApp/index.ts +58 -0
- package/src/ui/headless/siteApp/useAppHome.ts +210 -0
- package/src/ui/headless/siteApp/useAppInstallRequest.ts +16 -0
- package/src/ui/headless/work/index.ts +2 -0
- package/src/ui/headless/work/useWorkPortal.ts +37 -26
- package/src/ui/index.ts +28 -12
- package/src/ui/styled/AccountDashboard.tsx +754 -602
- package/src/ui/styled/AiAgentWidget.tsx +13 -1
- package/src/ui/styled/ChatRoom.tsx +126 -16
- package/src/ui/styled/Checkout.tsx +8 -0
- package/src/ui/styled/CheckoutConfirmation.tsx +8 -0
- package/src/ui/styled/CoachingConfirmation.tsx +8 -0
- package/src/ui/styled/CoachingDetail.tsx +2 -0
- package/src/ui/styled/CourseConfirmation.tsx +5 -0
- package/src/ui/styled/CourseDetail.tsx +2 -0
- package/src/ui/styled/DownloadPage.tsx +263 -0
- package/src/ui/styled/EventConfirmation.tsx +10 -0
- package/src/ui/styled/EventDetail.tsx +10 -0
- package/src/ui/styled/FilmLibrary.tsx +22 -9
- package/src/ui/styled/MembershipCheckout.tsx +37 -17
- package/src/ui/styled/MembershipTierCallout.tsx +20 -1
- package/src/ui/styled/MembershipTiers.tsx +49 -11
- package/src/ui/styled/MusicLinkPage.tsx +5 -5
- package/src/ui/styled/Paywall.tsx +1 -1
- package/src/ui/styled/ProductDetail.tsx +12 -0
- package/src/ui/styled/PwaRegistration.tsx +5 -1
- package/src/ui/styled/SignupForm.tsx +18 -3
- package/src/ui/styled/_tests/AccountDashboardBookingCall.spec.tsx +6 -6
- package/src/ui/styled/_tests/AccountDashboardMemberships.spec.tsx +151 -0
- package/src/ui/styled/_tests/AccountDashboardRentals.spec.tsx +1 -1
- package/src/ui/styled/_tests/AccountNotifications.spec.tsx +135 -0
- package/src/ui/styled/_tests/CourseCallsSection.spec.tsx +7 -1
- package/src/ui/styled/_tests/DownloadPage.spec.tsx +68 -0
- package/src/ui/styled/_tests/MembershipCheckout.spec.tsx +54 -11
- package/src/ui/styled/_tests/membershipTierCallout.spec.tsx +1 -1
- package/src/ui/styled/_tests/membershipTiersCuratedAccess.spec.tsx +1 -1
- package/src/ui/styled/app/AppBar.tsx +298 -0
- package/src/ui/styled/app/AppHome.tsx +1139 -0
- package/src/ui/styled/app/AppHomeMark.tsx +66 -0
- package/src/ui/styled/app/AppPrompts.tsx +464 -0
- package/src/ui/styled/app/_tests/AppBar.spec.tsx +96 -0
- package/src/ui/styled/app/_tests/AppHome.spec.tsx +209 -0
- package/src/ui/styled/app/_tests/AppPrompts.spec.tsx +232 -0
- package/src/ui/styled/app/index.ts +7 -0
- package/src/ui/styled/chat/ChatThreadPanel.tsx +29 -4
- package/src/ui/styled/chat/MessageBubble.tsx +43 -6
- package/src/ui/styled/communities/CommunitiesList.tsx +88 -0
- package/src/ui/styled/communities/CommunityAbout.tsx +145 -0
- package/src/ui/styled/communities/CommunityCalendar.tsx +484 -0
- package/src/ui/styled/communities/CommunityClassroom.tsx +302 -0
- package/src/ui/styled/communities/CommunityHome.tsx +298 -0
- package/src/ui/styled/communities/CommunityJoinSheet.tsx +544 -0
- package/src/ui/styled/communities/CommunityMembershipMenu.tsx +249 -0
- package/src/ui/styled/communities/CommunityPending.tsx +49 -0
- package/src/ui/styled/communities/CommunityPublicWiki.tsx +75 -0
- package/src/ui/styled/communities/CommunityUpgradeSheet.tsx +137 -0
- package/src/ui/styled/communities/CommunityWiki.tsx +289 -0
- package/src/ui/styled/communities/MyMembershipsList.tsx +115 -0
- package/src/ui/styled/communities/_tests/CommunityAppHome.spec.tsx +92 -0
- package/src/ui/styled/communities/_tests/CommunityClassroomCalendar.spec.tsx +453 -0
- package/src/ui/styled/communities/_tests/CommunityMobile.spec.tsx +399 -0
- package/src/ui/styled/communities/_tests/CommunityPages.spec.tsx +102 -0
- package/src/ui/styled/communities/_tests/CommunityWiki.spec.tsx +223 -0
- package/src/ui/styled/communities/index.ts +19 -0
- package/src/ui/styled/communities/shared.tsx +177 -0
- package/src/ui/styled/community/CommunityAgent.tsx +286 -0
- package/src/ui/styled/community/CommunityComposer.tsx +266 -15
- package/src/ui/styled/community/CommunityFeed.tsx +50 -1
- package/src/ui/styled/community/CommunityLinkPreview.tsx +159 -0
- package/src/ui/styled/community/CommunityMemberGlobe.tsx +171 -0
- package/src/ui/styled/community/CommunityMemberProfile.tsx +137 -4
- package/src/ui/styled/community/CommunityMembers.tsx +387 -0
- package/src/ui/styled/community/CommunityModeration.tsx +587 -0
- package/src/ui/styled/community/CommunityModerationState.tsx +127 -0
- package/src/ui/styled/community/CommunityModeratorMenu.tsx +317 -0
- package/src/ui/styled/community/CommunityNotifications.tsx +52 -6
- package/src/ui/styled/community/CommunityPollCard.tsx +250 -0
- package/src/ui/styled/community/CommunityPostCard.tsx +110 -34
- package/src/ui/styled/community/CommunityPostDetail.tsx +157 -71
- package/src/ui/styled/community/CommunityRichText.tsx +177 -32
- package/src/ui/styled/community/CommunitySpaces.tsx +49 -14
- package/src/ui/styled/community/_tests/CommunityAgent.spec.tsx +571 -0
- package/src/ui/styled/community/_tests/CommunityComposer.spec.tsx +4 -1
- package/src/ui/styled/community/_tests/CommunityLinkPreview.spec.tsx +167 -0
- package/src/ui/styled/community/_tests/CommunityMembers.spec.tsx +137 -0
- package/src/ui/styled/community/_tests/CommunityModeration.spec.tsx +291 -0
- package/src/ui/styled/community/_tests/CommunityPoll.spec.tsx +386 -0
- package/src/ui/styled/community/_tests/CommunityPostDetail.spec.tsx +4 -1
- package/src/ui/styled/community/index.ts +37 -2
- package/src/ui/styled/forge-utilities.css +253 -0
- package/src/ui/styled/members/CallRecordingActions.tsx +182 -0
- package/src/ui/styled/members/CallTranscriptViewer.tsx +424 -0
- package/src/ui/styled/members/MemberCallsCalendar.tsx +41 -54
- package/src/ui/styled/members/MemberHomeLayout.tsx +327 -29
- package/src/ui/styled/members/MemberPostCard.tsx +9 -5
- package/src/ui/styled/members/MemberPostsFeed.tsx +3 -2
- package/src/ui/styled/members/PostCollectionDetail.tsx +18 -10
- package/src/ui/styled/members/PostCollectionsGrid.tsx +24 -10
- package/src/ui/styled/members/_tests/MemberCallsCalendar.spec.tsx +167 -8
- package/src/ui/styled/members/callTranscriptText.ts +67 -0
- package/src/ui/styled/members/index.ts +8 -0
- package/src/ui/styled/portal/PortalAccountSection.tsx +61 -0
- package/src/ui/styled/portal/PortalActivity.tsx +167 -0
- package/src/ui/styled/portal/PortalBilling.tsx +197 -0
- package/src/ui/styled/portal/PortalFiles.tsx +279 -0
- package/src/ui/styled/portal/PortalHome.tsx +401 -0
- package/src/ui/styled/portal/PortalMessages.tsx +300 -0
- package/src/ui/styled/portal/PortalPreviewBanner.tsx +75 -0
- package/src/ui/styled/portal/PortalProjects.tsx +407 -0
- package/src/ui/styled/portal/PortalShell.tsx +397 -0
- package/src/ui/styled/portal/_tests/PortalAppHome.spec.tsx +90 -0
- package/src/ui/styled/portal/_tests/PortalFiles.spec.tsx +159 -0
- package/src/ui/styled/portal/_tests/PortalHome.spec.tsx +148 -0
- package/src/ui/styled/portal/_tests/PortalMessages.spec.tsx +168 -0
- package/src/ui/styled/portal/_tests/PortalPreviewBanner.spec.tsx +132 -0
- package/src/ui/styled/portal/_tests/portalNav.spec.ts +123 -0
- package/src/ui/styled/portal/index.ts +13 -0
- package/src/ui/styled/portal/portalNav.ts +260 -0
- package/src/ui/styled/portal/shared.tsx +206 -0
- package/src/ui/styled/work/WorkInviteAccept.tsx +228 -168
- package/src/ui/styled/work/WorkPortalProjects.tsx +68 -120
- package/src/ui/styled/work/WorkProjectDocuments.tsx +99 -128
- package/src/ui/styled/work/WorkProjectInvoices.tsx +91 -86
- package/src/ui/styled/work/WorkProjectReport.tsx +11 -17
- package/src/ui/styled/work/WorkReportBody.tsx +223 -248
- package/src/ui/styled/work/WorkTaskAttachments.tsx +23 -29
- package/src/ui/styled/work/WorkTaskComments.tsx +75 -102
- package/src/ui/styled/work/WorkTaskDetail.tsx +48 -59
- package/src/ui/styled/work/WorkTokenReport.tsx +8 -16
- package/src/ui/styled/work/index.ts +1 -1
- package/src/utils/_tests/metaEvents.spec.ts +264 -0
- package/src/utils/_tests/safeRedirect.spec.ts +2 -2
- package/src/utils/landing.ts +19 -6
- package/src/utils/metaEvents.ts +302 -0
- package/src/ui/headless/membership/MembershipGate.tsx +0 -44
- package/src/ui/styled/_tests/AccountDashboardCommunity.spec.tsx +0 -149
- package/src/ui/styled/_tests/AccountDashboardTrial.spec.tsx +0 -105
package/src/ui/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Forge UI
|
|
1
|
+
// Forge UI: Tier-2 styled blocks (theme-aware, opinionated) + the theme
|
|
2
2
|
// contract. Built on the Tier-1 headless primitives in `forge/ui/headless`.
|
|
3
3
|
|
|
4
4
|
// Compiled Tailwind utilities for every className in Forge's source, generated
|
|
@@ -50,7 +50,7 @@ export * from "./headless";
|
|
|
50
50
|
// Currency formatting primitive (presentational helper).
|
|
51
51
|
export { useFormatCurrency, useAmountFormatter, formatCurrency, getCurrencySymbol } from "./format/useFormatCurrency";
|
|
52
52
|
|
|
53
|
-
// Content layer (Component 7)
|
|
53
|
+
// Content layer (Component 7): editable field wrappers.
|
|
54
54
|
export {
|
|
55
55
|
EditableText,
|
|
56
56
|
EditableRichText,
|
|
@@ -96,7 +96,7 @@ export { Cart, type CartProps } from "./styled/Cart";
|
|
|
96
96
|
export { ResumeCart, type ResumeCartProps } from "./styled/ResumeCart";
|
|
97
97
|
// The resolver is exported alongside the component because the Craft themes
|
|
98
98
|
// are a separate rendering stack (Tailwind, not inline styles) and cannot use
|
|
99
|
-
// the component
|
|
99
|
+
// the component: but the legacy `color`/`size` fallback must not diverge.
|
|
100
100
|
export { CartLineOptions, resolveCartLineOptions } from "./styled/CartLineOptions";
|
|
101
101
|
export { CurrencySwitcher, type CurrencySwitcherProps } from "./styled/CurrencySwitcher";
|
|
102
102
|
export { UserMenu, type UserMenuProps } from "./styled/UserMenu";
|
|
@@ -128,14 +128,14 @@ export { tierColorMap, TIER_PALETTE } from "./styled/seating/paint";
|
|
|
128
128
|
export { EventCountdown, type EventCountdownProps } from "./styled/EventCountdown";
|
|
129
129
|
export { EventWaitlist, type EventWaitlistProps, formatCountdown } from "./styled/EventWaitlist";
|
|
130
130
|
export { EventDetail, type EventDetailProps } from "./styled/EventDetail";
|
|
131
|
-
// Phase 5
|
|
131
|
+
// Phase 5: the page for a NAMED, multi-date series. The API refuses anything
|
|
132
132
|
// else, so this component never has to decide whether a series is publishable.
|
|
133
133
|
export { EventSeriesDetail, type EventSeriesDetailProps } from "./styled/EventSeriesDetail";
|
|
134
134
|
export { AddToCalendar, type AddToCalendarProps } from "./styled/AddToCalendar";
|
|
135
135
|
export { WalletPassButtons, type WalletPassButtonsProps } from "./styled/WalletPassButtons";
|
|
136
136
|
export { CoachingBooking, type CoachingBookingProps } from "./styled/CoachingBooking";
|
|
137
137
|
export { CoachingDetail, type CoachingDetailProps } from "./styled/CoachingDetail";
|
|
138
|
-
// S.6
|
|
138
|
+
// S.6: the buyer-facing cancellation policy block. Exported so a code site that
|
|
139
139
|
// lays out its own booking page still has ONE renderer for these terms.
|
|
140
140
|
export { CancellationTerms, type CancellationTermsProps } from "./styled/CancellationTerms";
|
|
141
141
|
export { CourseCheckout, type CourseCheckoutProps } from "./styled/CourseCheckout";
|
|
@@ -148,7 +148,9 @@ export { ForgotPasswordForm, type ForgotPasswordFormProps } from "./styled/Forgo
|
|
|
148
148
|
export { ResetPasswordForm, type ResetPasswordFormProps } from "./styled/ResetPasswordForm";
|
|
149
149
|
export {
|
|
150
150
|
AccountDashboard,
|
|
151
|
+
AccountSection,
|
|
151
152
|
type AccountDashboardProps,
|
|
153
|
+
type AccountSectionProps,
|
|
152
154
|
type AccountTabKey,
|
|
153
155
|
ACCOUNT_TABS,
|
|
154
156
|
} from "./styled/AccountDashboard";
|
|
@@ -161,6 +163,7 @@ export {
|
|
|
161
163
|
export { AudioPlayer, type AudioPlayerProps } from "./styled/AudioPlayer";
|
|
162
164
|
export { ForgeAnalytics, type ForgeAnalyticsProps } from "./analytics/ForgeAnalytics";
|
|
163
165
|
export { PageMetaPixel, usePageMetaPixel, type PageMetaPixelProps } from "./analytics/PageMetaPixel";
|
|
166
|
+
export { useMetaViewContent, useMetaPurchase, useMetaInitiateCheckout, type MetaViewContentInput } from "./analytics/useMetaEvents";
|
|
164
167
|
export { CookieConsent, type CookieConsentProps } from "./styled/CookieConsent";
|
|
165
168
|
export { Loading, type LoadingProps } from "./styled/Loading";
|
|
166
169
|
/** The inventory-hold countdown + its lapsed/409 state. See `useInventoryHold`. */
|
|
@@ -255,7 +258,7 @@ export { PriceDisplay, priceTaxCaption, summarizeTaxQuote, type PriceDisplayProp
|
|
|
255
258
|
export { computeBookingFeeAmount, hasBookingFee, describeBookingFee } from "./format/bookingFee";
|
|
256
259
|
// Pay-what-you-want, for a site rendering its own ticket UI. `price` is the
|
|
257
260
|
// FLOOR on a PWYW tier, so an existing "from $X" is already correct; these only
|
|
258
|
-
// resolve what a buyer's chosen amount costs. The clamp here is UX
|
|
261
|
+
// resolve what a buyer's chosen amount costs. The clamp here is UX: the server
|
|
259
262
|
// clamps again and is the one that decides what is charged.
|
|
260
263
|
export {
|
|
261
264
|
isPayWhatYouWant,
|
|
@@ -288,7 +291,7 @@ export {
|
|
|
288
291
|
// subtracts `held` the way the server does, so a fan is never shown seats that
|
|
289
292
|
// are already in someone else's checkout; `ticketSaleWindow` surfaces a
|
|
290
293
|
// scheduled on-sale, which shipped enforced and drawn nowhere. Presentation
|
|
291
|
-
// only
|
|
294
|
+
// only: `createOrder` re-checks both.
|
|
292
295
|
export {
|
|
293
296
|
ticketSeatsAvailable,
|
|
294
297
|
ticketSeatsUnsold,
|
|
@@ -305,7 +308,7 @@ export {
|
|
|
305
308
|
type TicketSaleWindow,
|
|
306
309
|
} from "./format/ticketAvailability";
|
|
307
310
|
// Per-attendee names at checkout. Exported for a site rendering its own ticket
|
|
308
|
-
// UI
|
|
311
|
+
// UI: and used by `apps/client`, which has its own event checkout: the request
|
|
309
312
|
// shape is positional per tier and a length mismatch is refused server-side, so
|
|
310
313
|
// neither stack derives it for itself.
|
|
311
314
|
export {
|
|
@@ -323,7 +326,7 @@ export {
|
|
|
323
326
|
type AttendeeProblem,
|
|
324
327
|
} from "./format/attendees";
|
|
325
328
|
// Members-only gates (S.4). The wording and the resolving ACTION are decided
|
|
326
|
-
// purely, in one place, because BOTH rendering stacks draw this
|
|
329
|
+
// purely, in one place, because BOTH rendering stacks draw this: `apps/client`
|
|
327
330
|
// imports these directly, exactly as it does the PWYW arithmetic. A members-only
|
|
328
331
|
// badge that says one thing on an artist's PWA and another on their website is
|
|
329
332
|
// the same bug twice.
|
|
@@ -345,10 +348,10 @@ export {
|
|
|
345
348
|
export { MembershipGateNotice, type MembershipGateNoticeProps } from "./styled/MembershipGateNotice";
|
|
346
349
|
export { usePricesIncludeTax } from "../data/queries/useWebsite";
|
|
347
350
|
|
|
348
|
-
// PWA (installable code sites)
|
|
351
|
+
// PWA (installable code sites): SW registration + install/push UX (Tier 2).
|
|
349
352
|
export { PwaRegistration, type PwaRegistrationProps } from "./styled/PwaRegistration";
|
|
350
353
|
export { InstallBanner, type InstallBannerProps } from "./styled/InstallBanner";
|
|
351
|
-
// The single root component
|
|
354
|
+
// The single root component: providers + audio + analytics + PWA + consent in one.
|
|
352
355
|
export { TribeNestApp, type TribeNestAppProps } from "./shell/TribeNestApp";
|
|
353
356
|
// The SSR-bootstrap failure banner + its gating. Exported so a bespoke shell that
|
|
354
357
|
// doesn't use <TribeNestApp> can still fail loudly instead of silently rendering
|
|
@@ -366,10 +369,22 @@ export { PushOptIn, type PushOptInProps } from "./styled/PushOptIn";
|
|
|
366
369
|
// Community (forum) styled blocks.
|
|
367
370
|
export * from "./styled/community";
|
|
368
371
|
|
|
372
|
+
// Communities: the list, About page with the in-place join sheet, the pending
|
|
373
|
+
// screen, the community home shell, the upgrade sheet, the membership menu,
|
|
374
|
+
// and the account page's list of memberships.
|
|
375
|
+
export * from "./styled/communities";
|
|
376
|
+
|
|
369
377
|
// Work (project management) client-portal styled blocks.
|
|
370
378
|
export * from "./styled/work";
|
|
371
379
|
|
|
372
|
-
//
|
|
380
|
+
// The client portal (`/i/account/*`): shell, home, projects, invoices, documents, activity.
|
|
381
|
+
export * from "./styled/portal";
|
|
382
|
+
|
|
383
|
+
// The site app (`/i/app`): its home, the bottom bar a custom start page can
|
|
384
|
+
// drop in (`<AppBar />`), and the install and notification prompts.
|
|
385
|
+
export * from "./styled/app";
|
|
386
|
+
|
|
387
|
+
// A community's member home (`/i/communities/<slug>/home`) styled blocks.
|
|
373
388
|
export * from "./styled/members";
|
|
374
389
|
|
|
375
390
|
// The review page a "how did we do?" email lands on. Here rather than in a
|
|
@@ -380,3 +395,4 @@ export * from "./styled/ReviewRequestPage";
|
|
|
380
395
|
// it, at BOTH the canonical `/i/documents/$token` and the older
|
|
381
396
|
// `/documents/$token` that already-sent links point at.
|
|
382
397
|
export * from "./styled/DocumentSigningPage";
|
|
398
|
+
export * from "./styled/DownloadPage";
|