@opensite/ui 1.9.6 → 1.9.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/registry.js CHANGED
@@ -12622,10 +12622,7 @@ function ContactCallback({
12622
12622
  onSuccess,
12623
12623
  onError
12624
12624
  }) {
12625
- const fields = useMemo(
12626
- () => formFields || DEFAULT_FORM_FIELDS,
12627
- [formFields]
12628
- );
12625
+ const fields = useMemo(() => formFields || DEFAULT_FORM_FIELDS, [formFields]);
12629
12626
  const { form, submissionError, formMethod, resetSubmissionState } = useContactForm({
12630
12627
  formFields: fields,
12631
12628
  formConfig,
@@ -12678,13 +12675,22 @@ function ContactCallback({
12678
12675
  "h2",
12679
12676
  {
12680
12677
  className: cn(
12681
- "mb-3 text-3xl font-bold tracking-tight",
12678
+ "mb-3 text-3xl font-bold tracking-tight text-balance",
12682
12679
  headingClassName
12683
12680
  ),
12684
12681
  children: heading
12685
12682
  }
12686
12683
  ) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
12687
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("leading-relaxed", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
12684
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx(
12685
+ "p",
12686
+ {
12687
+ className: cn(
12688
+ "leading-relaxed text-balance",
12689
+ descriptionClassName
12690
+ ),
12691
+ children: description
12692
+ }
12693
+ ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
12688
12694
  ] }),
12689
12695
  /* @__PURE__ */ jsx(Card, { className: cardClassName, children: /* @__PURE__ */ jsx(CardContent, { className: cn("p-6 lg:p-8", cardContentClassName), children: /* @__PURE__ */ jsxs(
12690
12696
  Form,
@@ -12819,10 +12825,7 @@ function ContactCard({
12819
12825
  onSuccess,
12820
12826
  onError
12821
12827
  }) {
12822
- const fields = useMemo(
12823
- () => formFields || DEFAULT_FORM_FIELDS2,
12824
- [formFields]
12825
- );
12828
+ const fields = useMemo(() => formFields || DEFAULT_FORM_FIELDS2, [formFields]);
12826
12829
  const { form, submissionError, formMethod, resetSubmissionState } = useContactForm({
12827
12830
  formFields: fields,
12828
12831
  formConfig,
@@ -12834,7 +12837,14 @@ function ContactCard({
12834
12837
  if (actionsSlot) return actionsSlot;
12835
12838
  if (actions && actions.length > 0) {
12836
12839
  return actions.map((action, index) => {
12837
- const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
12840
+ const {
12841
+ label,
12842
+ icon,
12843
+ iconAfter,
12844
+ children,
12845
+ className: actionClassName,
12846
+ ...pressableProps
12847
+ } = action;
12838
12848
  return /* @__PURE__ */ jsx(
12839
12849
  Pressable,
12840
12850
  {
@@ -12878,12 +12888,12 @@ function ContactCard({
12878
12888
  "h3",
12879
12889
  {
12880
12890
  className: cn(
12881
- "mb-6 text-2xl font-semibold tracking-tight",
12891
+ "mb-6 text-2xl font-semibold tracking-tight text-balance",
12882
12892
  formHeadingClassName
12883
12893
  ),
12884
12894
  children: formHeading
12885
12895
  }
12886
- ) : /* @__PURE__ */ jsx("div", { className: formHeadingClassName, children: formHeading })),
12896
+ ) : /* @__PURE__ */ jsx("div", { className: cn("text-balance", formHeadingClassName), children: formHeading })),
12887
12897
  /* @__PURE__ */ jsxs(
12888
12898
  Form,
12889
12899
  {
@@ -12929,13 +12939,22 @@ function ContactCard({
12929
12939
  "h2",
12930
12940
  {
12931
12941
  className: cn(
12932
- "mb-3 text-3xl font-bold tracking-tight",
12942
+ "mb-3 text-3xl font-bold tracking-tight text-balance",
12933
12943
  headingClassName
12934
12944
  ),
12935
12945
  children: heading
12936
12946
  }
12937
12947
  ) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
12938
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("leading-relaxed", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description })),
12948
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx(
12949
+ "p",
12950
+ {
12951
+ className: cn(
12952
+ "leading-relaxed text-balance",
12953
+ descriptionClassName
12954
+ ),
12955
+ children: description
12956
+ }
12957
+ ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description })),
12939
12958
  /* @__PURE__ */ jsx("div", { className: cn("mt-10 space-y-4", contactOptionsClassName), children: contactOptionsContent })
12940
12959
  ] })
12941
12960
  ] }) })
@@ -13070,10 +13089,7 @@ function ContactCareers({
13070
13089
  onSuccess,
13071
13090
  onError
13072
13091
  }) {
13073
- const fields = useMemo(
13074
- () => formFields || DEFAULT_FORM_FIELDS3,
13075
- [formFields]
13076
- );
13092
+ const fields = useMemo(() => formFields || DEFAULT_FORM_FIELDS3, [formFields]);
13077
13093
  const {
13078
13094
  uploadTokens,
13079
13095
  uploadProgress,
@@ -13138,13 +13154,22 @@ function ContactCareers({
13138
13154
  "h2",
13139
13155
  {
13140
13156
  className: cn(
13141
- "mb-3 text-3xl font-bold tracking-tight",
13157
+ "mb-3 text-3xl font-bold tracking-tight text-balance",
13142
13158
  headingClassName
13143
13159
  ),
13144
13160
  children: heading
13145
13161
  }
13146
13162
  ) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
13147
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("leading-relaxed", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
13163
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx(
13164
+ "p",
13165
+ {
13166
+ className: cn(
13167
+ "leading-relaxed text-balance",
13168
+ descriptionClassName
13169
+ ),
13170
+ children: description
13171
+ }
13172
+ ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
13148
13173
  ] }),
13149
13174
  /* @__PURE__ */ jsx(Card, { className: cardClassName, children: /* @__PURE__ */ jsx(CardContent, { className: cn("p-0", cardContentClassName), children: /* @__PURE__ */ jsxs(
13150
13175
  Form,
@@ -13392,10 +13417,7 @@ function ContactCatering({
13392
13417
  onSuccess,
13393
13418
  onError
13394
13419
  }) {
13395
- const fields = useMemo(
13396
- () => formFields || DEFAULT_FORM_FIELDS4,
13397
- [formFields]
13398
- );
13420
+ const fields = useMemo(() => formFields || DEFAULT_FORM_FIELDS4, [formFields]);
13399
13421
  const { form, submissionError, formMethod, resetSubmissionState } = useContactForm({
13400
13422
  formFields: fields,
13401
13423
  formConfig,
@@ -13448,7 +13470,7 @@ function ContactCatering({
13448
13470
  "h2",
13449
13471
  {
13450
13472
  className: cn(
13451
- "mb-3 text-3xl font-bold tracking-tight",
13473
+ "mb-3 text-3xl font-bold tracking-tight text-balance",
13452
13474
  headingClassName
13453
13475
  ),
13454
13476
  children: heading
@@ -13458,7 +13480,7 @@ function ContactCatering({
13458
13480
  "p",
13459
13481
  {
13460
13482
  className: cn(
13461
- "leading-relaxed text-muted-foreground",
13483
+ "leading-relaxed text-balance",
13462
13484
  descriptionClassName
13463
13485
  ),
13464
13486
  children: description
@@ -14237,13 +14259,22 @@ function ContactDemo({
14237
14259
  "h2",
14238
14260
  {
14239
14261
  className: cn(
14240
- "mb-3 text-3xl font-bold tracking-tight",
14262
+ "mb-3 text-3xl font-bold tracking-tight text-balance",
14241
14263
  headingClassName
14242
14264
  ),
14243
14265
  children: heading
14244
14266
  }
14245
14267
  ) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
14246
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("leading-relaxed", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
14268
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx(
14269
+ "p",
14270
+ {
14271
+ className: cn(
14272
+ "leading-relaxed text-balance",
14273
+ descriptionClassName
14274
+ ),
14275
+ children: description
14276
+ }
14277
+ ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
14247
14278
  ] }),
14248
14279
  /* @__PURE__ */ jsx(Card, { className: cardClassName, children: /* @__PURE__ */ jsx(CardContent, { className: cn("p-6 lg:p-8", cardContentClassName), children: /* @__PURE__ */ jsxs(
14249
14280
  Form,
@@ -14862,7 +14893,7 @@ function ContactEvent({
14862
14893
  "h2",
14863
14894
  {
14864
14895
  className: cn(
14865
- "mb-3 text-3xl font-bold tracking-tight",
14896
+ "mb-3 text-3xl font-bold tracking-tight text-balance",
14866
14897
  headingClassName
14867
14898
  ),
14868
14899
  children: heading
@@ -14872,7 +14903,7 @@ function ContactEvent({
14872
14903
  "p",
14873
14904
  {
14874
14905
  className: cn(
14875
- "leading-relaxed text-muted-foreground",
14906
+ "leading-relaxed text-balance",
14876
14907
  descriptionClassName
14877
14908
  ),
14878
14909
  children: description
@@ -15451,7 +15482,7 @@ function ContactFeedback({
15451
15482
  "h2",
15452
15483
  {
15453
15484
  className: cn(
15454
- "mb-3 text-3xl font-bold tracking-tight",
15485
+ "mb-3 text-3xl font-bold tracking-tight text-balance",
15455
15486
  headingClassName
15456
15487
  ),
15457
15488
  children: heading
@@ -15461,7 +15492,7 @@ function ContactFeedback({
15461
15492
  "p",
15462
15493
  {
15463
15494
  className: cn(
15464
- "leading-relaxed text-muted-foreground",
15495
+ "leading-relaxed text-balance",
15465
15496
  descriptionClassName
15466
15497
  ),
15467
15498
  children: description
@@ -15645,7 +15676,7 @@ function ContactFitness({
15645
15676
  "h2",
15646
15677
  {
15647
15678
  className: cn(
15648
- "mb-3 text-3xl font-bold tracking-tight",
15679
+ "mb-3 text-3xl font-bold tracking-tight text-balance",
15649
15680
  headingClassName
15650
15681
  ),
15651
15682
  children: heading
@@ -15655,7 +15686,7 @@ function ContactFitness({
15655
15686
  "p",
15656
15687
  {
15657
15688
  className: cn(
15658
- "leading-relaxed text-muted-foreground",
15689
+ "leading-relaxed text-balance",
15659
15690
  descriptionClassName
15660
15691
  ),
15661
15692
  children: description
@@ -15881,13 +15912,22 @@ function ContactGuest({
15881
15912
  "h2",
15882
15913
  {
15883
15914
  className: cn(
15884
- "mb-3 text-3xl font-bold tracking-tight",
15915
+ "mb-3 text-3xl font-bold tracking-tight text-balance",
15885
15916
  headingClassName
15886
15917
  ),
15887
15918
  children: heading
15888
15919
  }
15889
15920
  ) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
15890
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("leading-relaxed", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
15921
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx(
15922
+ "p",
15923
+ {
15924
+ className: cn(
15925
+ "leading-relaxed text-balance",
15926
+ descriptionClassName
15927
+ ),
15928
+ children: description
15929
+ }
15930
+ ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
15891
15931
  ] }),
15892
15932
  /* @__PURE__ */ jsx(Card, { className: cn("mx-auto max-w-xl", cardClassName), children: /* @__PURE__ */ jsx(CardContent, { className: cn("p-6 lg:p-8", cardContentClassName), children: /* @__PURE__ */ jsxs(
15893
15933
  Form,
@@ -16108,13 +16148,22 @@ function ContactImage({
16108
16148
  "h2",
16109
16149
  {
16110
16150
  className: cn(
16111
- "mb-3 text-3xl font-bold tracking-tight",
16151
+ "mb-3 text-3xl font-bold tracking-tight text-balance",
16112
16152
  headingClassName
16113
16153
  ),
16114
16154
  children: heading
16115
16155
  }
16116
16156
  ) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
16117
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("leading-relaxed ", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
16157
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx(
16158
+ "p",
16159
+ {
16160
+ className: cn(
16161
+ "leading-relaxed text-balance",
16162
+ descriptionClassName
16163
+ ),
16164
+ children: description
16165
+ }
16166
+ ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
16118
16167
  ] }),
16119
16168
  /* @__PURE__ */ jsx(Card, { className: cn("mx-auto max-w-xl", cardClassName), children: /* @__PURE__ */ jsx(CardContent, { className: cn("p-6 lg:p-8", cardContentClassName), children: /* @__PURE__ */ jsxs(
16120
16169
  Form,
@@ -17002,12 +17051,28 @@ function ContactMaintenance({
17002
17051
  if (actionsSlot) return actionsSlot;
17003
17052
  if (actions && actions.length > 0) {
17004
17053
  return actions.map((action, index) => {
17005
- const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
17006
- return /* @__PURE__ */ jsx(Pressable, { asButton: true, className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
17007
- icon,
17054
+ const {
17008
17055
  label,
17009
- iconAfter
17010
- ] }) }, index);
17056
+ icon,
17057
+ iconAfter,
17058
+ children,
17059
+ className: actionClassName,
17060
+ ...pressableProps
17061
+ } = action;
17062
+ return /* @__PURE__ */ jsx(
17063
+ Pressable,
17064
+ {
17065
+ asButton: true,
17066
+ className: actionClassName,
17067
+ ...pressableProps,
17068
+ children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
17069
+ icon,
17070
+ label,
17071
+ iconAfter
17072
+ ] })
17073
+ },
17074
+ index
17075
+ );
17011
17076
  });
17012
17077
  }
17013
17078
  return null;
@@ -17022,8 +17087,26 @@ function ContactMaintenance({
17022
17087
  className: cn("py-12", className),
17023
17088
  children: /* @__PURE__ */ jsxs("div", { className: cn("mx-auto max-w-4xl px-4", containerClassName), children: [
17024
17089
  /* @__PURE__ */ jsxs("div", { className: cn("mb-10 text-center", headerClassName), children: [
17025
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsx("h2", { className: cn("mb-3 text-3xl font-bold tracking-tight", headingClassName), children: heading }) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
17026
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("leading-relaxed text-muted-foreground", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
17090
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
17091
+ "h2",
17092
+ {
17093
+ className: cn(
17094
+ "mb-3 text-3xl font-bold tracking-tight text-balance",
17095
+ headingClassName
17096
+ ),
17097
+ children: heading
17098
+ }
17099
+ ) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
17100
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx(
17101
+ "p",
17102
+ {
17103
+ className: cn(
17104
+ "leading-relaxed text-balance",
17105
+ descriptionClassName
17106
+ ),
17107
+ children: description
17108
+ }
17109
+ ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
17027
17110
  ] }),
17028
17111
  /* @__PURE__ */ jsx(Card, { className: cn("mx-auto max-w-xl", cardClassName), children: /* @__PURE__ */ jsx(CardContent, { className: cn("p-6 lg:p-8", cardContentClassName), children: /* @__PURE__ */ jsxs(
17029
17112
  Form,
@@ -17203,12 +17286,28 @@ function ContactMap({
17203
17286
  if (actionsSlot) return actionsSlot;
17204
17287
  if (actions && actions.length > 0) {
17205
17288
  return actions.map((action, index) => {
17206
- const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
17207
- return /* @__PURE__ */ jsx(Pressable, { asButton: true, className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
17208
- icon,
17289
+ const {
17209
17290
  label,
17210
- iconAfter
17211
- ] }) }, index);
17291
+ icon,
17292
+ iconAfter,
17293
+ children,
17294
+ className: actionClassName,
17295
+ ...pressableProps
17296
+ } = action;
17297
+ return /* @__PURE__ */ jsx(
17298
+ Pressable,
17299
+ {
17300
+ asButton: true,
17301
+ className: actionClassName,
17302
+ ...pressableProps,
17303
+ children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
17304
+ icon,
17305
+ label,
17306
+ iconAfter
17307
+ ] })
17308
+ },
17309
+ index
17310
+ );
17212
17311
  });
17213
17312
  }
17214
17313
  return null;
@@ -17223,8 +17322,26 @@ function ContactMap({
17223
17322
  className: cn("py-12", className),
17224
17323
  children: /* @__PURE__ */ jsxs("div", { className: cn("mx-auto max-w-4xl px-4", containerClassName), children: [
17225
17324
  /* @__PURE__ */ jsxs("div", { className: cn("mb-10 text-center", headerClassName), children: [
17226
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsx("h2", { className: cn("mb-3 text-3xl font-bold tracking-tight", headingClassName), children: heading }) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
17227
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("leading-relaxed text-muted-foreground", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
17325
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
17326
+ "h2",
17327
+ {
17328
+ className: cn(
17329
+ "mb-3 text-3xl font-bold tracking-tight text-balance",
17330
+ headingClassName
17331
+ ),
17332
+ children: heading
17333
+ }
17334
+ ) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
17335
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx(
17336
+ "p",
17337
+ {
17338
+ className: cn(
17339
+ "leading-relaxed text-balance",
17340
+ descriptionClassName
17341
+ ),
17342
+ children: description
17343
+ }
17344
+ ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
17228
17345
  ] }),
17229
17346
  /* @__PURE__ */ jsx(Card, { className: cn("mx-auto max-w-xl", cardClassName), children: /* @__PURE__ */ jsx(CardContent, { className: cn("p-6 lg:p-8", cardContentClassName), children: /* @__PURE__ */ jsxs(
17230
17347
  Form,
@@ -17401,7 +17518,14 @@ function ContactMinimal({
17401
17518
  if (actionsSlot) return actionsSlot;
17402
17519
  if (actions && actions.length > 0) {
17403
17520
  return actions.map((action, index) => {
17404
- const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
17521
+ const {
17522
+ label,
17523
+ icon,
17524
+ iconAfter,
17525
+ children,
17526
+ className: actionClassName,
17527
+ ...pressableProps
17528
+ } = action;
17405
17529
  return /* @__PURE__ */ jsx(
17406
17530
  Pressable,
17407
17531
  {
@@ -17423,7 +17547,25 @@ function ContactMinimal({
17423
17547
  const footerContent = React56.useMemo(() => {
17424
17548
  if (footerSlot) return footerSlot;
17425
17549
  if (footer) {
17426
- return typeof footer === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mt-6 text-center text-sm text-muted-foreground", footerClassName), children: footer }) : /* @__PURE__ */ jsx("div", { className: cn("mt-6 text-center text-sm text-muted-foreground", footerClassName), children: footer });
17550
+ return typeof footer === "string" ? /* @__PURE__ */ jsx(
17551
+ "p",
17552
+ {
17553
+ className: cn(
17554
+ "mt-6 text-center text-sm text-balance",
17555
+ footerClassName
17556
+ ),
17557
+ children: footer
17558
+ }
17559
+ ) : /* @__PURE__ */ jsx(
17560
+ "div",
17561
+ {
17562
+ className: cn(
17563
+ "mt-6 text-center text-sm text-balance",
17564
+ footerClassName
17565
+ ),
17566
+ children: footer
17567
+ }
17568
+ );
17427
17569
  }
17428
17570
  return null;
17429
17571
  }, [footerSlot, footer, footerClassName]);
@@ -17437,8 +17579,26 @@ function ContactMinimal({
17437
17579
  className: cn("py-12", className),
17438
17580
  children: /* @__PURE__ */ jsxs("div", { className: cn("mx-auto w-full max-w-md px-4", containerClassName), children: [
17439
17581
  /* @__PURE__ */ jsxs("div", { className: cn("mb-10 text-center", headerClassName), children: [
17440
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsx("h2", { className: cn("mb-3 text-3xl font-bold tracking-tight", headingClassName), children: heading }) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
17441
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("leading-relaxed text-muted-foreground", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
17582
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
17583
+ "h2",
17584
+ {
17585
+ className: cn(
17586
+ "mb-3 text-3xl font-bold tracking-tight",
17587
+ headingClassName
17588
+ ),
17589
+ children: heading
17590
+ }
17591
+ ) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
17592
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx(
17593
+ "p",
17594
+ {
17595
+ className: cn(
17596
+ "leading-relaxed text-muted-foreground",
17597
+ descriptionClassName
17598
+ ),
17599
+ children: description
17600
+ }
17601
+ ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
17442
17602
  ] }),
17443
17603
  /* @__PURE__ */ jsxs(
17444
17604
  Form,
@@ -17590,12 +17750,28 @@ function ContactMoving({
17590
17750
  if (actionsSlot) return actionsSlot;
17591
17751
  if (actions && actions.length > 0) {
17592
17752
  return actions.map((action, index) => {
17593
- const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
17594
- return /* @__PURE__ */ jsx(Pressable, { asButton: true, className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
17595
- icon,
17753
+ const {
17596
17754
  label,
17597
- iconAfter
17598
- ] }) }, index);
17755
+ icon,
17756
+ iconAfter,
17757
+ children,
17758
+ className: actionClassName,
17759
+ ...pressableProps
17760
+ } = action;
17761
+ return /* @__PURE__ */ jsx(
17762
+ Pressable,
17763
+ {
17764
+ asButton: true,
17765
+ className: actionClassName,
17766
+ ...pressableProps,
17767
+ children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
17768
+ icon,
17769
+ label,
17770
+ iconAfter
17771
+ ] })
17772
+ },
17773
+ index
17774
+ );
17599
17775
  });
17600
17776
  }
17601
17777
  return null;
@@ -17610,8 +17786,26 @@ function ContactMoving({
17610
17786
  className: cn("py-12", className),
17611
17787
  children: /* @__PURE__ */ jsxs("div", { className: cn("mx-auto max-w-4xl px-4", containerClassName), children: [
17612
17788
  /* @__PURE__ */ jsxs("div", { className: cn("mb-10 text-center", headerClassName), children: [
17613
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsx("h2", { className: cn("mb-3 text-3xl font-bold tracking-tight", headingClassName), children: heading }) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
17614
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("leading-relaxed text-muted-foreground", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
17789
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
17790
+ "h2",
17791
+ {
17792
+ className: cn(
17793
+ "mb-3 text-3xl font-bold tracking-tight text-balance",
17794
+ headingClassName
17795
+ ),
17796
+ children: heading
17797
+ }
17798
+ ) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
17799
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx(
17800
+ "p",
17801
+ {
17802
+ className: cn(
17803
+ "leading-relaxed text-balance",
17804
+ descriptionClassName
17805
+ ),
17806
+ children: description
17807
+ }
17808
+ ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
17615
17809
  ] }),
17616
17810
  /* @__PURE__ */ jsx(Card, { className: cn("mx-auto max-w-xl", cardClassName), children: /* @__PURE__ */ jsx(CardContent, { className: cn("p-6 lg:p-8", cardContentClassName), children: /* @__PURE__ */ jsxs(
17617
17811
  Form,
@@ -17791,12 +17985,28 @@ function ContactMultistep({
17791
17985
  if (actionsSlot) return actionsSlot;
17792
17986
  if (actions && actions.length > 0) {
17793
17987
  return actions.map((action, index) => {
17794
- const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
17795
- return /* @__PURE__ */ jsx(Pressable, { asButton: true, className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
17796
- icon,
17988
+ const {
17797
17989
  label,
17798
- iconAfter
17799
- ] }) }, index);
17990
+ icon,
17991
+ iconAfter,
17992
+ children,
17993
+ className: actionClassName,
17994
+ ...pressableProps
17995
+ } = action;
17996
+ return /* @__PURE__ */ jsx(
17997
+ Pressable,
17998
+ {
17999
+ asButton: true,
18000
+ className: actionClassName,
18001
+ ...pressableProps,
18002
+ children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
18003
+ icon,
18004
+ label,
18005
+ iconAfter
18006
+ ] })
18007
+ },
18008
+ index
18009
+ );
17800
18010
  });
17801
18011
  }
17802
18012
  return null;
@@ -17811,8 +18021,26 @@ function ContactMultistep({
17811
18021
  className: cn("py-12", className),
17812
18022
  children: /* @__PURE__ */ jsxs("div", { className: cn("mx-auto max-w-4xl px-4", containerClassName), children: [
17813
18023
  /* @__PURE__ */ jsxs("div", { className: cn("mb-10 text-center", headerClassName), children: [
17814
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsx("h2", { className: cn("mb-3 text-3xl font-bold tracking-tight", headingClassName), children: heading }) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
17815
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("leading-relaxed text-muted-foreground", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
18024
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
18025
+ "h2",
18026
+ {
18027
+ className: cn(
18028
+ "mb-3 text-3xl font-bold tracking-tight",
18029
+ headingClassName
18030
+ ),
18031
+ children: heading
18032
+ }
18033
+ ) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
18034
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx(
18035
+ "p",
18036
+ {
18037
+ className: cn(
18038
+ "leading-relaxed text-balance",
18039
+ descriptionClassName
18040
+ ),
18041
+ children: description
18042
+ }
18043
+ ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
17816
18044
  ] }),
17817
18045
  /* @__PURE__ */ jsx(Card, { className: cn("mx-auto max-w-xl", cardClassName), children: /* @__PURE__ */ jsx(CardContent, { className: cn("p-6 lg:p-8", cardContentClassName), children: /* @__PURE__ */ jsxs(
17818
18046
  Form,
@@ -17992,12 +18220,28 @@ function ContactPartnership({
17992
18220
  if (actionsSlot) return actionsSlot;
17993
18221
  if (actions && actions.length > 0) {
17994
18222
  return actions.map((action, index) => {
17995
- const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
17996
- return /* @__PURE__ */ jsx(Pressable, { asButton: true, className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
17997
- icon,
18223
+ const {
17998
18224
  label,
17999
- iconAfter
18000
- ] }) }, index);
18225
+ icon,
18226
+ iconAfter,
18227
+ children,
18228
+ className: actionClassName,
18229
+ ...pressableProps
18230
+ } = action;
18231
+ return /* @__PURE__ */ jsx(
18232
+ Pressable,
18233
+ {
18234
+ asButton: true,
18235
+ className: actionClassName,
18236
+ ...pressableProps,
18237
+ children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
18238
+ icon,
18239
+ label,
18240
+ iconAfter
18241
+ ] })
18242
+ },
18243
+ index
18244
+ );
18001
18245
  });
18002
18246
  }
18003
18247
  return null;
@@ -18012,8 +18256,26 @@ function ContactPartnership({
18012
18256
  className: cn("py-12", className),
18013
18257
  children: /* @__PURE__ */ jsxs("div", { className: cn("mx-auto max-w-4xl px-4", containerClassName), children: [
18014
18258
  /* @__PURE__ */ jsxs("div", { className: cn("mb-10 text-center", headerClassName), children: [
18015
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsx("h2", { className: cn("mb-3 text-3xl font-bold tracking-tight", headingClassName), children: heading }) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
18016
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("leading-relaxed text-muted-foreground", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
18259
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
18260
+ "h2",
18261
+ {
18262
+ className: cn(
18263
+ "mb-3 text-3xl font-bold tracking-tight text-balance",
18264
+ headingClassName
18265
+ ),
18266
+ children: heading
18267
+ }
18268
+ ) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
18269
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx(
18270
+ "p",
18271
+ {
18272
+ className: cn(
18273
+ "leading-relaxed text-balance",
18274
+ descriptionClassName
18275
+ ),
18276
+ children: description
18277
+ }
18278
+ ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
18017
18279
  ] }),
18018
18280
  /* @__PURE__ */ jsx(Card, { className: cn("mx-auto max-w-xl", cardClassName), children: /* @__PURE__ */ jsx(CardContent, { className: cn("p-6 lg:p-8", cardContentClassName), children: /* @__PURE__ */ jsxs(
18019
18281
  Form,