@windrun-huaiin/third-ui 5.9.7 → 5.10.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.
@@ -1,19 +1,33 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React, { ReactNode } from 'react';
3
3
 
4
- declare function Gallery(): react_jsx_runtime.JSX.Element;
4
+ declare function Gallery({ sectionClassName }: {
5
+ sectionClassName?: string;
6
+ }): react_jsx_runtime.JSX.Element;
5
7
 
6
- declare function Usage(): react_jsx_runtime.JSX.Element;
8
+ declare function Usage({ sectionClassName }: {
9
+ sectionClassName?: string;
10
+ }): react_jsx_runtime.JSX.Element;
7
11
 
8
- declare function Features(): react_jsx_runtime.JSX.Element;
12
+ declare function Features({ sectionClassName }: {
13
+ sectionClassName?: string;
14
+ }): react_jsx_runtime.JSX.Element;
9
15
 
10
- declare function Tips(): react_jsx_runtime.JSX.Element;
16
+ declare function Tips({ sectionClassName }: {
17
+ sectionClassName?: string;
18
+ }): react_jsx_runtime.JSX.Element;
11
19
 
12
- declare function FAQ(): react_jsx_runtime.JSX.Element;
20
+ declare function FAQ({ sectionClassName }: {
21
+ sectionClassName?: string;
22
+ }): react_jsx_runtime.JSX.Element;
13
23
 
14
- declare function SeoContent(): react_jsx_runtime.JSX.Element;
24
+ declare function SeoContent({ sectionClassName }: {
25
+ sectionClassName?: string;
26
+ }): react_jsx_runtime.JSX.Element;
15
27
 
16
- declare function CTA(): react_jsx_runtime.JSX.Element;
28
+ declare function CTA({ sectionClassName }: {
29
+ sectionClassName?: string;
30
+ }): react_jsx_runtime.JSX.Element;
17
31
 
18
32
  declare function Footer(): react_jsx_runtime.JSX.Element;
19
33
 
@@ -26,6 +40,7 @@ declare function NProgressBar(): null;
26
40
  interface PricePlanProps {
27
41
  currency?: string;
28
42
  pricePlanConfig: PricePlanAppConfig;
43
+ sectionClassName?: string;
29
44
  }
