@molecule/app-plan-updated-page-solid 0.0.0-stage → 1.1.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/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/README.md CHANGED
@@ -1,3 +1,157 @@
1
- # Temporary Holding Version
1
+ <!--
2
+ AUTO-GENERATED — DO NOT EDIT THIS FILE.
3
+ Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
4
+ Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
5
+ To change this document, edit the module-level JSDoc in src/index.ts.
6
+ Generated: 2026-11-21T12:46:56.575Z
7
+ -->
2
8
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
9
+ # @molecule/app-plan-updated-page-solid
10
+
11
+ Solid post-purchase confirmation page.
12
+
13
+ Exports `PlanUpdated` — the Solid counterpart of
14
+ `@molecule/app-plan-updated-page-react` with the same props (React names)
15
+ and the same DOM for the same input: a thank-you headline plus a Return
16
+ Home button, rendered after the user completes a plan upgrade. It reads
17
+ auth state to show a spinner while the session is still hydrating, so the
18
+ page is safe to navigate to directly from a webhook redirect or a fresh
19
+ page load.
20
+
21
+ **It also completes the purchase.** A hosted checkout returns the buyer
22
+ here with the payment id in the query
23
+ (`/plan-updated?provider=stripe&sessionId=…`), and this page confirms it
24
+ with `POST /users/:id/verify-payment/:provider` — a same-origin call, so
25
+ the session cookie applies. Route it at the path your API's
26
+ `PAYMENTS_PLAN_UPDATED_PATH` points to (default `/plan-updated`) and the
27
+ upgrade completes on the redirect instead of waiting on a webhook.
28
+
29
+ > **Auto-generated, AI-first package reference** for the [molecule.dev](https://molecule.dev) ecosystem.
30
+ > It is written to be read by coding agents as much as by people, and is generated from this
31
+ > package's source — edit `src/index.ts` JSDoc, not this file.
32
+
33
+ ## Quick Start
34
+
35
+ ```tsx
36
+ import { PlanUpdated } from '@molecule/app-plan-updated-page-solid'
37
+
38
+ ;<Route path="/plan-updated" component={PlanUpdated} />
39
+ ```
40
+
41
+ ## Type
42
+
43
+ `feature`
44
+
45
+ ## Installation
46
+
47
+ ```bash
48
+ npm install @molecule/app-plan-updated-page-solid @molecule/app-solid @molecule/app-ui @molecule/app-ui-solid solid-js
49
+ ```
50
+
51
+ ## API
52
+
53
+ ### Interfaces
54
+
55
+ #### `PlanUpdatedProps`
56
+
57
+ Props for {@link PlanUpdated}. All optional — defaults reproduce the
58
+ original hardcoded copy, so existing `<PlanUpdated />` usages are unchanged.
59
+
60
+ ```typescript
61
+ interface PlanUpdatedProps {
62
+ /** i18n key for the confirmation message. */
63
+ messageKey?: string
64
+ /** Default confirmation message when the key is missing. */
65
+ messageDefault?: string
66
+ /** i18n key for the thank-you line. */
67
+ thankYouKey?: string
68
+ /** Default thank-you line when the key is missing. */
69
+ thankYouDefault?: string
70
+ /** i18n key for the return-home action label. */
71
+ actionKey?: string
72
+ /** Default action label when the key is missing. */
73
+ actionDefault?: string
74
+ /** Href the return-home action navigates to. Defaults to `/`. */
75
+ actionHref?: string
76
+ /**
77
+ * Provider name to verify the purchase with when the return URL carries no
78
+ * `provider` parameter (older checkout sessions). Verification is skipped
79
+ * when neither names one.
80
+ */
81
+ provider?: string
82
+ /**
83
+ * Set `false` to render the confirmation without verifying the purchase —
84
+ * only for apps that grant the plan some other way (a provider webhook you
85
+ * know is configured, or a manual back-office flow).
86
+ */
87
+ verify?: boolean
88
+ }
89
+ ```
90
+
91
+ ### Functions
92
+
93
+ #### `PlanUpdated(props)`
94
+
95
+ Post-purchase confirmation page rendered after a plan upgrade.
96
+
97
+ Solid counterpart of `@molecule/app-plan-updated-page-react`'s
98
+ `PlanUpdated` — the same props (React names), the same DOM for the same
99
+ input. Reads auth state via `useAuth`; while it's still initializing, shows
100
+ a centered spinner. Once ready, renders a celebratory layout: a large
101
+ success glyph in a soft circular halo, a two-line thank-you
102
+ (`planUpdated.message`, `planUpdated.thankYou`), and a Return Home button
103
+ styled with the app's primary color tokens.
104
+
105
+ Those three translation keys are part of the universal common-locale bond
106
+ (`@molecule/app-locales-common`); the always-rendered "View receipt" link
107
+ uses `planUpdated.viewReceipt` from the companion bond
108
+ `@molecule/app-locales-plan-updated-page` and navigates to the hardcoded
109
+ `/billing` route. Visual layout uses only ClassMap tokens so it inherits the
110
+ app's theme (radius, color tokens, spacing) with no per-app override.
111
+
112
+ ```typescript
113
+ function PlanUpdated(props: PlanUpdatedProps): JSX.Element
114
+ ```
115
+
116
+ - `props` — Component props (see {@link PlanUpdatedProps}).
117
+
118
+ **Returns:** The rendered plan-updated confirmation page.
119
+
120
+ ## Injection Notes
121
+
122
+ ### Requirements
123
+
124
+ Peer dependencies:
125
+
126
+ - `@molecule/app-solid` ^3.6.0
127
+ - `@molecule/app-ui` ^1.0.1
128
+ - `@molecule/app-ui-solid` ^1.1.0
129
+ - `solid-js` ^1.8.0
130
+
131
+ ### Runtime Dependencies
132
+
133
+ - `@molecule/app-solid`
134
+ - `@molecule/app-ui`
135
+ - `@molecule/app-ui-solid`
136
+ - `solid-js`
137
+
138
+ Requires the app's `MoleculeProvider` (`@molecule/app-solid`) configured with
139
+ `auth` and `i18n` (`useAuth` drives the hydration spinner,
140
+ `useVerifyPaymentReturn` the confirmation call), plus its `router` (the page
141
+ renders `Link`, so it must sit inside the app's router). Never point a
142
+ provider's `success_url` straight at the API's
143
+ `/api/users/:id/verify-payment/:provider`: that top-level redirect crosses
144
+ to a host the session cookie is not set for, so it answers 401 and the paid
145
+ plan is never granted — send the buyer to THIS page instead. While the
146
+ confirmation is in flight the page shows the spinner; if it fails it shows a
147
+ retry (`data-mol-id="plan-updated-retry"`) rather than a false thank-you.
148
+ Pass `verify={false}` only if some other path grants the plan. Keys
149
+ `planUpdated.message` / `planUpdated.thankYou` / `planUpdated.returnHome`
150
+ come from `@molecule/app-locales-common`; the "View receipt" link uses
151
+ `planUpdated.viewReceipt` from the companion bond
152
+ `@molecule/app-locales-plan-updated-page` and always navigates to
153
+ `/billing` — ensure that route exists.
154
+
155
+ ## Translations
156
+
157
+ Translation strings are provided by `@molecule/app-locales-plan-updated-page`.
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Solid post-purchase confirmation page: the auth-hydration spinner, the
3
+ * confirmation itself, the confirmation call a hosted checkout return makes,
4
+ * and its retry.
5
+ *
6
+ * @module
7
+ */
8
+ import { type Component } from 'solid-js';
9
+ import type { PlanUpdatedProps } from './types.js';
10
+ /**
11
+ * Post-purchase confirmation page rendered after a plan upgrade.
12
+ *
13
+ * Solid counterpart of `@molecule/app-plan-updated-page-react`'s
14
+ * `PlanUpdated` — the same props (React names), the same DOM for the same
15
+ * input. Reads auth state via `useAuth`; while it's still initializing, shows
16
+ * a centered spinner. Once ready, renders a celebratory layout: a large
17
+ * success glyph in a soft circular halo, a two-line thank-you
18
+ * (`planUpdated.message`, `planUpdated.thankYou`), and a Return Home button
19
+ * styled with the app's primary color tokens.
20
+ *
21
+ * Those three translation keys are part of the universal common-locale bond
22
+ * (`@molecule/app-locales-common`); the always-rendered "View receipt" link
23
+ * uses `planUpdated.viewReceipt` from the companion bond
24
+ * `@molecule/app-locales-plan-updated-page` and navigates to the hardcoded
25
+ * `/billing` route. Visual layout uses only ClassMap tokens so it inherits the
26
+ * app's theme (radius, color tokens, spacing) with no per-app override.
27
+ *
28
+ * @param props - Component props (see {@link PlanUpdatedProps}).
29
+ * @returns The rendered plan-updated confirmation page.
30
+ */
31
+ export declare const PlanUpdated: Component<PlanUpdatedProps>;
32
+ //# sourceMappingURL=PlanUpdated.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlanUpdated.d.ts","sourceRoot":"","sources":["../src/PlanUpdated.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,KAAK,SAAS,EAAQ,MAAM,UAAU,CAAA;AAM/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAElD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,WAAW,EAAE,SAAS,CAAC,gBAAgB,CAmInD,CAAA"}
@@ -0,0 +1,100 @@
1
+ /**
2
+ * Solid post-purchase confirmation page: the auth-hydration spinner, the
3
+ * confirmation itself, the confirmation call a hosted checkout return makes,
4
+ * and its retry.
5
+ *
6
+ * @module
7
+ */
8
+ import { Show } from 'solid-js';
9
+ import { Link, useAuth, useTranslation, useVerifyPaymentReturn } from '@molecule/app-solid';
10
+ import { getClassMap } from '@molecule/app-ui';
11
+ import { Button, Flex, Icon, Spinner } from '@molecule/app-ui-solid';
12
+ /**
13
+ * Post-purchase confirmation page rendered after a plan upgrade.
14
+ *
15
+ * Solid counterpart of `@molecule/app-plan-updated-page-react`'s
16
+ * `PlanUpdated` — the same props (React names), the same DOM for the same
17
+ * input. Reads auth state via `useAuth`; while it's still initializing, shows
18
+ * a centered spinner. Once ready, renders a celebratory layout: a large
19
+ * success glyph in a soft circular halo, a two-line thank-you
20
+ * (`planUpdated.message`, `planUpdated.thankYou`), and a Return Home button
21
+ * styled with the app's primary color tokens.
22
+ *
23
+ * Those three translation keys are part of the universal common-locale bond
24
+ * (`@molecule/app-locales-common`); the always-rendered "View receipt" link
25
+ * uses `planUpdated.viewReceipt` from the companion bond
26
+ * `@molecule/app-locales-plan-updated-page` and navigates to the hardcoded
27
+ * `/billing` route. Visual layout uses only ClassMap tokens so it inherits the
28
+ * app's theme (radius, color tokens, spacing) with no per-app override.
29
+ *
30
+ * @param props - Component props (see {@link PlanUpdatedProps}).
31
+ * @returns The rendered plan-updated confirmation page.
32
+ */
33
+ export const PlanUpdated = (props) => {
34
+ const cm = getClassMap();
35
+ const { t } = useTranslation();
36
+ const auth = useAuth();
37
+ // The provider redirects here with the purchase id in the query; confirming
38
+ // it server-side from THIS origin is what grants the plan (see remarks).
39
+ const verification = useVerifyPaymentReturn({
40
+ provider: props.provider,
41
+ enabled: props.verify ?? true,
42
+ });
43
+ const messageKey = () => props.messageKey ?? 'planUpdated.message';
44
+ const messageDefault = () => props.messageDefault ?? 'Your plan has been updated.';
45
+ const thankYouKey = () => props.thankYouKey ?? 'planUpdated.thankYou';
46
+ const thankYouDefault = () => props.thankYouDefault ?? 'Thank you!';
47
+ const actionKey = () => props.actionKey ?? 'planUpdated.returnHome';
48
+ const actionDefault = () => props.actionDefault ?? 'Return home';
49
+ const actionHref = () => props.actionHref ?? '/';
50
+ const waiting = () => !auth.state().initialized || verification.status() === 'verifying';
51
+ const failed = () => verification.status() === 'failed';
52
+ return (<Show when={!waiting()} fallback={<Flex align="center" justify="center" className={cm.sp('py', 12)}>
53
+ <Spinner />
54
+ </Flex>}>
55
+ <Show when={!failed()} fallback={<section class={cm.cn(cm.maxW('xl'), cm.mxAuto, cm.textCenter, cm.sp('px', 6), cm.sp('py', 16))} data-mol-id="plan-updated-page">
56
+ <h2 class={cm.cn(cm.textSize('2xl'), cm.fontWeight('bold'), cm.sp('mb', 4))} data-mol-id="plan-updated-error">
57
+ {t('planUpdated.verifyFailed', undefined, {
58
+ defaultValue: 'We could not confirm your payment yet.',
59
+ })}
60
+ </h2>
61
+ <Button variant="solid" size="lg" onClick={verification.retry} data-mol-id="plan-updated-retry">
62
+ {t('planUpdated.retry', undefined, { defaultValue: 'Try again' })}
63
+ </Button>
64
+ </section>}>
65
+ <section class={cm.cn(cm.maxW('xl'), cm.mxAuto, cm.textCenter, cm.sp('px', 6), cm.sp('py', 16))} data-mol-id="plan-updated-page">
66
+ <div class={cm.cn(cm.mxAuto, cm.sp('mb', 8), cm.roundedFull, cm.bgPrimarySubtle, cm.textPrimary, cm.flex({ align: 'center', justify: 'center' }))}
67
+ // Inline size — `cm.w(28)`/`cm.h(28)` produce runtime class strings
68
+ // (`w-28`, `h-28`) that Tailwind's static scanner doesn't pick up,
69
+ // so the classes land in the DOM but the CSS rules are never
70
+ // generated. Width/height aren't managed by any ClassMap token, so
71
+ // inline style is safe per the "no inline that conflicts with
72
+ // ClassMap" rule.
73
+ style={{ width: '7rem', height: '7rem' }}>
74
+ <Icon name="check-circle" size={64} aria-hidden="true" data-mol-id="plan-updated-icon"/>
75
+ </div>
76
+ {/* Both message + thankYou stay as <h2> for backward compatibility
77
+ with per-app plan-updated.spec.ts assertions that two level-2
78
+ headings are present. Visual hierarchy comes from the font
79
+ scale, not the heading level. */}
80
+ <h2 class={cm.cn(cm.textSize('4xl'), cm.italic, cm.fontWeight('bold'), cm.sp('mb', 4))} style={{ 'font-family': 'var(--font-headline, inherit)' }} data-mol-id="plan-updated-heading">
81
+ {t(messageKey(), {}, { defaultValue: messageDefault() })}
82
+ </h2>
83
+ <h2 class={cm.cn(cm.textSize('lg'), cm.fontWeight('normal'), cm.textMuted, cm.sp('mb', 10))} data-mol-id="plan-updated-subheading">
84
+ {t(thankYouKey(), {}, { defaultValue: thankYouDefault() })}
85
+ </h2>
86
+ <Link to={actionHref()}>
87
+ <Button variant="solid" size="lg" className={cm.cn(cm.gradientPrimary, cm.uppercase, cm.trackingWide)} data-mol-id="plan-updated-return-home">
88
+ {t(actionKey(), {}, { defaultValue: actionDefault() })}
89
+ </Button>
90
+ </Link>
91
+ <div class={cm.sp('mt', 6)}>
92
+ <Link to="/billing" class={cm.cn(cm.textSize('xs'), cm.textSubtle, cm.uppercase, cm.trackingWide, cm.fontWeight('semibold'), cm.link)} data-mol-id="plan-updated-view-receipt">
93
+ {t('planUpdated.viewReceipt', undefined, { defaultValue: 'View receipt' })}
94
+ </Link>
95
+ </div>
96
+ </section>
97
+ </Show>
98
+ </Show>);
99
+ };
100
+ //# sourceMappingURL=PlanUpdated.jsx.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlanUpdated.jsx","sourceRoot":"","sources":["../src/PlanUpdated.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAkB,IAAI,EAAE,MAAM,UAAU,CAAA;AAE/C,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE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,EAAE,aAAa,EAAE,EAAE,CAAC,CACxD;YAAA,EAAE,MAAM,CACV;UAAA,EAAE,IAAI,CACN;UAAA,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CACzB;YAAA,CAAC,IAAI,CACH,EAAE,CAAC,UAAU,CACb,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,CACV,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,EACjB,EAAE,CAAC,UAAU,EACb,EAAE,CAAC,SAAS,EACZ,EAAE,CAAC,YAAY,EACf,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC,EACzB,EAAE,CAAC,IAAI,CACR,CAAC,CACF,WAAW,CAAC,2BAA2B,CAEvC;cAAA,CAAC,CAAC,CAAC,yBAAyB,EAAE,SAAS,EAAE,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC,CAC5E;YAAA,EAAE,IAAI,CACR;UAAA,EAAE,GAAG,CACP;QAAA,EAAE,OAAO,CACX;MAAA,EAAE,IAAI,CACR;IAAA,EAAE,IAAI,CAAC,CACR,CAAA;AACH,CAAC,CAAA"}
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Solid post-purchase confirmation page.
3
+ *
4
+ * Exports `PlanUpdated` — the Solid counterpart of
5
+ * `@molecule/app-plan-updated-page-react` with the same props (React names)
6
+ * and the same DOM for the same input: a thank-you headline plus a Return
7
+ * Home button, rendered after the user completes a plan upgrade. It reads
8
+ * auth state to show a spinner while the session is still hydrating, so the
9
+ * page is safe to navigate to directly from a webhook redirect or a fresh
10
+ * page load.
11
+ *
12
+ * **It also completes the purchase.** A hosted checkout returns the buyer
13
+ * here with the payment id in the query
14
+ * (`/plan-updated?provider=stripe&sessionId=…`), and this page confirms it
15
+ * with `POST /users/:id/verify-payment/:provider` — a same-origin call, so
16
+ * the session cookie applies. Route it at the path your API's
17
+ * `PAYMENTS_PLAN_UPDATED_PATH` points to (default `/plan-updated`) and the
18
+ * upgrade completes on the redirect instead of waiting on a webhook.
19
+ *
20
+ * @example
21
+ * ```tsx
22
+ * import { PlanUpdated } from '@molecule/app-plan-updated-page-solid'
23
+ *
24
+ * <Route path="/plan-updated" component={PlanUpdated} />
25
+ * ```
26
+ *
27
+ * @remarks
28
+ * Requires the app's `MoleculeProvider` (`@molecule/app-solid`) configured with
29
+ * `auth` and `i18n` (`useAuth` drives the hydration spinner,
30
+ * `useVerifyPaymentReturn` the confirmation call), plus its `router` (the page
31
+ * renders `Link`, so it must sit inside the app's router). Never point a
32
+ * provider's `success_url` straight at the API's
33
+ * `/api/users/:id/verify-payment/:provider`: that top-level redirect crosses
34
+ * to a host the session cookie is not set for, so it answers 401 and the paid
35
+ * plan is never granted — send the buyer to THIS page instead. While the
36
+ * confirmation is in flight the page shows the spinner; if it fails it shows a
37
+ * retry (`data-mol-id="plan-updated-retry"`) rather than a false thank-you.
38
+ * Pass `verify={false}` only if some other path grants the plan. Keys
39
+ * `planUpdated.message` / `planUpdated.thankYou` / `planUpdated.returnHome`
40
+ * come from `@molecule/app-locales-common`; the "View receipt" link uses
41
+ * `planUpdated.viewReceipt` from the companion bond
42
+ * `@molecule/app-locales-plan-updated-page` and always navigates to
43
+ * `/billing` — ensure that route exists.
44
+ *
45
+ * @module
46
+ */
47
+ export * from './PlanUpdated.jsx';
48
+ export * from './types.js';
49
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AAEH,cAAc,mBAAmB,CAAA;AACjC,cAAc,YAAY,CAAA"}
package/dist/index.js ADDED
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Solid post-purchase confirmation page.
3
+ *
4
+ * Exports `PlanUpdated` — the Solid counterpart of
5
+ * `@molecule/app-plan-updated-page-react` with the same props (React names)
6
+ * and the same DOM for the same input: a thank-you headline plus a Return
7
+ * Home button, rendered after the user completes a plan upgrade. It reads
8
+ * auth state to show a spinner while the session is still hydrating, so the
9
+ * page is safe to navigate to directly from a webhook redirect or a fresh
10
+ * page load.
11
+ *
12
+ * **It also completes the purchase.** A hosted checkout returns the buyer
13
+ * here with the payment id in the query
14
+ * (`/plan-updated?provider=stripe&sessionId=…`), and this page confirms it
15
+ * with `POST /users/:id/verify-payment/:provider` — a same-origin call, so
16
+ * the session cookie applies. Route it at the path your API's
17
+ * `PAYMENTS_PLAN_UPDATED_PATH` points to (default `/plan-updated`) and the
18
+ * upgrade completes on the redirect instead of waiting on a webhook.
19
+ *
20
+ * @example
21
+ * ```tsx
22
+ * import { PlanUpdated } from '@molecule/app-plan-updated-page-solid'
23
+ *
24
+ * <Route path="/plan-updated" component={PlanUpdated} />
25
+ * ```
26
+ *
27
+ * @remarks
28
+ * Requires the app's `MoleculeProvider` (`@molecule/app-solid`) configured with
29
+ * `auth` and `i18n` (`useAuth` drives the hydration spinner,
30
+ * `useVerifyPaymentReturn` the confirmation call), plus its `router` (the page
31
+ * renders `Link`, so it must sit inside the app's router). Never point a
32
+ * provider's `success_url` straight at the API's
33
+ * `/api/users/:id/verify-payment/:provider`: that top-level redirect crosses
34
+ * to a host the session cookie is not set for, so it answers 401 and the paid
35
+ * plan is never granted — send the buyer to THIS page instead. While the
36
+ * confirmation is in flight the page shows the spinner; if it fails it shows a
37
+ * retry (`data-mol-id="plan-updated-retry"`) rather than a false thank-you.
38
+ * Pass `verify={false}` only if some other path grants the plan. Keys
39
+ * `planUpdated.message` / `planUpdated.thankYou` / `planUpdated.returnHome`
40
+ * come from `@molecule/app-locales-common`; the "View receipt" link uses
41
+ * `planUpdated.viewReceipt` from the companion bond
42
+ * `@molecule/app-locales-plan-updated-page` and always navigates to
43
+ * `/billing` — ensure that route exists.
44
+ *
45
+ * @module
46
+ */
47
+ export * from './PlanUpdated.jsx';
48
+ export * from './types.js';
49
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AAEH,cAAc,mBAAmB,CAAA;AACjC,cAAc,YAAY,CAAA"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Props for the Solid `PlanUpdated` page — the same props (React names)
3
+ * `@molecule/app-plan-updated-page-react` accepts.
4
+ *
5
+ * @module
6
+ */
7
+ /**
8
+ * Props for {@link PlanUpdated}. All optional — defaults reproduce the
9
+ * original hardcoded copy, so existing `<PlanUpdated />` usages are unchanged.
10
+ */
11
+ export interface PlanUpdatedProps {
12
+ /** i18n key for the confirmation message. */
13
+ messageKey?: string;
14
+ /** Default confirmation message when the key is missing. */
15
+ messageDefault?: string;
16
+ /** i18n key for the thank-you line. */
17
+ thankYouKey?: string;
18
+ /** Default thank-you line when the key is missing. */
19
+ thankYouDefault?: string;
20
+ /** i18n key for the return-home action label. */
21
+ actionKey?: string;
22
+ /** Default action label when the key is missing. */
23
+ actionDefault?: string;
24
+ /** Href the return-home action navigates to. Defaults to `/`. */
25
+ actionHref?: string;
26
+ /**
27
+ * Provider name to verify the purchase with when the return URL carries no
28
+ * `provider` parameter (older checkout sessions). Verification is skipped
29
+ * when neither names one.
30
+ */
31
+ provider?: string;
32
+ /**
33
+ * Set `false` to render the confirmation without verifying the purchase —
34
+ * only for apps that grant the plan some other way (a provider webhook you
35
+ * know is configured, or a manual back-office flow).
36
+ */
37
+ verify?: boolean;
38
+ }
39
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,6CAA6C;IAC7C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,4DAA4D;IAC5D,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,sDAAsD;IACtD,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,iDAAiD;IACjD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,oDAAoD;IACpD,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,iEAAiE;IACjE,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB"}
package/dist/types.js ADDED
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Props for the Solid `PlanUpdated` page — the same props (React names)
3
+ * `@molecule/app-plan-updated-page-react` accepts.
4
+ *
5
+ * @module
6
+ */
7
+ export {};
8
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
package/package.json CHANGED
@@ -1,6 +1,67 @@
1
1
  {
2
2
  "name": "@molecule/app-plan-updated-page-solid",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.1.0",
4
+ "description": "Post-purchase confirmation page shown after a plan upgrade. Reads auth state and displays a localized thank-you message + Return Home button.",
5
+ "homepage": "https://www.molecule.dev/packages/app-plan-updated-page-solid",
6
+ "type": "module",
7
+ "main": "dist/index.js",
8
+ "types": "dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js"
13
+ }
14
+ },
15
+ "files": [
16
+ "dist",
17
+ "README.md"
18
+ ],
19
+ "scripts": {
20
+ "build": "tsc",
21
+ "dev": "tsc --watch",
22
+ "test": "vitest run",
23
+ "test:watch": "vitest"
24
+ },
25
+ "keywords": [
26
+ "molecule",
27
+ "plan",
28
+ "updated",
29
+ "page",
30
+ "solid"
31
+ ],
32
+ "author": "Molecule Dev, Inc. (https://molecule.dev)",
33
+ "license": "Apache-2.0",
34
+ "repository": {
35
+ "type": "git",
36
+ "url": "https://github.com/molecule-dev/molecule.git",
37
+ "directory": "packages/app/features/plan-updated-page-solid"
38
+ },
39
+ "engines": {
40
+ "node": ">=20"
41
+ },
42
+ "bugs": "https://github.com/molecule-dev/molecule/issues",
43
+ "publishConfig": {
44
+ "access": "public"
45
+ },
46
+ "peerDependencies": {
47
+ "@molecule/app-solid": "^3.6.0",
48
+ "@molecule/app-ui": "^1.0.1",
49
+ "@molecule/app-ui-solid": "^1.1.0",
50
+ "solid-js": "^1.8.0"
51
+ },
52
+ "devDependencies": {
53
+ "@molecule/app-framework-conformance": "0.0.0",
54
+ "@molecule/app-i18n": "1.2.2",
55
+ "@molecule/app-icons": "1.0.4",
56
+ "@molecule/app-locales-common": "1.0.8",
57
+ "@molecule/app-solid": "3.9.0",
58
+ "@molecule/app-ui": "1.5.0",
59
+ "@molecule/app-ui-solid": "1.2.1",
60
+ "@types/node": "26.6.5",
61
+ "jsdom": "30.1.3",
62
+ "solid-js": "1.9.17",
63
+ "typescript": "6.0.3",
64
+ "vite-plugin-solid": "2.11.15",
65
+ "vitest": "4.1.12"
66
+ }
67
+ }