@vadimcomanescu/nadicode-design-system 2.0.5 → 2.0.7
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/.agents/skills/seed/contract.md +1 -0
- package/.agents/skills/seed/recipes/marketing-shell.md +10 -19
- package/.agents/skills/seed/recipes/navigation-shell.md +5 -5
- package/.agents/skills/seed/recipes/service-detail.md +1 -1
- package/.agents/skills/seed/references/blocks.md +25 -24
- package/.agents/skills/seed/references/brand-override.md +3 -1
- package/css/tokens.css +300 -122
- package/dist/catalog.json +1926 -125
- package/dist/chunk-2BADJLMV.js +117 -0
- package/dist/chunk-35EX5FP5.js +106 -0
- package/dist/chunk-5PORR6LE.js +60 -0
- package/dist/chunk-5PZ4VR2D.js +142 -0
- package/dist/chunk-5UESKK6S.js +76 -0
- package/dist/chunk-6N6CSJVE.js +269 -0
- package/dist/chunk-AURJQZC4.js +110 -0
- package/dist/{chunk-DF47R6LN.js → chunk-AWIG4QN6.js} +9 -9
- package/dist/chunk-AYWL4IYM.js +67 -0
- package/dist/{chunk-SV3KZ6CB.js → chunk-DSMGCFMJ.js} +7 -2
- package/dist/chunk-E4L6LR6P.js +33 -0
- package/dist/chunk-EJNF6JLL.js +105 -0
- package/dist/chunk-FX23F33E.js +57 -0
- package/dist/chunk-GJPTPLCQ.js +52 -0
- package/dist/chunk-GV4PKHG4.js +147 -0
- package/dist/chunk-HJ3A2YNO.js +163 -0
- package/dist/chunk-HJZRSPWB.js +38 -0
- package/dist/chunk-IDKZEPWK.js +133 -0
- package/dist/chunk-K7NQ6ZAW.js +84 -0
- package/dist/chunk-LCKLZ4XK.js +60 -0
- package/dist/chunk-MX5FUFQR.js +205 -0
- package/dist/chunk-NEHCPO53.js +44 -0
- package/dist/chunk-OHOOQUVJ.js +113 -0
- package/dist/chunk-QIHA7S3A.js +36 -0
- package/dist/chunk-RKQPU75I.js +126 -0
- package/dist/chunk-RMLS2QUC.js +77 -0
- package/dist/chunk-TS2JSPQR.js +120 -0
- package/dist/chunk-TUKZKU72.js +110 -0
- package/dist/chunk-TZXZFSD2.js +33 -0
- package/dist/chunk-UGV45DH3.js +18 -0
- package/dist/chunk-VBZQ4DBE.js +52 -0
- package/dist/{chunk-LQLFA2EL.js → chunk-VDONTZZX.js} +2 -2
- package/dist/{chunk-RWNJ54CI.js → chunk-VN475YZS.js} +1 -1
- package/dist/chunk-VZCB4APK.js +94 -0
- package/dist/chunk-W7FXDRQJ.js +94 -0
- package/dist/chunk-WAVU744B.js +183 -0
- package/dist/{chunk-5I3FWRC5.js → chunk-WOYBVPXK.js} +10 -10
- package/dist/chunk-WST5NLLC.js +73 -0
- package/dist/chunk-X6VXWEDO.js +125 -0
- package/dist/chunk-ZM2NODUK.js +39 -0
- package/dist/components/blocks/AccountLockedBlock.js +7 -57
- package/dist/components/blocks/ActivityFeedBlock.js +6 -39
- package/dist/components/blocks/AgentConversationBlock.js +5 -33
- package/dist/components/blocks/AudioVisualizerBlock.d.ts +1 -1
- package/dist/components/blocks/AudioVisualizerBlock.js +2 -2
- package/dist/components/blocks/AuthSuccessBlock.js +5 -60
- package/dist/components/blocks/BarChartBlock.d.ts +1 -1
- package/dist/components/blocks/BarChartBlock.js +2 -2
- package/dist/components/blocks/CallToActionBlock.d.ts +1 -1
- package/dist/components/blocks/CallToActionBlock.js +6 -52
- package/dist/components/blocks/ChangelogBlock.js +8 -105
- package/dist/components/blocks/ChartCollectionBlock.js +2 -2
- package/dist/components/blocks/CodeBlock.js +7 -60
- package/dist/components/blocks/ComparisonBlock.js +9 -94
- package/dist/components/blocks/ContactBlock.js +11 -120
- package/dist/components/blocks/FAQBlock.js +6 -44
- package/dist/components/blocks/FeatureBlock.d.ts +10 -14
- package/dist/components/blocks/FeatureBlock.js +17 -159
- package/dist/components/blocks/FeatureGridBlock.d.ts +1 -1
- package/dist/components/blocks/FeatureGridBlock.js +2 -2
- package/dist/components/blocks/FooterBlock.d.ts +2 -2
- package/dist/components/blocks/FooterBlock.js +11 -67
- package/dist/components/blocks/HeaderBlock.d.ts +2 -2
- package/dist/components/blocks/HeaderBlock.js +1 -1
- package/dist/components/blocks/HeatmapChartBlock.d.ts +1 -1
- package/dist/components/blocks/HeatmapChartBlock.js +1 -1
- package/dist/components/blocks/HeroBlock.d.ts +6 -3
- package/dist/components/blocks/HeroBlock.js +16 -199
- package/dist/components/blocks/HeroSectionBlock.d.ts +1 -1
- package/dist/components/blocks/HeroSectionBlock.js +4 -4
- package/dist/components/blocks/IntegrationsBlock.d.ts +1 -1
- package/dist/components/blocks/IntegrationsBlock.js +4 -4
- package/dist/components/blocks/InteractiveAreaChartBlock.d.ts +1 -1
- package/dist/components/blocks/InteractiveAreaChartBlock.js +2 -2
- package/dist/components/blocks/NewsletterBlock.js +11 -84
- package/dist/components/blocks/PasswordRecoveryBlock.js +14 -142
- package/dist/components/blocks/PricingBlock.d.ts +1 -1
- package/dist/components/blocks/PricingBlock.js +11 -110
- package/dist/components/blocks/ProcessFlowBlock.js +10 -77
- package/dist/components/blocks/ResetPasswordBlock.js +11 -125
- package/dist/components/blocks/SignUpBlock.d.ts +1 -1
- package/dist/components/blocks/SignUpBlock.js +2 -2
- package/dist/components/blocks/SocialProofBlock.d.ts +7 -11
- package/dist/components/blocks/SocialProofBlock.js +8 -107
- package/dist/components/blocks/StatsBlock.d.ts +1 -1
- package/dist/components/blocks/StatsBlock.js +2 -2
- package/dist/components/blocks/StatsMarketingBlock.d.ts +1 -1
- package/dist/components/blocks/StatsMarketingBlock.js +5 -36
- package/dist/components/blocks/TeamBlock.d.ts +1 -1
- package/dist/components/blocks/TeamBlock.js +4 -52
- package/dist/components/blocks/TestimonialsBlock.d.ts +1 -1
- package/dist/components/blocks/TestimonialsBlock.js +4 -133
- package/dist/components/blocks/TwoFactorChallengeBlock.js +9 -94
- package/dist/components/blocks/TwoFactorSetupBlock.js +16 -183
- package/dist/components/blocks/UsageDonutBlock.d.ts +1 -1
- package/dist/components/blocks/UsageDonutBlock.js +2 -2
- package/dist/components/logos/index.js +2 -2
- package/dist/components/page-kits/AccountLockedPageKit.d.ts +10 -0
- package/dist/components/page-kits/AccountLockedPageKit.js +48 -0
- package/dist/components/page-kits/AgentsChatPageKit.d.ts +46 -0
- package/dist/components/page-kits/AgentsChatPageKit.js +289 -0
- package/dist/components/page-kits/AnalyticsPageKit.d.ts +49 -0
- package/dist/components/page-kits/AnalyticsPageKit.js +277 -0
- package/dist/components/page-kits/BlogContentPageKit.d.ts +64 -0
- package/dist/components/page-kits/BlogContentPageKit.js +296 -0
- package/dist/components/page-kits/CheckoutPageKit.d.ts +36 -0
- package/dist/components/page-kits/CheckoutPageKit.js +209 -0
- package/dist/components/page-kits/CompanySuitePageKit.d.ts +25 -0
- package/dist/components/page-kits/CompanySuitePageKit.js +240 -0
- package/dist/components/page-kits/CrudFormPageKit.d.ts +54 -0
- package/dist/components/page-kits/CrudFormPageKit.js +138 -0
- package/dist/components/page-kits/CrudListDetailPageKit.d.ts +70 -0
- package/dist/components/page-kits/CrudListDetailPageKit.js +138 -0
- package/dist/components/page-kits/DashboardPageKit.d.ts +39 -0
- package/dist/components/page-kits/DashboardPageKit.js +284 -0
- package/dist/components/page-kits/ErrorPageKit.d.ts +22 -0
- package/dist/components/page-kits/ErrorPageKit.js +55 -0
- package/dist/components/page-kits/KanbanBoardPageKit.d.ts +31 -0
- package/dist/components/page-kits/KanbanBoardPageKit.js +305 -0
- package/dist/components/page-kits/LandingPageKit.d.ts +29 -0
- package/dist/components/page-kits/LandingPageKit.js +221 -0
- package/dist/components/page-kits/LoginPageKit.d.ts +16 -0
- package/dist/components/page-kits/LoginPageKit.js +43 -0
- package/dist/components/page-kits/MarketingShellPageKit.d.ts +21 -0
- package/dist/components/page-kits/MarketingShellPageKit.js +131 -0
- package/dist/components/page-kits/NavigationShellPageKit.d.ts +41 -0
- package/dist/components/page-kits/NavigationShellPageKit.js +132 -0
- package/dist/components/page-kits/OnboardingPageKit.d.ts +26 -0
- package/dist/components/page-kits/OnboardingPageKit.js +248 -0
- package/dist/components/page-kits/PricingPageKit.d.ts +41 -0
- package/dist/components/page-kits/PricingPageKit.js +279 -0
- package/dist/components/page-kits/ProfileSettingsPageKit.d.ts +50 -0
- package/dist/components/page-kits/ProfileSettingsPageKit.js +171 -0
- package/dist/components/page-kits/RecoveryPageKit.d.ts +17 -0
- package/dist/components/page-kits/RecoveryPageKit.js +58 -0
- package/dist/components/page-kits/ResetPageKit.d.ts +14 -0
- package/dist/components/page-kits/ResetPageKit.js +52 -0
- package/dist/components/page-kits/ServiceSuitePageKit.d.ts +25 -0
- package/dist/components/page-kits/ServiceSuitePageKit.js +320 -0
- package/dist/components/page-kits/SettingsPageKit.d.ts +27 -0
- package/dist/components/page-kits/SettingsPageKit.js +11 -0
- package/dist/components/page-kits/SignupPageKit.d.ts +15 -0
- package/dist/components/page-kits/SignupPageKit.js +41 -0
- package/dist/components/page-kits/SuccessPageKit.d.ts +15 -0
- package/dist/components/page-kits/SuccessPageKit.js +146 -0
- package/dist/components/page-kits/TeamSettingsPageKit.d.ts +50 -0
- package/dist/components/page-kits/TeamSettingsPageKit.js +297 -0
- package/dist/components/page-kits/TwoFactorPageKit.d.ts +16 -0
- package/dist/components/page-kits/TwoFactorPageKit.js +156 -0
- package/dist/components/page-kits/VerifyEmailPageKit.d.ts +15 -0
- package/dist/components/page-kits/VerifyEmailPageKit.js +146 -0
- package/dist/components/page-kits/VoiceAgentsPageKit.d.ts +35 -0
- package/dist/components/page-kits/VoiceAgentsPageKit.js +246 -0
- package/dist/components/ui/AudioWaveform.js +2 -76
- package/dist/components/ui/AvatarUpload.js +1 -1
- package/dist/components/ui/Breadcrumb.js +4 -106
- package/dist/components/ui/ChartCard.js +5 -38
- package/dist/components/ui/CheckoutFormDemo.js +5 -6
- package/dist/components/ui/DataFreshness.js +2 -73
- package/dist/components/ui/MouseEffect.js +1 -1
- package/dist/components/ui/NativeSelect.js +2 -18
- package/dist/components/ui/Pagination.js +6 -117
- package/dist/components/ui/ShaderBackground.js +2 -2
- package/dist/hooks/use-shader-preset.js +2 -2
- package/dist/lib/shader-presets.js +1 -1
- package/dist/lib/tokens.config.d.ts +19 -0
- package/package.json +793 -681
- package/scripts/ds-check.mjs +10 -2
- package/src/lib/tokens.config.js +63 -41
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
import { MarketingShellPageKit } from '../../chunk-E4L6LR6P.js';
|
|
2
|
+
import { PricingBlock } from '../../chunk-AURJQZC4.js';
|
|
3
|
+
import '../../chunk-DARC2ACH.js';
|
|
4
|
+
import { FAQBlock } from '../../chunk-NEHCPO53.js';
|
|
5
|
+
import '../../chunk-AYWL4IYM.js';
|
|
6
|
+
import '../../chunk-WOYBVPXK.js';
|
|
7
|
+
import { ComparisonBlock } from '../../chunk-VZCB4APK.js';
|
|
8
|
+
import { CallToActionBlock } from '../../chunk-GJPTPLCQ.js';
|
|
9
|
+
import '../../chunk-G5EO22OR.js';
|
|
10
|
+
import '../../chunk-ANBJ2OLC.js';
|
|
11
|
+
import '../../chunk-LV4LBWCS.js';
|
|
12
|
+
import '../../chunk-XZ3A33GP.js';
|
|
13
|
+
import '../../chunk-F3T2U7YL.js';
|
|
14
|
+
import '../../chunk-6DYFX5IR.js';
|
|
15
|
+
import '../../chunk-EB5PYS7Q.js';
|
|
16
|
+
import '../../chunk-OHX2LFAH.js';
|
|
17
|
+
import '../../chunk-SGI25ZJ6.js';
|
|
18
|
+
import { Typography } from '../../chunk-N53OMWW2.js';
|
|
19
|
+
import '../../chunk-R7N7YLFT.js';
|
|
20
|
+
import '../../chunk-DQPK2XRL.js';
|
|
21
|
+
import '../../chunk-HOWTYZL5.js';
|
|
22
|
+
import '../../chunk-GHIBG7OM.js';
|
|
23
|
+
import '../../chunk-ULLTRLBD.js';
|
|
24
|
+
import '../../chunk-4O6L5YWT.js';
|
|
25
|
+
import { Heading } from '../../chunk-WI547C47.js';
|
|
26
|
+
import '../../chunk-PXDHNGTG.js';
|
|
27
|
+
import '../../chunk-A7NUWD76.js';
|
|
28
|
+
import '../../chunk-CUZJIDU7.js';
|
|
29
|
+
import '../../chunk-AP3XXYAY.js';
|
|
30
|
+
import '../../chunk-LIBXYD5Q.js';
|
|
31
|
+
import '../../chunk-I23DDSU7.js';
|
|
32
|
+
import { Card, CardHeader, CardTitle, CardContent } from '../../chunk-AH6YSYYT.js';
|
|
33
|
+
import { Button } from '../../chunk-7KIDDF3I.js';
|
|
34
|
+
import '../../chunk-6FOHUNXR.js';
|
|
35
|
+
import '../../chunk-PD2YEH3H.js';
|
|
36
|
+
import '../../chunk-CRY67BIF.js';
|
|
37
|
+
import '../../chunk-HJC6U46F.js';
|
|
38
|
+
import '../../chunk-W4YX7N46.js';
|
|
39
|
+
import '../../chunk-GO35FTNJ.js';
|
|
40
|
+
import '../../chunk-PSVQ7ZNX.js';
|
|
41
|
+
import '../../chunk-FLF5AMNO.js';
|
|
42
|
+
import '../../chunk-WFJQ43SM.js';
|
|
43
|
+
import '../../chunk-S4GKGKON.js';
|
|
44
|
+
import '../../chunk-LCDDAE7J.js';
|
|
45
|
+
import '../../chunk-R674XI7C.js';
|
|
46
|
+
import '../../chunk-WUO7OONN.js';
|
|
47
|
+
import '../../chunk-BPCCTJSK.js';
|
|
48
|
+
import '../../chunk-CGUCH322.js';
|
|
49
|
+
import '../../chunk-ELKIUARM.js';
|
|
50
|
+
import '../../chunk-ZU2GYVAP.js';
|
|
51
|
+
import '../../chunk-KSHJQ2VT.js';
|
|
52
|
+
import '../../chunk-3CLXYQKB.js';
|
|
53
|
+
import '../../chunk-JHQ5NMLZ.js';
|
|
54
|
+
import '../../chunk-CRZ2JE24.js';
|
|
55
|
+
import '../../chunk-TXGANOAX.js';
|
|
56
|
+
import '../../chunk-OITJWGFV.js';
|
|
57
|
+
import '../../chunk-Z74D6D2W.js';
|
|
58
|
+
import '../../chunk-HNY45VUQ.js';
|
|
59
|
+
import '../../chunk-IJJI4RQU.js';
|
|
60
|
+
import '../../chunk-E7RBK6ML.js';
|
|
61
|
+
import '../../chunk-UBIGDGOP.js';
|
|
62
|
+
import '../../chunk-Q7LVUGFL.js';
|
|
63
|
+
import '../../chunk-ALMGJVMT.js';
|
|
64
|
+
import '../../chunk-QPXTBZWN.js';
|
|
65
|
+
import '../../chunk-GAKU7DFY.js';
|
|
66
|
+
import '../../chunk-T6BRD7TS.js';
|
|
67
|
+
import '../../chunk-R5XP45PD.js';
|
|
68
|
+
import '../../chunk-G5EO5FWC.js';
|
|
69
|
+
import '../../chunk-NCULQXJE.js';
|
|
70
|
+
import '../../chunk-VDYPDMYR.js';
|
|
71
|
+
import '../../chunk-WDGIQDQG.js';
|
|
72
|
+
import '../../chunk-WKRIKCJC.js';
|
|
73
|
+
import '../../chunk-7WDT2PRI.js';
|
|
74
|
+
import '../../chunk-AP5Y5M3R.js';
|
|
75
|
+
import '../../chunk-JZ4G2SJH.js';
|
|
76
|
+
import '../../chunk-KYGKJ553.js';
|
|
77
|
+
import '../../chunk-M7YSMMAC.js';
|
|
78
|
+
import '../../chunk-XQ2UDMPO.js';
|
|
79
|
+
import '../../chunk-JMCSAGZ3.js';
|
|
80
|
+
import '../../chunk-QUKDUSHD.js';
|
|
81
|
+
import '../../chunk-4NXZIMYZ.js';
|
|
82
|
+
import '../../chunk-TBKJ34BB.js';
|
|
83
|
+
import '../../chunk-2IZC7HSV.js';
|
|
84
|
+
import '../../chunk-2SDZMTB2.js';
|
|
85
|
+
import '../../chunk-R3AO6AZM.js';
|
|
86
|
+
import '../../chunk-RYOTIXZO.js';
|
|
87
|
+
import '../../chunk-W3B3UOEG.js';
|
|
88
|
+
import '../../chunk-ACRVOD7W.js';
|
|
89
|
+
import '../../chunk-QSU23VYZ.js';
|
|
90
|
+
import '../../chunk-BJYCQ2NV.js';
|
|
91
|
+
import '../../chunk-VM462WZC.js';
|
|
92
|
+
import '../../chunk-O74AEVHW.js';
|
|
93
|
+
import '../../chunk-ZUHIWALK.js';
|
|
94
|
+
import '../../chunk-5UZDOF6V.js';
|
|
95
|
+
import '../../chunk-PKVTEDKO.js';
|
|
96
|
+
import '../../chunk-I3TH7PIB.js';
|
|
97
|
+
import '../../chunk-WGPK3FQ7.js';
|
|
98
|
+
import '../../chunk-JL4MVVFH.js';
|
|
99
|
+
import '../../chunk-IQEBXXB5.js';
|
|
100
|
+
import '../../chunk-AZUJNRQU.js';
|
|
101
|
+
import '../../chunk-WA45EC4Y.js';
|
|
102
|
+
import '../../chunk-2MOEOEOI.js';
|
|
103
|
+
import '../../chunk-5LCXASRW.js';
|
|
104
|
+
import '../../chunk-2ZJVU7NV.js';
|
|
105
|
+
import '../../chunk-5ESF6N36.js';
|
|
106
|
+
import '../../chunk-RBPLOM3A.js';
|
|
107
|
+
import '../../chunk-GCUTJI7M.js';
|
|
108
|
+
import '../../chunk-2NT57K4U.js';
|
|
109
|
+
import '../../chunk-6G3RRWJT.js';
|
|
110
|
+
import '../../chunk-JRJGSNI4.js';
|
|
111
|
+
import '../../chunk-RF6ECFS5.js';
|
|
112
|
+
import '../../chunk-TV4RSQH4.js';
|
|
113
|
+
import '../../chunk-4FEAWXJD.js';
|
|
114
|
+
import '../../chunk-JHQTKMKG.js';
|
|
115
|
+
import '../../chunk-CI7GPGCJ.js';
|
|
116
|
+
import '../../chunk-226EBOTK.js';
|
|
117
|
+
import '../../chunk-G5YLGJXR.js';
|
|
118
|
+
import '../../chunk-G24VV5NO.js';
|
|
119
|
+
import '../../chunk-6BAV4TZ5.js';
|
|
120
|
+
import '../../chunk-SW6QPJM4.js';
|
|
121
|
+
import '../../chunk-V6WNRZT3.js';
|
|
122
|
+
import '../../chunk-JBK2LA6U.js';
|
|
123
|
+
import '../../chunk-55U27XY4.js';
|
|
124
|
+
import '../../chunk-LSPO6OBI.js';
|
|
125
|
+
import '../../chunk-Y56WBNCY.js';
|
|
126
|
+
import '../../chunk-KYZT3RNW.js';
|
|
127
|
+
import '../../chunk-UEG2LI7Z.js';
|
|
128
|
+
import '../../chunk-JJTQOH7J.js';
|
|
129
|
+
import '../../chunk-72X6SXOX.js';
|
|
130
|
+
import '../../chunk-SR5U52V3.js';
|
|
131
|
+
import '../../chunk-74RKVIBV.js';
|
|
132
|
+
import '../../chunk-AWIJHDNK.js';
|
|
133
|
+
import '../../chunk-BRP6D56U.js';
|
|
134
|
+
import '../../chunk-S733NAYS.js';
|
|
135
|
+
import '../../chunk-MAUTIHQG.js';
|
|
136
|
+
import '../../chunk-666N6OTL.js';
|
|
137
|
+
import '../../chunk-FMH55OKV.js';
|
|
138
|
+
import '../../chunk-WXVNTJIB.js';
|
|
139
|
+
import '../../chunk-CXACRCZ4.js';
|
|
140
|
+
import '../../chunk-T7H53CK2.js';
|
|
141
|
+
import '../../chunk-BFLN54VR.js';
|
|
142
|
+
import '../../chunk-P6IRHPFM.js';
|
|
143
|
+
import '../../chunk-SXHYB7JB.js';
|
|
144
|
+
import '../../chunk-ONGJ7AC2.js';
|
|
145
|
+
import '../../chunk-UHXGBV5N.js';
|
|
146
|
+
import '../../chunk-UIUMTURU.js';
|
|
147
|
+
import '../../chunk-PRUXIDBD.js';
|
|
148
|
+
import '../../chunk-NURPUVUV.js';
|
|
149
|
+
import { Badge } from '../../chunk-S4JAHKOP.js';
|
|
150
|
+
import '../../chunk-HJBXUXTD.js';
|
|
151
|
+
import '../../chunk-ASKFAYYR.js';
|
|
152
|
+
import { cn } from '../../chunk-QYZT24TS.js';
|
|
153
|
+
import React from 'react';
|
|
154
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
155
|
+
|
|
156
|
+
var STATE_BADGE_LABELS = {
|
|
157
|
+
"billing-toggle": "Billing toggle",
|
|
158
|
+
"loading-action": "Loading actions",
|
|
159
|
+
"empty-plan": "Empty plan state"
|
|
160
|
+
};
|
|
161
|
+
var EMPTY_PLAN_ACTIONS = [];
|
|
162
|
+
var EMPTY_PLANS = [];
|
|
163
|
+
var DEFAULT_COMPARISON = {};
|
|
164
|
+
var DEFAULT_FAQ = {};
|
|
165
|
+
var DEFAULT_CTA = {
|
|
166
|
+
title: "Need a custom rollout?",
|
|
167
|
+
description: "Talk to our team for multi-team migration and governance support.",
|
|
168
|
+
primaryAction: { label: "Contact sales", href: "/contact" }
|
|
169
|
+
};
|
|
170
|
+
var DEFAULT_EMPTY_STATE = {
|
|
171
|
+
title: "No plans available",
|
|
172
|
+
description: "Configure at least one plan to render pricing actions."
|
|
173
|
+
};
|
|
174
|
+
function PricingPageKit({
|
|
175
|
+
shell,
|
|
176
|
+
state = "default",
|
|
177
|
+
title = "Choose the plan that fits your team.",
|
|
178
|
+
description = "Use stable pricing blocks while keeping plan copy, links, and billing behavior app-owned.",
|
|
179
|
+
plans = EMPTY_PLANS,
|
|
180
|
+
billing,
|
|
181
|
+
comparison = DEFAULT_COMPARISON,
|
|
182
|
+
faq = DEFAULT_FAQ,
|
|
183
|
+
cta = DEFAULT_CTA,
|
|
184
|
+
planActions = EMPTY_PLAN_ACTIONS,
|
|
185
|
+
emptyState = DEFAULT_EMPTY_STATE,
|
|
186
|
+
loadingMessage = "Preparing checkout actions...",
|
|
187
|
+
className
|
|
188
|
+
}) {
|
|
189
|
+
const [selectedBilling, setSelectedBilling] = React.useState("monthly");
|
|
190
|
+
const supportsYearly = billing?.supportsYearly ?? true;
|
|
191
|
+
const monthlyLabel = billing?.monthlyLabel ?? "Monthly";
|
|
192
|
+
const yearlyLabel = billing?.yearlyLabel ?? "Yearly";
|
|
193
|
+
const yearlyBadgeLabel = billing?.yearlyBadgeLabel ?? "Save";
|
|
194
|
+
const isLoadingActions = state === "loading-action";
|
|
195
|
+
const shouldRenderEmpty = state === "empty-plan" || plans.length === 0;
|
|
196
|
+
return /* @__PURE__ */ jsx(MarketingShellPageKit, { ...shell, children: /* @__PURE__ */ jsxs("section", { className: cn("mx-auto w-full max-w-6xl space-y-8 px-6 pb-16", className), children: [
|
|
197
|
+
/* @__PURE__ */ jsxs("header", { className: "space-y-4", children: [
|
|
198
|
+
/* @__PURE__ */ jsx(Heading, { level: 2, children: title }),
|
|
199
|
+
/* @__PURE__ */ jsx(Typography, { variant: "muted", children: description }),
|
|
200
|
+
state !== "default" ? /* @__PURE__ */ jsx("div", { className: "flex flex-wrap items-center gap-2", children: /* @__PURE__ */ jsx(Badge, { variant: "outline", children: STATE_BADGE_LABELS[state] }) }) : null
|
|
201
|
+
] }),
|
|
202
|
+
state === "billing-toggle" ? /* @__PURE__ */ jsxs(Card, { "data-testid": "pricing-billing-controls", children: [
|
|
203
|
+
/* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { children: "Billing interval" }) }),
|
|
204
|
+
/* @__PURE__ */ jsxs(CardContent, { className: "space-y-3", children: [
|
|
205
|
+
/* @__PURE__ */ jsxs("div", { className: "inline-flex items-center gap-2 rounded-md border border-border/70 bg-surface/60 p-1", children: [
|
|
206
|
+
/* @__PURE__ */ jsx(
|
|
207
|
+
Button,
|
|
208
|
+
{
|
|
209
|
+
type: "button",
|
|
210
|
+
size: "sm",
|
|
211
|
+
variant: selectedBilling === "monthly" ? "primary" : "ghost",
|
|
212
|
+
onClick: () => setSelectedBilling("monthly"),
|
|
213
|
+
children: monthlyLabel
|
|
214
|
+
}
|
|
215
|
+
),
|
|
216
|
+
supportsYearly ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
217
|
+
/* @__PURE__ */ jsx(
|
|
218
|
+
Button,
|
|
219
|
+
{
|
|
220
|
+
type: "button",
|
|
221
|
+
size: "sm",
|
|
222
|
+
variant: selectedBilling === "yearly" ? "primary" : "ghost",
|
|
223
|
+
onClick: () => setSelectedBilling("yearly"),
|
|
224
|
+
children: yearlyLabel
|
|
225
|
+
}
|
|
226
|
+
),
|
|
227
|
+
/* @__PURE__ */ jsx(Badge, { variant: "accent", children: yearlyBadgeLabel })
|
|
228
|
+
] }) : null
|
|
229
|
+
] }),
|
|
230
|
+
billing?.note ? /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-text-secondary", children: billing.note }) : null
|
|
231
|
+
] })
|
|
232
|
+
] }) : null,
|
|
233
|
+
isLoadingActions ? /* @__PURE__ */ jsx(
|
|
234
|
+
"div",
|
|
235
|
+
{
|
|
236
|
+
"data-testid": "pricing-loading-action",
|
|
237
|
+
role: "status",
|
|
238
|
+
className: "rounded-md border border-border/70 bg-surface/70 px-4 py-3 text-sm text-text-secondary",
|
|
239
|
+
children: loadingMessage
|
|
240
|
+
}
|
|
241
|
+
) : null,
|
|
242
|
+
shouldRenderEmpty ? /* @__PURE__ */ jsxs(Card, { "data-testid": "pricing-empty-state", children: [
|
|
243
|
+
/* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { children: emptyState.title }) }),
|
|
244
|
+
/* @__PURE__ */ jsx(CardContent, { children: /* @__PURE__ */ jsx(Typography, { variant: "muted", children: emptyState.description }) })
|
|
245
|
+
] }) : /* @__PURE__ */ jsx(
|
|
246
|
+
PricingBlock,
|
|
247
|
+
{
|
|
248
|
+
title: "Pricing plans",
|
|
249
|
+
description: "All plans are rendered from declared data inputs.",
|
|
250
|
+
plans,
|
|
251
|
+
showBillingToggle: state === "billing-toggle" && supportsYearly
|
|
252
|
+
}
|
|
253
|
+
),
|
|
254
|
+
planActions.length > 0 ? /* @__PURE__ */ jsxs(Card, { "data-testid": "pricing-plan-actions", children: [
|
|
255
|
+
/* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { children: "Checkout actions" }) }),
|
|
256
|
+
/* @__PURE__ */ jsx(CardContent, { className: "grid gap-3 sm:grid-cols-2", children: planActions.map((action) => {
|
|
257
|
+
const isDisabled = isLoadingActions || action.disabled;
|
|
258
|
+
return /* @__PURE__ */ jsxs("div", { className: "rounded-md border border-border/70 p-3", children: [
|
|
259
|
+
/* @__PURE__ */ jsx(
|
|
260
|
+
Button,
|
|
261
|
+
{
|
|
262
|
+
type: "button",
|
|
263
|
+
disabled: isDisabled,
|
|
264
|
+
onClick: action.onAction,
|
|
265
|
+
className: "w-full",
|
|
266
|
+
children: action.label
|
|
267
|
+
}
|
|
268
|
+
),
|
|
269
|
+
/* @__PURE__ */ jsx(Typography, { variant: "small", className: "mt-2 break-all text-text-tertiary", children: action.href })
|
|
270
|
+
] }, action.id);
|
|
271
|
+
}) })
|
|
272
|
+
] }) : null,
|
|
273
|
+
comparison === null ? null : /* @__PURE__ */ jsx("section", { children: /* @__PURE__ */ jsx(ComparisonBlock, { ...comparison }) }),
|
|
274
|
+
faq === null ? null : /* @__PURE__ */ jsx("section", { children: /* @__PURE__ */ jsx(FAQBlock, { ...faq }) }),
|
|
275
|
+
cta === null ? null : /* @__PURE__ */ jsx("section", { children: /* @__PURE__ */ jsx(CallToActionBlock, { ...cta }) })
|
|
276
|
+
] }) });
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export { PricingPageKit };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type SettingsPageKitSaveState, type SettingsPageKitSection } from "./SettingsPageKit";
|
|
3
|
+
export type ProfileSettingsPageKitMode = "view" | "edit";
|
|
4
|
+
export type ProfileSettingsAvatarStatus = "idle" | "uploading" | "error";
|
|
5
|
+
export interface ProfileSettingsPageKitField {
|
|
6
|
+
id: string;
|
|
7
|
+
label: string;
|
|
8
|
+
value: string;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
type?: "text" | "email" | "url" | "tel";
|
|
11
|
+
required?: boolean;
|
|
12
|
+
readOnly?: boolean;
|
|
13
|
+
helperText?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface ProfileSettingsPageKitNotificationPreference {
|
|
16
|
+
id: string;
|
|
17
|
+
label: string;
|
|
18
|
+
description?: string;
|
|
19
|
+
enabled: boolean;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
}
|
|
22
|
+
export interface ProfileSettingsPageKitAvatar {
|
|
23
|
+
src?: string;
|
|
24
|
+
fallback?: string;
|
|
25
|
+
status?: ProfileSettingsAvatarStatus;
|
|
26
|
+
errorMessage?: string;
|
|
27
|
+
onUpload?: () => void;
|
|
28
|
+
onRemove?: () => void;
|
|
29
|
+
}
|
|
30
|
+
export interface ProfileSettingsPageKitProps {
|
|
31
|
+
title?: string;
|
|
32
|
+
description?: string;
|
|
33
|
+
sections?: SettingsPageKitSection[];
|
|
34
|
+
activeSectionId?: string;
|
|
35
|
+
onSectionChange?: (sectionId: string) => void;
|
|
36
|
+
profileFields: ProfileSettingsPageKitField[];
|
|
37
|
+
notificationPreferences: ProfileSettingsPageKitNotificationPreference[];
|
|
38
|
+
avatar?: ProfileSettingsPageKitAvatar;
|
|
39
|
+
mode?: ProfileSettingsPageKitMode;
|
|
40
|
+
saveState?: SettingsPageKitSaveState;
|
|
41
|
+
validationErrors?: Record<string, string>;
|
|
42
|
+
validationMessage?: string;
|
|
43
|
+
fatalErrorMessage?: string;
|
|
44
|
+
onFieldChange?: (fieldId: string, value: string) => void;
|
|
45
|
+
onNotificationChange?: (id: string, enabled: boolean) => void;
|
|
46
|
+
onSave?: () => void;
|
|
47
|
+
onDiscard?: () => void;
|
|
48
|
+
renderAdditionalSection?: (section: SettingsPageKitSection) => React.ReactNode;
|
|
49
|
+
}
|
|
50
|
+
export declare function ProfileSettingsPageKit({ title, description, sections, activeSectionId, onSectionChange, profileFields, notificationPreferences, avatar, mode, saveState, validationErrors, validationMessage, fatalErrorMessage, onFieldChange, onNotificationChange, onSave, onDiscard, renderAdditionalSection, }: ProfileSettingsPageKitProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { SettingsPageKit } from '../../chunk-RKQPU75I.js';
|
|
2
|
+
import { Typography } from '../../chunk-N53OMWW2.js';
|
|
3
|
+
import { Switch } from '../../chunk-R7N7YLFT.js';
|
|
4
|
+
import { Field, FieldLabel } from '../../chunk-RX5EUODB.js';
|
|
5
|
+
import '../../chunk-WI547C47.js';
|
|
6
|
+
import '../../chunk-55HD4L6G.js';
|
|
7
|
+
import { Input } from '../../chunk-AP3XXYAY.js';
|
|
8
|
+
import { Label } from '../../chunk-LIBXYD5Q.js';
|
|
9
|
+
import { Card, CardHeader, CardTitle, CardDescription, CardContent } from '../../chunk-AH6YSYYT.js';
|
|
10
|
+
import { Avatar, AvatarImage, AvatarFallback } from '../../chunk-NAAU5IWU.js';
|
|
11
|
+
import { Button } from '../../chunk-7KIDDF3I.js';
|
|
12
|
+
import '../../chunk-PD2YEH3H.js';
|
|
13
|
+
import '../../chunk-CRY67BIF.js';
|
|
14
|
+
import '../../chunk-HJC6U46F.js';
|
|
15
|
+
import '../../chunk-S4JAHKOP.js';
|
|
16
|
+
import '../../chunk-QYZT24TS.js';
|
|
17
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
18
|
+
|
|
19
|
+
var DEFAULT_SECTIONS = [{ id: "profile", label: "Profile" }];
|
|
20
|
+
var EMPTY_VALIDATION_ERRORS = {};
|
|
21
|
+
function renderProfileSection({
|
|
22
|
+
profileFields,
|
|
23
|
+
notificationPreferences,
|
|
24
|
+
avatar,
|
|
25
|
+
mode,
|
|
26
|
+
validationErrors,
|
|
27
|
+
onFieldChange,
|
|
28
|
+
onNotificationChange
|
|
29
|
+
}) {
|
|
30
|
+
const readOnlyMode = mode === "view";
|
|
31
|
+
return /* @__PURE__ */ jsxs("div", { className: "space-y-6", children: [
|
|
32
|
+
/* @__PURE__ */ jsxs(Card, { children: [
|
|
33
|
+
/* @__PURE__ */ jsxs(CardHeader, { children: [
|
|
34
|
+
/* @__PURE__ */ jsx(CardTitle, { children: "Avatar" }),
|
|
35
|
+
/* @__PURE__ */ jsx(CardDescription, { children: "Upload a profile image visible to your workspace." })
|
|
36
|
+
] }),
|
|
37
|
+
/* @__PURE__ */ jsxs(CardContent, { className: "flex flex-wrap items-center gap-4", children: [
|
|
38
|
+
/* @__PURE__ */ jsxs(Avatar, { className: "h-14 w-14", children: [
|
|
39
|
+
/* @__PURE__ */ jsx(AvatarImage, { src: avatar?.src, alt: "Profile avatar" }),
|
|
40
|
+
/* @__PURE__ */ jsx(AvatarFallback, { children: avatar?.fallback ?? "U" })
|
|
41
|
+
] }),
|
|
42
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-wrap gap-2", children: [
|
|
43
|
+
/* @__PURE__ */ jsx(
|
|
44
|
+
Button,
|
|
45
|
+
{
|
|
46
|
+
variant: "secondary",
|
|
47
|
+
onClick: avatar?.onUpload,
|
|
48
|
+
disabled: readOnlyMode || avatar?.status === "uploading",
|
|
49
|
+
children: avatar?.status === "uploading" ? "Uploading\u2026" : "Upload avatar"
|
|
50
|
+
}
|
|
51
|
+
),
|
|
52
|
+
/* @__PURE__ */ jsx(Button, { variant: "ghost", onClick: avatar?.onRemove, disabled: readOnlyMode, children: "Remove" })
|
|
53
|
+
] })
|
|
54
|
+
] }),
|
|
55
|
+
avatar?.errorMessage ? /* @__PURE__ */ jsx(CardContent, { children: /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-destructive", children: avatar.errorMessage }) }) : null
|
|
56
|
+
] }),
|
|
57
|
+
/* @__PURE__ */ jsxs(Card, { children: [
|
|
58
|
+
/* @__PURE__ */ jsxs(CardHeader, { children: [
|
|
59
|
+
/* @__PURE__ */ jsx(CardTitle, { children: "Personal information" }),
|
|
60
|
+
/* @__PURE__ */ jsx(CardDescription, { children: "Control profile details used across your account." })
|
|
61
|
+
] }),
|
|
62
|
+
/* @__PURE__ */ jsx(CardContent, { className: "space-y-4", children: profileFields.map((field) => {
|
|
63
|
+
const inputId = `profile-settings-field-${field.id}`;
|
|
64
|
+
const fieldError = validationErrors[field.id];
|
|
65
|
+
return /* @__PURE__ */ jsxs(Field, { children: [
|
|
66
|
+
/* @__PURE__ */ jsxs(FieldLabel, { htmlFor: inputId, children: [
|
|
67
|
+
field.label,
|
|
68
|
+
field.required ? " *" : ""
|
|
69
|
+
] }),
|
|
70
|
+
/* @__PURE__ */ jsx(
|
|
71
|
+
Input,
|
|
72
|
+
{
|
|
73
|
+
id: inputId,
|
|
74
|
+
type: field.type ?? "text",
|
|
75
|
+
value: field.value,
|
|
76
|
+
placeholder: field.placeholder,
|
|
77
|
+
readOnly: readOnlyMode || field.readOnly,
|
|
78
|
+
disabled: readOnlyMode || field.readOnly,
|
|
79
|
+
onChange: (event) => onFieldChange?.(field.id, event.target.value)
|
|
80
|
+
}
|
|
81
|
+
),
|
|
82
|
+
field.helperText ? /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-text-tertiary", children: field.helperText }) : null,
|
|
83
|
+
fieldError ? /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-destructive", children: fieldError }) : null
|
|
84
|
+
] }, field.id);
|
|
85
|
+
}) })
|
|
86
|
+
] }),
|
|
87
|
+
/* @__PURE__ */ jsxs(Card, { children: [
|
|
88
|
+
/* @__PURE__ */ jsxs(CardHeader, { children: [
|
|
89
|
+
/* @__PURE__ */ jsx(CardTitle, { children: "Notification preferences" }),
|
|
90
|
+
/* @__PURE__ */ jsx(CardDescription, { children: "Set communication and security notification behavior." })
|
|
91
|
+
] }),
|
|
92
|
+
/* @__PURE__ */ jsx(CardContent, { className: "space-y-4", children: notificationPreferences.map((preference) => /* @__PURE__ */ jsxs(
|
|
93
|
+
"div",
|
|
94
|
+
{
|
|
95
|
+
className: "flex flex-wrap items-center justify-between gap-3 rounded-lg border border-border-subtle bg-surface-hover p-4",
|
|
96
|
+
children: [
|
|
97
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
98
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: `profile-settings-pref-${preference.id}`, children: preference.label }),
|
|
99
|
+
preference.description ? /* @__PURE__ */ jsx(Typography, { variant: "small", className: "text-text-secondary", children: preference.description }) : null
|
|
100
|
+
] }),
|
|
101
|
+
/* @__PURE__ */ jsx(
|
|
102
|
+
Switch,
|
|
103
|
+
{
|
|
104
|
+
id: `profile-settings-pref-${preference.id}`,
|
|
105
|
+
checked: preference.enabled,
|
|
106
|
+
disabled: readOnlyMode || preference.disabled,
|
|
107
|
+
onCheckedChange: (checked) => onNotificationChange?.(preference.id, checked),
|
|
108
|
+
"aria-label": preference.label
|
|
109
|
+
}
|
|
110
|
+
)
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
preference.id
|
|
114
|
+
)) })
|
|
115
|
+
] })
|
|
116
|
+
] });
|
|
117
|
+
}
|
|
118
|
+
function ProfileSettingsPageKit({
|
|
119
|
+
title = "Profile settings",
|
|
120
|
+
description = "Manage profile details, avatar controls, and personal notification preferences.",
|
|
121
|
+
sections = DEFAULT_SECTIONS,
|
|
122
|
+
activeSectionId,
|
|
123
|
+
onSectionChange,
|
|
124
|
+
profileFields,
|
|
125
|
+
notificationPreferences,
|
|
126
|
+
avatar,
|
|
127
|
+
mode = "edit",
|
|
128
|
+
saveState = "default",
|
|
129
|
+
validationErrors = EMPTY_VALIDATION_ERRORS,
|
|
130
|
+
validationMessage,
|
|
131
|
+
fatalErrorMessage,
|
|
132
|
+
onFieldChange,
|
|
133
|
+
onNotificationChange,
|
|
134
|
+
onSave,
|
|
135
|
+
onDiscard,
|
|
136
|
+
renderAdditionalSection
|
|
137
|
+
}) {
|
|
138
|
+
const firstSectionId = sections[0]?.id ?? "profile";
|
|
139
|
+
const resolvedActiveSectionId = activeSectionId ?? firstSectionId;
|
|
140
|
+
return /* @__PURE__ */ jsx(
|
|
141
|
+
SettingsPageKit,
|
|
142
|
+
{
|
|
143
|
+
title,
|
|
144
|
+
description,
|
|
145
|
+
sections,
|
|
146
|
+
activeSectionId: resolvedActiveSectionId,
|
|
147
|
+
onSectionChange,
|
|
148
|
+
saveState,
|
|
149
|
+
validationMessage,
|
|
150
|
+
fatalErrorMessage,
|
|
151
|
+
onSave,
|
|
152
|
+
onDiscard,
|
|
153
|
+
renderSection: (section) => {
|
|
154
|
+
if (section.id === "profile") {
|
|
155
|
+
return renderProfileSection({
|
|
156
|
+
profileFields,
|
|
157
|
+
notificationPreferences,
|
|
158
|
+
avatar,
|
|
159
|
+
mode,
|
|
160
|
+
validationErrors,
|
|
161
|
+
onFieldChange,
|
|
162
|
+
onNotificationChange
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
return renderAdditionalSection ? renderAdditionalSection(section) : null;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export { ProfileSettingsPageKit };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { PasswordRecoveryBlock } from "../blocks/PasswordRecoveryBlock";
|
|
3
|
+
type PasswordRecoveryBlockProps = React.ComponentProps<typeof PasswordRecoveryBlock>;
|
|
4
|
+
export interface RecoveryPageKitProps {
|
|
5
|
+
mode?: PasswordRecoveryBlockProps["mode"];
|
|
6
|
+
onSubmit?: PasswordRecoveryBlockProps["onSubmit"];
|
|
7
|
+
onBackToLogin?: PasswordRecoveryBlockProps["onBackToLogin"];
|
|
8
|
+
title?: PasswordRecoveryBlockProps["title"];
|
|
9
|
+
description?: PasswordRecoveryBlockProps["description"];
|
|
10
|
+
buttonText?: PasswordRecoveryBlockProps["buttonText"];
|
|
11
|
+
successTitle?: PasswordRecoveryBlockProps["successTitle"];
|
|
12
|
+
errorMessage?: React.ReactNode;
|
|
13
|
+
className?: string;
|
|
14
|
+
cardClassName?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare function RecoveryPageKit({ mode, onSubmit, onBackToLogin, title, description, buttonText, successTitle, errorMessage, className, cardClassName, }: RecoveryPageKitProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { PasswordRecoveryBlock } from '../../chunk-5PZ4VR2D.js';
|
|
2
|
+
import '../../chunk-MDAYDDTC.js';
|
|
3
|
+
import '../../chunk-ZLSWCV55.js';
|
|
4
|
+
import '../../chunk-RX5EUODB.js';
|
|
5
|
+
import '../../chunk-CUZJIDU7.js';
|
|
6
|
+
import '../../chunk-AP3XXYAY.js';
|
|
7
|
+
import '../../chunk-LIBXYD5Q.js';
|
|
8
|
+
import '../../chunk-AH6YSYYT.js';
|
|
9
|
+
import '../../chunk-7KIDDF3I.js';
|
|
10
|
+
import '../../chunk-PD2YEH3H.js';
|
|
11
|
+
import '../../chunk-CRY67BIF.js';
|
|
12
|
+
import '../../chunk-HJC6U46F.js';
|
|
13
|
+
import '../../chunk-CGUCH322.js';
|
|
14
|
+
import '../../chunk-XQ2UDMPO.js';
|
|
15
|
+
import '../../chunk-CXACRCZ4.js';
|
|
16
|
+
import '../../chunk-S4JAHKOP.js';
|
|
17
|
+
import '../../chunk-ASKFAYYR.js';
|
|
18
|
+
import { cn } from '../../chunk-QYZT24TS.js';
|
|
19
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
20
|
+
|
|
21
|
+
function RecoveryPageKit({
|
|
22
|
+
mode = "reset",
|
|
23
|
+
onSubmit,
|
|
24
|
+
onBackToLogin,
|
|
25
|
+
title,
|
|
26
|
+
description,
|
|
27
|
+
buttonText,
|
|
28
|
+
successTitle,
|
|
29
|
+
errorMessage,
|
|
30
|
+
className,
|
|
31
|
+
cardClassName
|
|
32
|
+
}) {
|
|
33
|
+
return /* @__PURE__ */ jsx("section", { className: cn("min-h-dvh w-full bg-background px-4 py-12 md:px-8 md:py-20", className), children: /* @__PURE__ */ jsxs("div", { className: "mx-auto flex w-full max-w-5xl flex-col items-center justify-center gap-4", children: [
|
|
34
|
+
errorMessage ? /* @__PURE__ */ jsx(
|
|
35
|
+
"div",
|
|
36
|
+
{
|
|
37
|
+
role: "alert",
|
|
38
|
+
className: "w-full max-w-sm rounded-md border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm text-destructive",
|
|
39
|
+
children: errorMessage
|
|
40
|
+
}
|
|
41
|
+
) : null,
|
|
42
|
+
/* @__PURE__ */ jsx(
|
|
43
|
+
PasswordRecoveryBlock,
|
|
44
|
+
{
|
|
45
|
+
className: cn("w-full", cardClassName),
|
|
46
|
+
mode,
|
|
47
|
+
onSubmit,
|
|
48
|
+
onBackToLogin,
|
|
49
|
+
title,
|
|
50
|
+
description,
|
|
51
|
+
buttonText,
|
|
52
|
+
successTitle
|
|
53
|
+
}
|
|
54
|
+
)
|
|
55
|
+
] }) });
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export { RecoveryPageKit };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ResetPasswordBlock } from "../blocks/ResetPasswordBlock";
|
|
3
|
+
type ResetPasswordBlockProps = React.ComponentProps<typeof ResetPasswordBlock>;
|
|
4
|
+
export interface ResetPageKitProps {
|
|
5
|
+
onSubmit?: ResetPasswordBlockProps["onSubmit"];
|
|
6
|
+
onBackToLogin?: ResetPasswordBlockProps["onBackToLogin"];
|
|
7
|
+
title?: ResetPasswordBlockProps["title"];
|
|
8
|
+
description?: ResetPasswordBlockProps["description"];
|
|
9
|
+
errorMessage?: React.ReactNode;
|
|
10
|
+
className?: string;
|
|
11
|
+
cardClassName?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare function ResetPageKit({ onSubmit, onBackToLogin, title, description, errorMessage, className, cardClassName, }: ResetPageKitProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ResetPasswordBlock } from '../../chunk-X6VXWEDO.js';
|
|
2
|
+
import '../../chunk-ZLSWCV55.js';
|
|
3
|
+
import '../../chunk-UJDEGCCZ.js';
|
|
4
|
+
import '../../chunk-RX5EUODB.js';
|
|
5
|
+
import '../../chunk-AP3XXYAY.js';
|
|
6
|
+
import '../../chunk-LIBXYD5Q.js';
|
|
7
|
+
import '../../chunk-AH6YSYYT.js';
|
|
8
|
+
import '../../chunk-7KIDDF3I.js';
|
|
9
|
+
import '../../chunk-PD2YEH3H.js';
|
|
10
|
+
import '../../chunk-CRY67BIF.js';
|
|
11
|
+
import '../../chunk-HJC6U46F.js';
|
|
12
|
+
import '../../chunk-QSU23VYZ.js';
|
|
13
|
+
import '../../chunk-666N6OTL.js';
|
|
14
|
+
import '../../chunk-FMH55OKV.js';
|
|
15
|
+
import '../../chunk-CXACRCZ4.js';
|
|
16
|
+
import '../../chunk-UIUMTURU.js';
|
|
17
|
+
import '../../chunk-ASKFAYYR.js';
|
|
18
|
+
import { cn } from '../../chunk-QYZT24TS.js';
|
|
19
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
20
|
+
|
|
21
|
+
function ResetPageKit({
|
|
22
|
+
onSubmit,
|
|
23
|
+
onBackToLogin,
|
|
24
|
+
title,
|
|
25
|
+
description,
|
|
26
|
+
errorMessage,
|
|
27
|
+
className,
|
|
28
|
+
cardClassName
|
|
29
|
+
}) {
|
|
30
|
+
return /* @__PURE__ */ jsx("section", { className: cn("min-h-dvh w-full bg-background px-4 py-12 md:px-8 md:py-20", className), children: /* @__PURE__ */ jsxs("div", { className: "mx-auto flex w-full max-w-5xl flex-col items-center justify-center gap-4", children: [
|
|
31
|
+
errorMessage ? /* @__PURE__ */ jsx(
|
|
32
|
+
"div",
|
|
33
|
+
{
|
|
34
|
+
role: "alert",
|
|
35
|
+
className: "w-full max-w-sm rounded-md border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm text-destructive",
|
|
36
|
+
children: errorMessage
|
|
37
|
+
}
|
|
38
|
+
) : null,
|
|
39
|
+
/* @__PURE__ */ jsx(
|
|
40
|
+
ResetPasswordBlock,
|
|
41
|
+
{
|
|
42
|
+
className: cn("w-full", cardClassName),
|
|
43
|
+
onSubmit,
|
|
44
|
+
onBackToLogin,
|
|
45
|
+
title,
|
|
46
|
+
description
|
|
47
|
+
}
|
|
48
|
+
)
|
|
49
|
+
] }) });
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export { ResetPageKit };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { CallToActionBlock } from "../blocks/CallToActionBlock";
|
|
3
|
+
import { FAQBlock } from "../blocks/FAQBlock";
|
|
4
|
+
import { FeatureBlock } from "../blocks/FeatureBlock";
|
|
5
|
+
import { HeroBlock } from "../blocks/HeroBlock";
|
|
6
|
+
import { ProcessFlowBlock } from "../blocks/ProcessFlowBlock";
|
|
7
|
+
import { TeamBlock } from "../blocks/TeamBlock";
|
|
8
|
+
import { TestimonialsBlock } from "../blocks/TestimonialsBlock";
|
|
9
|
+
import { type MarketingShellPageKitProps } from "./MarketingShellPageKit";
|
|
10
|
+
export type ServiceSuitePageKitVariant = "agency-home" | "digital-workers" | "service-detail";
|
|
11
|
+
export type ServiceSuitePageKitSectionId = "hero" | "features" | "process" | "team" | "testimonials" | "faq" | "cta";
|
|
12
|
+
export interface ServiceSuitePageKitProps {
|
|
13
|
+
shell: Omit<MarketingShellPageKitProps, "children">;
|
|
14
|
+
variant?: ServiceSuitePageKitVariant;
|
|
15
|
+
sectionOrder?: ServiceSuitePageKitSectionId[];
|
|
16
|
+
hero?: Omit<React.ComponentProps<typeof HeroBlock>, "variant">;
|
|
17
|
+
features?: React.ComponentProps<typeof FeatureBlock> | null;
|
|
18
|
+
process?: React.ComponentProps<typeof ProcessFlowBlock> | null;
|
|
19
|
+
team?: React.ComponentProps<typeof TeamBlock> | null;
|
|
20
|
+
testimonials?: React.ComponentProps<typeof TestimonialsBlock> | null;
|
|
21
|
+
faq?: React.ComponentProps<typeof FAQBlock> | null;
|
|
22
|
+
cta?: React.ComponentProps<typeof CallToActionBlock> | null;
|
|
23
|
+
className?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function ServiceSuitePageKit({ shell, variant, sectionOrder, hero, features, process, team, testimonials, faq, cta, className, }: ServiceSuitePageKitProps): import("react/jsx-runtime").JSX.Element;
|