30
45
  interface BillingOption {
31
46
  key: string;
@@ -39,7 +54,7 @@ interface PricePlanAppConfig {
39
54
  prices: Prices;
40
55
  minPlanFeaturesCount: number;
41
56
  }
42
- declare function PricePlan({ currency, pricePlanConfig }: PricePlanProps): react_jsx_runtime.JSX.Element;
57
+ declare function PricePlan({ currency, pricePlanConfig, sectionClassName }: PricePlanProps): react_jsx_runtime.JSX.Element;
43
58
 
44
59
  interface AdsAlertDialogProps {
45
60
  open: boolean;
@@ -85,16 +100,6 @@ interface SplitButtonProps {
85
100
  dropdownButtonClassName?: string;
86
101
  }
87
102
  type xButtonProps = SingleButtonProps | SplitButtonProps;
88
- declare const XButtonIcons: {
89
- copy: react_jsx_runtime.JSX.Element;
90
- checkCheck: react_jsx_runtime.JSX.Element;
91
- globe: react_jsx_runtime.JSX.Element;
92
- loader: react_jsx_runtime.JSX.Element;
93
- download: react_jsx_runtime.JSX.Element;
94
- upload: react_jsx_runtime.JSX.Element;
95
- share: react_jsx_runtime.JSX.Element;
96
- edit: react_jsx_runtime.JSX.Element;
97
- };
98
103
  declare function XButton(props: xButtonProps): react_jsx_runtime.JSX.Element;
99
104
 
100
- export { AdsAlertDialog, type BillingOption, CTA, FAQ, Features, Footer, Gallery, GoToTop, Loading, NProgressBar, PricePlan, type PricePlanAppConfig, type PricePlanProps, type Prices, SeoContent, Tips, Usage, XButton, XButtonIcons };
105
+ export { AdsAlertDialog, type BillingOption, CTA, FAQ, Features, Footer, Gallery, GoToTop, Loading, NProgressBar, PricePlan, type PricePlanAppConfig, type PricePlanProps, type Prices, SeoContent, Tips, Usage, XButton };
@@ -1,19 +1,33 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React, { ReactNode } from 'react';
3
3
 
4
- declare function Gallery(): react_jsx_runtime.JSX.Element;
4
+ declare function Gallery({ sectionClassName }: {
5
+ sectionClassName?: string;
6
+ }): react_jsx_runtime.JSX.Element;
5
7
 
6
- declare function Usage(): react_jsx_runtime.JSX.Element;
8
+ declare function Usage({ sectionClassName }: {
9
+ sectionClassName?: string;
10
+ }): react_jsx_runtime.JSX.Element;
7
11
 
8
- declare function Features(): react_jsx_runtime.JSX.Element;
12
+ declare function Features({ sectionClassName }: {
13
+ sectionClassName?: string;
14
+ }): react_jsx_runtime.JSX.Element;
9
15
 
10
- declare function Tips(): react_jsx_runtime.JSX.Element;
16
+ declare function Tips({ sectionClassName }: {
17
+ sectionClassName?: string;
18
+ }): react_jsx_runtime.JSX.Element;
11
19
 
12
- declare function FAQ(): react_jsx_runtime.JSX.Element;
20
+ declare function FAQ({ sectionClassName }: {
21
+ sectionClassName?: string;
22
+ }): react_jsx_runtime.JSX.Element;
13
23
 
14
- declare function SeoContent(): react_jsx_runtime.JSX.Element;
24
+ declare function SeoContent({ sectionClassName }: {
25
+ sectionClassName?: string;
26
+ }): react_jsx_runtime.JSX.Element;
15
27
 
16
- declare function CTA(): react_jsx_runtime.JSX.Element;
28
+ declare function CTA({ sectionClassName }: {
29
+ sectionClassName?: string;
30
+ }): react_jsx_runtime.JSX.Element;
17
31
 
18
32
  declare function Footer(): react_jsx_runtime.JSX.Element;
19
33
 
@@ -26,6 +40,7 @@ declare function NProgressBar(): null;
26
40
  interface PricePlanProps {
27
41
  currency?: string;
28
42
  pricePlanConfig: PricePlanAppConfig;
43
+ sectionClassName?: string;
29
44
  }
30
45
  interface BillingOption {
31
46
  key: string;
@@ -39,7 +54,7 @@ interface PricePlanAppConfig {
39
54
  prices: Prices;
40
55
  minPlanFeaturesCount: number;
41
56
  }
42
- declare function PricePlan({ currency, pricePlanConfig }: PricePlanProps): react_jsx_runtime.JSX.Element;
57
+ declare function PricePlan({ currency, pricePlanConfig, sectionClassName }: PricePlanProps): react_jsx_runtime.JSX.Element;
43
58
 
44
59
  interface AdsAlertDialogProps {
45
60
  open: boolean;
@@ -85,16 +100,6 @@ interface SplitButtonProps {
85
100
  dropdownButtonClassName?: string;
86
101
  }
87
102
  type xButtonProps = SingleButtonProps | SplitButtonProps;
88
- declare const XButtonIcons: {
89
- copy: react_jsx_runtime.JSX.Element;
90
- checkCheck: react_jsx_runtime.JSX.Element;
91
- globe: react_jsx_runtime.JSX.Element;
92
- loader: react_jsx_runtime.JSX.Element;
93
- download: react_jsx_runtime.JSX.Element;
94
- upload: react_jsx_runtime.JSX.Element;
95
- share: react_jsx_runtime.JSX.Element;
96
- edit: react_jsx_runtime.JSX.Element;
97
- };
98
103
  declare function XButton(props: xButtonProps): react_jsx_runtime.JSX.Element;
99
104
 
100
- export { AdsAlertDialog, type BillingOption, CTA, FAQ, Features, Footer, Gallery, GoToTop, Loading, NProgressBar, PricePlan, type PricePlanAppConfig, type PricePlanProps, type Prices, SeoContent, Tips, Usage, XButton, XButtonIcons };
105
+ export { AdsAlertDialog, type BillingOption, CTA, FAQ, Features, Footer, Gallery, GoToTop, Loading, NProgressBar, PricePlan, type PricePlanAppConfig, type PricePlanProps, type Prices, SeoContent, Tips, Usage, XButton };
@@ -93,8 +93,7 @@ __export(main_exports, {
93
93
  SeoContent: () => SeoContent,
94
94
  Tips: () => Tips,
95
95
  Usage: () => Usage,
96
- XButton: () => XButton,
97
- XButtonIcons: () => XButtonIcons
96
+ XButton: () => XButton
98
97
  });
99
98
  module.exports = __toCommonJS(main_exports);
100
99
 
@@ -3081,7 +3080,7 @@ function GradientButton({
3081
3080
 
3082
3081
  // src/main/gallery.tsx
3083
3082
  var import_jsx_runtime36 = require("react/jsx-runtime");
3084
- function Gallery() {
3083
+ function Gallery({ sectionClassName }) {
3085
3084
  const t = (0, import_next_intl.useTranslations)("gallery");
3086
3085
  const galleryItems = t.raw("prompts");
3087
3086
  const handleDownload = (index) => __async(null, null, function* () {
@@ -3100,7 +3099,7 @@ function Gallery() {
3100
3099
  console.error("Download failed:", error);
3101
3100
  }
3102
3101
  });
3103
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("section", { id: "gallery", className: "container mx-auto px-4 py-20", children: [
3102
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("section", { id: "gallery", className: cn("container mx-auto px-4 py-20 scroll-mt-20", sectionClassName), children: [
3104
3103
  /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("h2", { className: "text-3xl md:text-4xl font-bold text-center mb-6", children: [
3105
3104
  t("titleL"),
3106
3105
  " ",
@@ -3143,10 +3142,10 @@ function Gallery() {
3143
3142
  // src/main/usage.tsx
3144
3143
  var import_next_intl2 = require("next-intl");
3145
3144
  var import_jsx_runtime37 = require("react/jsx-runtime");
3146
- function Usage() {
3145
+ function Usage({ sectionClassName }) {
3147
3146
  const t = (0, import_next_intl2.useTranslations)("usage");
3148
3147
  const steps = t.raw("steps");
3149
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("section", { id: "usage", className: "px-16 py-10 mx-16 md:mx-32", children: [
3148
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("section", { id: "usage", className: cn("px-16 py-10 mx-16 md:mx-32 scroll-mt-20", sectionClassName), children: [
3150
3149
  /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("h2", { className: "text-3xl md:text-4xl font-bold text-center mb-4", children: [
3151
3150
  t("title"),
3152
3151
  " ",
@@ -3169,10 +3168,10 @@ function Usage() {
3169
3168
  // src/main/features.tsx
3170
3169
  var import_next_intl3 = require("next-intl");
3171
3170
  var import_jsx_runtime38 = require("react/jsx-runtime");
3172
- function Features() {
3171
+ function Features({ sectionClassName }) {
3173
3172
  const t = (0, import_next_intl3.useTranslations)("features");
3174
3173
  const featureItems = t.raw("items");
3175
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("section", { id: "features", className: "px-16 py-10 mx-16 md:mx-32", children: [
3174
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("section", { id: "features", className: cn("px-16 py-10 mx-16 md:mx-32 scroll-mt-18", sectionClassName), children: [
3176
3175
  /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("h2", { className: "text-3xl md:text-4xl font-bold text-center mb-4", children: [
3177
3176
  t("title"),
3178
3177
  " ",
@@ -3200,13 +3199,13 @@ function Features() {
3200
3199
  // src/main/tips.tsx
3201
3200
  var import_next_intl4 = require("next-intl");
3202
3201
  var import_jsx_runtime39 = require("react/jsx-runtime");
3203
- function Tips() {
3202
+ function Tips({ sectionClassName }) {
3204
3203
  const t = (0, import_next_intl4.useTranslations)("tips");
3205
3204
  const sections = t.raw("sections");
3206
3205
  const midPoint = Math.ceil(sections.length / 2);
3207
3206
  const leftColumn = sections.slice(0, midPoint);
3208
3207
  const rightColumn = sections.slice(midPoint);
3209
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("section", { id: "tips", className: "px-16 py-10 mx-16 md:mx-32", children: [
3208
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("section", { id: "tips", className: cn("px-16 py-10 mx-16 md:mx-32 scroll-mt-20", sectionClassName), children: [
3210
3209
  /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("h2", { className: "text-3xl md:text-4xl font-bold text-center mb-16", children: [
3211
3210
  t("title"),
3212
3211
  " ",
@@ -3223,7 +3222,7 @@ function Tips() {
3223
3222
  var import_react36 = require("react");
3224
3223
  var import_next_intl5 = require("next-intl");
3225
3224
  var import_jsx_runtime40 = require("react/jsx-runtime");
3226
- function FAQ() {
3225
+ function FAQ({ sectionClassName }) {
3227
3226
  const t = (0, import_next_intl5.useTranslations)("faq");
3228
3227
  const items = t.raw("items");
3229
3228
  const [openArr, setOpenArr] = (0, import_react36.useState)(() => items.map(() => false));
@@ -3234,7 +3233,7 @@ function FAQ() {
3234
3233
  return next;
3235
3234
  });
3236
3235
  };
3237
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("section", { id: "faq", className: "px-16 py-10 mx-16 md:mx-32", children: [
3236
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("section", { id: "faq", className: cn("px-16 py-10 mx-16 md:mx-32 scroll-mt-20", sectionClassName), children: [
3238
3237
  /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("h2", { className: "text-3xl md:text-4xl font-bold text-center mb-4", children: t("title") }),
3239
3238
  /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "text-center text-gray-600 dark:text-gray-400 mb-12 text-base md:text-lg mx-auto", children: t("description") }),
3240
3239
  /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "space-y-6", children: items.map((item, idx) => {
@@ -3269,9 +3268,9 @@ function FAQ() {
3269
3268
  // src/main/seo-content.tsx
3270
3269
  var import_next_intl6 = require("next-intl");
3271
3270
  var import_jsx_runtime41 = require("react/jsx-runtime");
3272
- function SeoContent() {
3271
+ function SeoContent({ sectionClassName }) {
3273
3272
  const t = (0, import_next_intl6.useTranslations)("seoContent");
3274
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("section", { id: "seo", className: "px-16 py-10 mx-16 md:mx-32", children: [
3273
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("section", { id: "seo", className: cn("px-16 py-10 mx-16 md:mx-32 scroll-mt-20", sectionClassName), children: [
3275
3274
  /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("h1", { className: "text-3xl md:text-4xl font-bold text-center mb-8", children: [
3276
3275
  t("title"),
3277
3276
  " ",
@@ -3294,9 +3293,9 @@ function SeoContent() {
3294
3293
  // src/main/cta.tsx
3295
3294
  var import_next_intl7 = require("next-intl");
3296
3295
  var import_jsx_runtime42 = require("react/jsx-runtime");
3297
- function CTA() {
3296
+ function CTA({ sectionClassName }) {
3298
3297
  const t = (0, import_next_intl7.useTranslations)("cta");
3299
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("section", { id: "cta", className: "px-16 py-20 mx-16 md:mx-32", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "\n bg-gradient-to-r from-[#f7f8fa] via-[#e0c3fc] to-[#b2fefa]\n dark:bg-gradient-to-r dark:from-[#2d0b4e] dark:via-[#6a3fa0] dark:to-[#3a185a]\n rounded-2xl p-12 text-center\n bg-[length:200%_auto] animate-cta-gradient-wave\n ", children: [
3298
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("section", { id: "cta", className: cn("px-16 py-20 mx-16 md:mx-32 scroll-mt-20", sectionClassName), children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "\n bg-gradient-to-r from-[#f7f8fa] via-[#e0c3fc] to-[#b2fefa]\n dark:bg-gradient-to-r dark:from-[#2d0b4e] dark:via-[#6a3fa0] dark:to-[#3a185a]\n rounded-2xl p-12 text-center\n bg-[length:200%_auto] animate-cta-gradient-wave\n ", children: [
3300
3299
  /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("h2", { className: "text-3xl md:text-4xl font-bold mb-6", children: [
3301
3300
  t("title"),
3302
3301
  " ",
@@ -3505,10 +3504,9 @@ function NProgressBar() {
3505
3504
  // src/main/price-plan.tsx
3506
3505
  var import_react39 = require("react");
3507
3506
  var import_next_intl9 = require("next-intl");
3508
- var import_clsx3 = __toESM(require("clsx"));
3509
3507
  var import_navigation2 = require("next/navigation");
3510
3508
  var import_jsx_runtime46 = require("react/jsx-runtime");
3511
- function PricePlan({ currency = "$", pricePlanConfig }) {
3509
+ function PricePlan({ currency = "$", pricePlanConfig, sectionClassName }) {
3512
3510
  var _a, _b;
3513
3511
  const t = (0, import_next_intl9.useTranslations)("pricePlan");
3514
3512
  const billingSwitch = t.raw("billingSwitch");
@@ -3541,7 +3539,7 @@ function PricePlan({ currency = "$", pricePlanConfig }) {
3541
3539
  if (typeof priceValue !== "number" || isNaN(priceValue)) {
3542
3540
  return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: "flex flex-col items-start w-full", children: [
3543
3541
  /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "flex items-end gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "text-4xl font-extrabold text-gray-900 dark:text-gray-100", children: priceValue }) }),
3544
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "flex items-center gap-2 min-h-[24px] mt-1", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: (0, import_clsx3.default)("text-xs text-gray-700 dark:text-gray-300 font-medium", plan.showBillingSubTitle === false && "opacity-0 select-none"), children: plan.showBillingSubTitle === false ? "" : billingSubTitle }) })
3542
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "flex items-center gap-2 min-h-[24px] mt-1", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: cn("text-xs text-gray-700 dark:text-gray-300 font-medium", plan.showBillingSubTitle === false && "opacity-0 select-none"), children: plan.showBillingSubTitle === false ? "" : billingSubTitle }) })
3545
3543
  ] });
3546
3544
  }
3547
3545
  const originValue = Number(priceValue);
@@ -3571,7 +3569,7 @@ function PricePlan({ currency = "$", pricePlanConfig }) {
3571
3569
  ] }),
3572
3570
  discountText && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "px-2 py-0.5 text-xs rounded bg-yellow-100 text-yellow-800 dark:bg-yellow-900 dark:text-yellow-200 font-semibold align-middle", children: discountText })
3573
3571
  ] }),
3574
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: (0, import_clsx3.default)("text-xs text-gray-700 dark:text-gray-300 font-medium", plan.showBillingSubTitle === false && "opacity-0 select-none"), children: plan.showBillingSubTitle === false ? "" : billingSubTitle })
3572
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: cn("text-xs text-gray-700 dark:text-gray-300 font-medium", plan.showBillingSubTitle === false && "opacity-0 select-none"), children: plan.showBillingSubTitle === false ? "" : billingSubTitle })
3575
3573
  ] })
3576
3574
  ] });
3577
3575
  }
@@ -3596,7 +3594,7 @@ function PricePlan({ currency = "$", pricePlanConfig }) {
3596
3594
  };
3597
3595
  return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { style, children: content });
3598
3596
  };
3599
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("section", { id: "pricing", className: "px-4 py-10 md:px-16 md:py-16 mx-auto max-w-7xl", children: [
3597
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("section", { id: "pricing", className: cn("px-4 py-10 md:px-16 md:py-16 mx-auto max-w-7xl scroll-mt-10", sectionClassName), children: [
3600
3598
  /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("h2", { className: "text-3xl md:text-4xl font-bold text-center mb-3", children: t("title") }),
3601
3599
  /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("p", { className: "text-center text-gray-600 dark:text-gray-400 mb-8 text-base md:text-lg mx-auto", children: t("subtitle") }),
3602
3600
  /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: "flex justify-center items-center gap-8 mb-12", children: [
@@ -3604,7 +3602,7 @@ function PricePlan({ currency = "$", pricePlanConfig }) {
3604
3602
  /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
3605
3603
  "button",
3606
3604
  {
3607
- className: (0, import_clsx3.default)(
3605
+ className: cn(
3608
3606
  "min-w-[120px] px-6 py-2 rounded-full font-medium border transition text-lg",
3609
3607
  billingKey === "monthly" ? "text-white bg-gradient-to-r from-purple-400 to-pink-500 hover:from-purple-500 hover:to-pink-600 dark:from-purple-500 dark:to-pink-600 dark:hover:from-purple-600" : "bg-white dark:bg-gray-900 border-gray-300 dark:border-gray-700 text-gray-800 dark:text-gray-200 hover:border-purple-400",
3610
3608
  "mr-4"
@@ -3618,7 +3616,7 @@ function PricePlan({ currency = "$", pricePlanConfig }) {
3618
3616
  const opt = billingSwitch.options.find((opt2) => opt2.key === "monthly");
3619
3617
  const bOpt = billingOptions.find((opt2) => opt2.key === "monthly");
3620
3618
  if (!(opt && bOpt && opt.discountText && bOpt.discount !== 0)) return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "min-w-[80px] px-2 py-1 text-xs rounded invisible" });
3621
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: (0, import_clsx3.default)(
3619
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: cn(
3622
3620
  "min-w-[80px] px-2 py-1 text-xs rounded bg-yellow-100 text-yellow-800 font-semibold align-middle text-center inline-flex items-center justify-center whitespace-nowrap",
3623
3621
  billingKey !== "monthly" && "invisible"
3624
3622
  ), children: opt.discountText.replace(
@@ -3631,7 +3629,7 @@ function PricePlan({ currency = "$", pricePlanConfig }) {
3631
3629
  /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
3632
3630
  "button",
3633
3631
  {
3634
- className: (0, import_clsx3.default)(
3632
+ className: cn(
3635
3633
  "min-w-[120px] px-6 py-2 rounded-full font-medium border transition text-lg",
3636
3634
  billingKey === "yearly" ? "text-white bg-gradient-to-r from-purple-400 to-pink-500 hover:from-purple-500 hover:to-pink-600 dark:from-purple-500 dark:to-pink-600 dark:hover:from-purple-600" : "bg-white dark:bg-gray-900 border-gray-300 dark:border-gray-700 text-gray-800 dark:text-gray-200 hover:border-purple-400",
3637
3635
  "ml-4"
@@ -3645,7 +3643,7 @@ function PricePlan({ currency = "$", pricePlanConfig }) {
3645
3643
  const opt = billingSwitch.options.find((opt2) => opt2.key === "yearly");
3646
3644
  const bOpt = billingOptions.find((opt2) => opt2.key === "yearly");
3647
3645
  if (!(opt && bOpt && opt.discountText && bOpt.discount !== 0)) return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "min-w-[80px] px-2 py-1 text-xs rounded invisible" });
3648
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: (0, import_clsx3.default)(
3646
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: cn(
3649
3647
  "min-w-[80px] px-2 py-1 text-xs rounded bg-yellow-100 text-yellow-800 font-semibold align-middle text-center inline-flex items-center justify-center whitespace-nowrap",
3650
3648
  billingKey !== "yearly" && "invisible"
3651
3649
  ), children: opt.discountText.replace(
@@ -3660,7 +3658,7 @@ function PricePlan({ currency = "$", pricePlanConfig }) {
3660
3658
  return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
3661
3659
  "div",
3662
3660
  {
3663
- className: (0, import_clsx3.default)(
3661
+ className: cn(
3664
3662
  "flex flex-col bg-white dark:bg-gray-800/60 rounded-2xl border border-gray-300 dark:border-[#7c3aed40] transition p-8 h-full shadow-sm dark:shadow-none",
3665
3663
  "hover:border-2 hover:border-purple-500",
3666
3664
  "focus-within:border-2 focus-within:border-purple-500"
@@ -3702,7 +3700,7 @@ function PricePlan({ currency = "$", pricePlanConfig }) {
3702
3700
  /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
3703
3701
  "button",
3704
3702
  {
3705
- className: (0, import_clsx3.default)(
3703
+ className: cn(
3706
3704
  "w-full py-2 mt-auto text-white text-base font-bold shadow-lg hover:shadow-xl transition-all duration-300 rounded-full",
3707
3705
  ((_a2 = plan.button) == null ? void 0 : _a2.disabled) ? "bg-gray-400 cursor-not-allowed" : "bg-gradient-to-r from-purple-400 to-pink-500 hover:from-purple-500 hover:to-pink-600 dark:from-purple-500 dark:to-pink-600 dark:hover:from-purple-600 dark:hover:to-pink-700"
3708
3706
  ),
@@ -6080,16 +6078,6 @@ function AdsAlertDialog({
6080
6078
  // src/main/x-button.tsx
6081
6079
  var import_react42 = require("react");
6082
6080
  var import_jsx_runtime56 = require("react/jsx-runtime");
6083
- var XButtonIcons = {
6084
- copy: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(globalLucideIcons.Copy, { className: "w-5 h-5 mr-1" }),
6085
- checkCheck: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(globalLucideIcons.CheckCheck, { className: "w-5 h-5 mr-1" }),
6086
- globe: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(globalLucideIcons.Languages, { className: "w-5 h-5 mr-1" }),
6087
- loader: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(globalLucideIcons.Loader2, { className: "w-5 h-5 mr-1 animate-spin" }),
6088
- download: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(globalLucideIcons.Download, { className: "w-5 h-5 mr-1" }),
6089
- upload: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(globalLucideIcons.ImageUp, { className: "w-5 h-5 mr-1" }),
6090
- share: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(globalLucideIcons.Share, { className: "w-5 h-5 mr-1" }),
6091
- edit: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(globalLucideIcons.Pencil, { className: "w-5 h-5 mr-1" })
6092
- };
6093
6081
  function XButton(props) {
6094
6082
  var _a, _b;
6095
6083
  const [isLoading, setIsLoading] = (0, import_react42.useState)(false);
@@ -6230,8 +6218,7 @@ function XButton(props) {
6230
6218
  SeoContent,
6231
6219
  Tips,
6232
6220
  Usage,
6233
- XButton,
6234
- XButtonIcons
6221
+ XButton
6235
6222
  });
6236
6223
  /*! Bundled license information:
6237
6224