@dodopayments/ui 1.1.0 → 1.2.1
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/ai/component-registry.json +51 -8
- package/ai/components/auth-card.md +3 -1
- package/ai/components/radio-group.md +65 -0
- package/ai/components/sidebar.md +1 -1
- package/ai/components/test-mode-banner.md +7 -3
- package/ai/components/toast.md +12 -1
- package/dist/components/auth-card/auth-card.d.ts +10 -2
- package/dist/components/auth-card/auth-card.d.ts.map +1 -1
- package/dist/components/auth-card/auth-card.js +8 -2
- package/dist/components/auth-card/auth-card.js.map +1 -1
- package/dist/components/radio-group/radio-group.d.ts +30 -2
- package/dist/components/radio-group/radio-group.d.ts.map +1 -1
- package/dist/components/radio-group/radio-group.js +6 -1
- package/dist/components/radio-group/radio-group.js.map +1 -1
- package/dist/components/sidebar/sidebar.d.ts +3 -3
- package/dist/components/sidebar/sidebar.d.ts.map +1 -1
- package/dist/components/sidebar/sidebar.js +32 -10
- package/dist/components/sidebar/sidebar.js.map +1 -1
- package/dist/components/test-mode-banner/test-mode-banner.d.ts +6 -2
- package/dist/components/test-mode-banner/test-mode-banner.d.ts.map +1 -1
- package/dist/components/test-mode-banner/test-mode-banner.js +7 -4
- package/dist/components/test-mode-banner/test-mode-banner.js.map +1 -1
- package/dist/components/toast/toast.d.ts +10 -0
- package/dist/components/toast/toast.d.ts.map +1 -1
- package/dist/components/toast/toast.js +7 -0
- package/dist/components/toast/toast.js.map +1 -1
- package/dist/icons/index.d.ts +3 -0
- package/dist/icons/index.js +3 -0
- package/dist/icons/ui/fingerprint.d.ts +3 -0
- package/dist/icons/ui/fingerprint.js +5 -0
- package/dist/icons/ui/flask.d.ts +3 -0
- package/dist/icons/ui/flask.js +5 -0
- package/dist/icons/ui/money-bills.d.ts +3 -0
- package/dist/icons/ui/money-bills.js +5 -0
- package/dist/primitives/ui/sheet.d.ts.map +1 -1
- package/dist/primitives/ui/sheet.js +2 -3
- package/dist/primitives/ui/sheet.js.map +1 -1
- package/dist/primitives/ui/sidebar.js +6 -6
- package/dist/primitives/ui/sidebar.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://dodo-ui.dev/schema/component-registry.json",
|
|
3
3
|
"name": "@dodopayments/ui",
|
|
4
|
-
"version": "1.1
|
|
4
|
+
"version": "1.2.1",
|
|
5
5
|
"components": [
|
|
6
6
|
{
|
|
7
7
|
"slug": "alert",
|
|
@@ -17555,6 +17555,13 @@
|
|
|
17555
17555
|
"description": "Card only: why the option cannot be picked, e.g. \"Not available for subscriptions\". Setting it disables the\noption; the reason shows under the description and is announced with it.",
|
|
17556
17556
|
"source": "dodo"
|
|
17557
17557
|
},
|
|
17558
|
+
{
|
|
17559
|
+
"name": "icon",
|
|
17560
|
+
"type": "ReactNode",
|
|
17561
|
+
"required": false,
|
|
17562
|
+
"description": "Card only: a tile (e.g. a `FeaturedIcon`) on a row above the text, with the radio at the row's end. Decorative.",
|
|
17563
|
+
"source": "dodo"
|
|
17564
|
+
},
|
|
17558
17565
|
{
|
|
17559
17566
|
"name": "label",
|
|
17560
17567
|
"type": "ReactNode",
|
|
@@ -17569,6 +17576,13 @@
|
|
|
17569
17576
|
"description": "Card only: a logo before the text, e.g. a `PaymentLogo` for a payment method. Decorative: the label names\nthe option.",
|
|
17570
17577
|
"source": "dodo"
|
|
17571
17578
|
},
|
|
17579
|
+
{
|
|
17580
|
+
"name": "media",
|
|
17581
|
+
"type": "ReactNode",
|
|
17582
|
+
"required": false,
|
|
17583
|
+
"description": "Card only: a full-bleed preview well (160 tall) above the text, e.g. a sketch of the screen the choice leads\nto. The radio moves after the title. Decorative: the label names the option.",
|
|
17584
|
+
"source": "dodo"
|
|
17585
|
+
},
|
|
17572
17586
|
{
|
|
17573
17587
|
"name": "note",
|
|
17574
17588
|
"type": "ReactNode",
|
|
@@ -17685,6 +17699,10 @@
|
|
|
17685
17699
|
{
|
|
17686
17700
|
"name": "radio-group/refund-type",
|
|
17687
17701
|
"code": "\"use client\";\n\nimport { Button } from \"@dodopayments/ui/button\";\nimport { Field } from \"@dodopayments/ui/field\";\nimport { Input } from \"@dodopayments/ui/input\";\nimport { Radio, RadioGroup } from \"@dodopayments/ui/radio-group\";\nimport { useEffect, useState } from \"react\";\n\nconst PAID = 4900;\nconst usd = new Intl.NumberFormat(\"en-US\", { style: \"currency\", currency: \"USD\" });\n\nexport default function RadioGroupRefundType() {\n const [type, setType] = useState(\"full\");\n const [amount, setAmount] = useState<number | null>(null);\n const [loading, setLoading] = useState(false);\n const [refunded, setRefunded] = useState<number | null>(null);\n\n useEffect(() => {\n if (!loading) return;\n const timer = setTimeout(() => {\n setLoading(false);\n setRefunded(type === \"full\" ? PAID : amount);\n }, 1200);\n return () => clearTimeout(timer);\n }, [loading, type, amount]);\n\n const refund = type === \"full\" ? PAID : amount;\n const valid = refund !== null && refund > 0 && refund <= PAID;\n\n return (\n <div className=\"flex w-full max-w-xl flex-col gap-4\">\n <RadioGroup\n aria-label=\"Refund type\"\n value={type}\n onValueChange={(value) => {\n setType(value);\n setRefunded(null);\n }}\n className=\"grid gap-4 sm:grid-cols-2\"\n >\n <Radio\n variant=\"card\"\n value=\"full\"\n label=\"Full refund\"\n description={`Refund all ${usd.format(PAID / 100)}`}\n className=\"w-full\"\n />\n <Radio\n variant=\"card\"\n value=\"partial\"\n label=\"Partial refund\"\n description=\"Refund part of the amount\"\n className=\"w-full\"\n />\n </RadioGroup>\n {type === \"partial\" ? (\n <Field label=\"Refund amount\">\n <Input\n type=\"money\"\n currency=\"USD\"\n value={amount}\n onValueChange={(value) => {\n setAmount(value);\n setRefunded(null);\n }}\n min={1}\n max={PAID}\n maxLabel=\"Max refundable\"\n />\n </Field>\n ) : null}\n <div className=\"flex flex-wrap items-center gap-3\">\n <Button\n loading={loading}\n loadingText=\"Refunding…\"\n disabled={!valid || refunded !== null}\n onClick={() => setLoading(true)}\n >\n {valid ? `Refund ${usd.format(refund / 100)}` : \"Refund\"}\n </Button>\n <p role=\"status\" className=\"text-body-secondary text-muted-foreground\">\n {refunded !== null ? `${usd.format(refunded / 100)} refunded to Visa •••• 4242.` : \"\"}\n </p>\n </div>\n </div>\n );\n}"
|
|
17702
|
+
},
|
|
17703
|
+
{
|
|
17704
|
+
"name": "radio-group/setup-path",
|
|
17705
|
+
"code": "\"use client\";\n\nimport { FeaturedIcon } from \"@dodopayments/ui/featured-icon\";\nimport { FlaskIcon, MoneyBillsIcon } from \"@dodopayments/ui/icons\";\nimport { Radio, RadioGroup } from \"@dodopayments/ui/radio-group\";\n\nexport default function RadioGroupSetupPath() {\n return (\n <div className=\"flex flex-col gap-6\">\n <RadioGroup aria-label=\"Setup path\" defaultValue=\"ai\" className=\"grid gap-4 sm:grid-cols-2\">\n <Radio\n variant=\"card\"\n value=\"ai\"\n className=\"w-full\"\n label=\"Set up with an AI tool\"\n description=\"Jump straight into your codebase and integrate.\"\n media={<span className=\"h-28 w-56 rounded-t-lg bg-background shadow-md\" />}\n >\n <ul className=\"list-disc ps-5\">\n <li>Best if you want to start building now</li>\n <li>Use Cursor, Claude Code and other agents</li>\n </ul>\n </Radio>\n <Radio\n variant=\"card\"\n value=\"dashboard\"\n className=\"w-full\"\n label=\"Set up in the dashboard\"\n description=\"Create products in the dashboard, then integrate.\"\n media={<span className=\"h-28 w-56 rounded-t-lg bg-background shadow-md\" />}\n >\n <ul className=\"list-disc ps-5\">\n <li>Best if you want to explore Dodo first</li>\n <li>We walk you through each step</li>\n </ul>\n </Radio>\n </RadioGroup>\n <RadioGroup aria-label=\"Mode\" defaultValue=\"test\" className=\"grid gap-4 sm:grid-cols-2\">\n <Radio\n variant=\"card\"\n value=\"test\"\n className=\"w-full\"\n label=\"I'm still building\"\n description=\"Test payments without real money.\"\n icon={<FeaturedIcon icon={<FlaskIcon />} />}\n />\n <Radio\n variant=\"card\"\n value=\"live\"\n className=\"w-full\"\n label=\"I'm ready to collect payments\"\n description=\"Accept real payments from customers.\"\n icon={<FeaturedIcon icon={<MoneyBillsIcon />} />}\n />\n </RadioGroup>\n </div>\n );\n}"
|
|
17688
17706
|
}
|
|
17689
17707
|
],
|
|
17690
17708
|
"docsUrl": "/components/radio-group"
|
|
@@ -18914,7 +18932,7 @@
|
|
|
18914
18932
|
},
|
|
18915
18933
|
{
|
|
18916
18934
|
"name": "SidebarMenuCollapsibleContent",
|
|
18917
|
-
"description": "The animated panel (primitive `CollapsiblePanel
|
|
18935
|
+
"description": "The animated panel (primitive `CollapsiblePanel`, grown on grid rows) holding the sub-menu. Unmounts when closed unless `keepMounted`.\nOn the desktop icon rail it is a small Popover beside the icon instead: the trigger's `tooltip` as its title, the\nsub-menu in the white panel.",
|
|
18918
18936
|
"props": [
|
|
18919
18937
|
{
|
|
18920
18938
|
"name": "className",
|
|
@@ -20687,7 +20705,7 @@
|
|
|
20687
20705
|
},
|
|
20688
20706
|
{
|
|
20689
20707
|
"name": "tone",
|
|
20690
|
-
"type": "\"info\" | \"success\" | \"error\" | \"loading\"",
|
|
20708
|
+
"type": "\"info\" | \"success\" | \"warning\" | \"error\" | \"loading\"",
|
|
20691
20709
|
"required": false,
|
|
20692
20710
|
"default": "\"info\"",
|
|
20693
20711
|
"description": "The tone: tray tint, Featured icon (the Spinner while loading) and footer colour.",
|
|
@@ -20710,6 +20728,10 @@
|
|
|
20710
20728
|
"signature": "toast.error(message: React.ReactNode, options?: ToastOptions): string",
|
|
20711
20729
|
"description": "Shows an error toast (high priority by default) and returns its id."
|
|
20712
20730
|
},
|
|
20731
|
+
{
|
|
20732
|
+
"signature": "toast.warning(message: React.ReactNode, options?: ToastOptions): string",
|
|
20733
|
+
"description": "Shows a warning toast and returns its id."
|
|
20734
|
+
},
|
|
20713
20735
|
{
|
|
20714
20736
|
"signature": "toast.info(message: React.ReactNode, options?: ToastOptions): string",
|
|
20715
20737
|
"description": "Shows an info toast and returns its id."
|
|
@@ -20861,7 +20883,7 @@
|
|
|
20861
20883
|
},
|
|
20862
20884
|
{
|
|
20863
20885
|
"name": "toast/types",
|
|
20864
|
-
"code": "\"use client\";\n\nimport { Button } from \"@dodopayments/ui/button\";\nimport { toast } from \"@dodopayments/ui/toast\";\n\nexport default function ToastTypes() {\n return (\n <div className=\"flex flex-wrap justify-center gap-3\">\n <Button\n variant=\"secondary\"\n onClick={() =>\n toast.error(\"Couldn't load product\", {\n description: \"The product was deleted or you no longer have access.\",\n })\n }\n >\n Error\n </Button>\n <Button\n variant=\"secondary\"\n onClick={() => toast.success(\"Changes saved\", { description: \"Your product is now live.\" })}\n >\n Success\n </Button>\n <Button\n variant=\"secondary\"\n onClick={() =>\n toast.info(\"Test mode is on\", { description: \"Payments you make now use test data.\" })\n }\n >\n Info\n </Button>\n </div>\n );\n}"
|
|
20886
|
+
"code": "\"use client\";\n\nimport { Button } from \"@dodopayments/ui/button\";\nimport { toast } from \"@dodopayments/ui/toast\";\n\nexport default function ToastTypes() {\n return (\n <div className=\"flex flex-wrap justify-center gap-3\">\n <Button\n variant=\"secondary\"\n onClick={() =>\n toast.error(\"Couldn't load product\", {\n description: \"The product was deleted or you no longer have access.\",\n })\n }\n >\n Error\n </Button>\n <Button\n variant=\"secondary\"\n onClick={() => toast.success(\"Changes saved\", { description: \"Your product is now live.\" })}\n >\n Success\n </Button>\n <Button\n variant=\"secondary\"\n onClick={() =>\n toast.warning(\"Live mode not activated\", {\n description: \"Finish verification to accept real payments.\",\n })\n }\n >\n Warning\n </Button>\n <Button\n variant=\"secondary\"\n onClick={() =>\n toast.info(\"Test mode is on\", { description: \"Payments you make now use test data.\" })\n }\n >\n Info\n </Button>\n </div>\n );\n}"
|
|
20865
20887
|
}
|
|
20866
20888
|
],
|
|
20867
20889
|
"docsUrl": "/components/toast"
|
|
@@ -21112,7 +21134,7 @@
|
|
|
21112
21134
|
"title": "Test Mode Banner",
|
|
21113
21135
|
"category": "Feedback",
|
|
21114
21136
|
"status": "stable",
|
|
21115
|
-
"description": "Warning strip that stays at the top of the dashboard while test mode is on, so nobody mistakes\ntest data for live data. It is the app shell's own strip (not an Alert): a centred 12px (Body/Secondary)\nmessage on a dark strip (`bg-test-banner`: Grey 900, Grey 800 in dark mode), sticky by\ndefault, with an optional underlined \"Switch to live mode\" link button. It slides in from above on mount. Pair it with\n`TestModeBadge` next to test-mode records.",
|
|
21137
|
+
"description": "Warning strip that stays at the top of the dashboard while test mode is on, so nobody mistakes\ntest data for live data. It is the app shell's own strip (not an Alert): a centred 12px (Body/Secondary)\nmessage on a dark strip (`bg-test-banner`: Grey 900, Grey 800 in dark mode), sticky by\ndefault, with an optional underlined \"Switch to live mode\" link button and a \"Learn more\" link. It slides in from above on mount. Pair it with\n`TestModeBadge` next to test-mode records.",
|
|
21116
21138
|
"importPath": "@dodopayments/ui/test-mode-banner",
|
|
21117
21139
|
"exports": [
|
|
21118
21140
|
"TestModeBadge",
|
|
@@ -21124,7 +21146,7 @@
|
|
|
21124
21146
|
"parts": [
|
|
21125
21147
|
{
|
|
21126
21148
|
"name": "TestModeBanner",
|
|
21127
|
-
"description": "Warning strip that stays at the top of the dashboard while test mode is on, so nobody mistakes\ntest data for live data. It is the app shell's own strip (not an Alert): a centred 12px (Body/Secondary)\nmessage on a dark strip (`bg-test-banner`: Grey 900, Grey 800 in dark mode), sticky by\ndefault, with an optional underlined \"Switch to live mode\" link button. It slides in from above on mount. Pair it with\n`TestModeBadge` next to test-mode records.",
|
|
21149
|
+
"description": "Warning strip that stays at the top of the dashboard while test mode is on, so nobody mistakes\ntest data for live data. It is the app shell's own strip (not an Alert): a centred 12px (Body/Secondary)\nmessage on a dark strip (`bg-test-banner`: Grey 900, Grey 800 in dark mode), sticky by\ndefault, with an optional underlined \"Switch to live mode\" link button and a \"Learn more\" link. It slides in from above on mount. Pair it with\n`TestModeBadge` next to test-mode records.",
|
|
21128
21150
|
"props": [
|
|
21129
21151
|
{
|
|
21130
21152
|
"name": "labels",
|
|
@@ -21133,6 +21155,13 @@
|
|
|
21133
21155
|
"description": "English strings; pass translations here.",
|
|
21134
21156
|
"source": "dodo"
|
|
21135
21157
|
},
|
|
21158
|
+
{
|
|
21159
|
+
"name": "learnMoreHref",
|
|
21160
|
+
"type": "string",
|
|
21161
|
+
"required": false,
|
|
21162
|
+
"description": "Shows a \"Learn more\" link to this page (e.g. test vs live mode docs), opened in a new tab.",
|
|
21163
|
+
"source": "dodo"
|
|
21164
|
+
},
|
|
21136
21165
|
{
|
|
21137
21166
|
"name": "onSwitchToLive",
|
|
21138
21167
|
"type": "(() => void)",
|
|
@@ -21224,7 +21253,7 @@
|
|
|
21224
21253
|
"examples": [
|
|
21225
21254
|
{
|
|
21226
21255
|
"name": "test-mode-banner/basic",
|
|
21227
|
-
"code": "\"use client\";\n\nimport { TestModeBadge, TestModeBanner } from \"@dodopayments/ui/test-mode-banner\";\n\nexport default function TestModeBannerBasic() {\n return (\n <div className=\"w-full overflow-hidden rounded-xl border\">\n <TestModeBanner
|
|
21256
|
+
"code": "\"use client\";\n\nimport { TestModeBadge, TestModeBanner } from \"@dodopayments/ui/test-mode-banner\";\n\nexport default function TestModeBannerBasic() {\n return (\n <div className=\"w-full overflow-hidden rounded-xl border\">\n <TestModeBanner\n onSwitchToLive={() => undefined}\n learnMoreHref=\"https://docs.dodopayments.com/miscellaneous/test-mode-vs-live-mode\"\n />\n <div className=\"flex items-center gap-2 p-4 text-sm\">\n <span className=\"font-medium\">pay_2IjeQm4hqU6RA4Z4kwDee</span>\n <TestModeBadge />\n </div>\n </div>\n );\n}"
|
|
21228
21257
|
}
|
|
21229
21258
|
],
|
|
21230
21259
|
"docsUrl": "/components/test-mode-banner"
|
|
@@ -28076,6 +28105,13 @@
|
|
|
28076
28105
|
"description": "Heading of the email and password steps, e.g. \"Sign in to Dodo Payments\".",
|
|
28077
28106
|
"source": "dodo"
|
|
28078
28107
|
},
|
|
28108
|
+
{
|
|
28109
|
+
"name": "actions",
|
|
28110
|
+
"type": "readonly AuthCardProviderOption[]",
|
|
28111
|
+
"required": false,
|
|
28112
|
+
"description": "More ways to sign in as secondary buttons at the end of the email and password steps, after\n\"Log in with OTP\", e.g. `{ id: \"passkey\", label: \"Sign in with passkey\", icon: <KeyIcon /> }`.\nThe `id` is passed to `onActionSelect` and matched against `lastUsedProvider`.",
|
|
28113
|
+
"source": "dodo"
|
|
28114
|
+
},
|
|
28079
28115
|
{
|
|
28080
28116
|
"name": "backLabel",
|
|
28081
28117
|
"type": "ReactNode",
|
|
@@ -28195,7 +28231,7 @@
|
|
|
28195
28231
|
"name": "lastUsedProvider",
|
|
28196
28232
|
"type": "string",
|
|
28197
28233
|
"required": false,
|
|
28198
|
-
"description": "How this person signed in last time: a provider's `id`, `\"password\"` or `\"otp\"`. That button gets a small\n\"Last used\" chip on its top edge (the password chip shows on \"Continue with password\" and on the password\nstep's submit button).",
|
|
28234
|
+
"description": "How this person signed in last time: a provider's or an action's `id`, `\"password\"` or `\"otp\"`. That button gets a small\n\"Last used\" chip on its top edge (the password chip shows on \"Continue with password\" and on the password\nstep's submit button).",
|
|
28199
28235
|
"source": "dodo"
|
|
28200
28236
|
},
|
|
28201
28237
|
{
|
|
@@ -28220,6 +28256,13 @@
|
|
|
28220
28256
|
"description": "Logo or avatar above the title, e.g. the Dodo `Logo variant=\"mark\"` or the merchant's `Avatar`.",
|
|
28221
28257
|
"source": "dodo"
|
|
28222
28258
|
},
|
|
28259
|
+
{
|
|
28260
|
+
"name": "onActionSelect",
|
|
28261
|
+
"type": "((action: string) => unknown)",
|
|
28262
|
+
"required": false,
|
|
28263
|
+
"description": "Called with an action's `id` when its button is pressed. Return a promise to show it loading.",
|
|
28264
|
+
"source": "dodo"
|
|
28265
|
+
},
|
|
28223
28266
|
{
|
|
28224
28267
|
"name": "onBack",
|
|
28225
28268
|
"type": "(() => void)",
|
|
@@ -31,6 +31,7 @@ labelled by the heading.
|
|
|
31
31
|
| Prop | Type | Default | Description |
|
|
32
32
|
| --- | --- | --- | --- |
|
|
33
33
|
| `title` (required) | `ReactNode` | - | Heading of the email and password steps, e.g. "Sign in to Dodo Payments". |
|
|
34
|
+
| `actions` | `readonly AuthCardProviderOption[]` | - | More ways to sign in as secondary buttons at the end of the email and password steps, after "Log in with OTP", e.g. `{ id: "passkey", label: "Sign in with passkey", icon: <KeyIcon /> }`. The `id` is passed to `onActionSelect` and matched against `lastUsedProvider`. |
|
|
34
35
|
| `backLabel` | `ReactNode` | `"Use a different email"` | Label of the back button. |
|
|
35
36
|
| `codeDescription` | `ReactNode` | `"Enter the {codeLength}-digit code we sent to {email}."` | Text under the heading of the code step. |
|
|
36
37
|
| `codeLabel` | `string` | `"Verification code"` | Accessible name of the code field (it has no visible label). |
|
|
@@ -46,10 +47,11 @@ labelled by the heading.
|
|
|
46
47
|
| `footer` | `ReactNode` | - | Content at the bottom of the card on every step, e.g. "Need help? Contact support". |
|
|
47
48
|
| `forgotPassword` | `ReactNode` | - | Link at the end of the password label row, e.g. `<Link href="/forgot-password">Forgot password</Link>`. |
|
|
48
49
|
| `lastUsedLabel` | `ReactNode` | `"Last used"` | Text of the "Last used" chip. |
|
|
49
|
-
| `lastUsedProvider` | `string` | - | How this person signed in last time: a provider's `id`, `"password"` or `"otp"`. That button gets a small "Last used" chip on its top edge (the password chip shows on "Continue with password" and on the password step's submit button). |
|
|
50
|
+
| `lastUsedProvider` | `string` | - | How this person signed in last time: a provider's or an action's `id`, `"password"` or `"otp"`. That button gets a small "Last used" chip on its top edge (the password chip shows on "Continue with password" and on the password step's submit button). |
|
|
50
51
|
| `legal` | `ReactNode` | - | Terms and privacy note under the email and password forms. |
|
|
51
52
|
| `loading` | `boolean` | `false` | Shows the current step's main action as loading when you track the request yourself instead of returning a promise. |
|
|
52
53
|
| `logo` | `ReactNode` | - | Logo or avatar above the title, e.g. the Dodo `Logo variant="mark"` or the merchant's `Avatar`. |
|
|
54
|
+
| `onActionSelect` | `((action: string) => unknown)` | - | Called with an action's `id` when its button is pressed. Return a promise to show it loading. |
|
|
53
55
|
| `onBack` | `(() => void)` | - | Returns to the email step. Shows a back button on the code and sent steps. |
|
|
54
56
|
| `onCodeSubmit` | `((code: string) => unknown)` | - | Called with the code as soon as every slot is filled, and when "Verify" is pressed. Return a promise to show a loading button; when it rejects the code is cleared for another try. |
|
|
55
57
|
| `onEmailChange` | `((email: string) => void)` | - | Called with the new value on every keystroke in the email field. |
|
|
@@ -44,8 +44,10 @@ selected when it mounts does not animate.
|
|
|
44
44
|
| `content` | `ReactNode` | - | Card only: content that opens under the card while the option is selected, e.g. the card form of the "Card" method. It mounts only while selected, outside the clickable label, so it can hold inputs and buttons. Needs the option inside a `RadioGroup`. |
|
|
45
45
|
| `description` | `ReactNode` | - | Helper text under the label, announced as the radio's description. |
|
|
46
46
|
| `disabledReason` | `ReactNode` | - | Card only: why the option cannot be picked, e.g. "Not available for subscriptions". Setting it disables the option; the reason shows under the description and is announced with it. |
|
|
47
|
+
| `icon` | `ReactNode` | - | Card only: a tile (e.g. a `FeaturedIcon`) on a row above the text, with the radio at the row's end. Decorative. |
|
|
47
48
|
| `label` | `ReactNode` | - | The option's text. With it, the radio is wrapped in a `<label>`, so clicking the text selects it. |
|
|
48
49
|
| `logo` | `ReactNode` | - | Card only: a logo before the text, e.g. a `PaymentLogo` for a payment method. Decorative: the label names the option. |
|
|
50
|
+
| `media` | `ReactNode` | - | Card only: a full-bleed preview well (160 tall) above the text, e.g. a sketch of the screen the choice leads to. The radio moves after the title. Decorative: the label names the option. |
|
|
49
51
|
| `note` | `ReactNode` | - | Card only: a fee or discount line under the description (Body/Secondary, Content/Primary), e.g. "+2% fee". |
|
|
50
52
|
| `size` | `"default" \| "lg"` | `"default"` | `default`: 18px circle (16px from `sm`), the default.<br>`lg`: 20px circle with an 8px dot for prominent choices such as plans or payout methods. |
|
|
51
53
|
| `variant` | `"default" \| "card"` | `"default"` | `default`: A 16px radio, with an optional label and description beside it. For lists of options.<br>`card`: A card with a 12px radio before its title and a description. Needs a `label`. For choices that each need a short explanation, such as pricing type. |
|
|
@@ -335,3 +337,66 @@ export default function RadioGroupRefundType() {
|
|
|
335
337
|
}
|
|
336
338
|
```
|
|
337
339
|
|
|
340
|
+
### radio-group/setup-path
|
|
341
|
+
|
|
342
|
+
```tsx
|
|
343
|
+
"use client";
|
|
344
|
+
|
|
345
|
+
import { FeaturedIcon } from "@dodopayments/ui/featured-icon";
|
|
346
|
+
import { FlaskIcon, MoneyBillsIcon } from "@dodopayments/ui/icons";
|
|
347
|
+
import { Radio, RadioGroup } from "@dodopayments/ui/radio-group";
|
|
348
|
+
|
|
349
|
+
export default function RadioGroupSetupPath() {
|
|
350
|
+
return (
|
|
351
|
+
<div className="flex flex-col gap-6">
|
|
352
|
+
<RadioGroup aria-label="Setup path" defaultValue="ai" className="grid gap-4 sm:grid-cols-2">
|
|
353
|
+
<Radio
|
|
354
|
+
variant="card"
|
|
355
|
+
value="ai"
|
|
356
|
+
className="w-full"
|
|
357
|
+
label="Set up with an AI tool"
|
|
358
|
+
description="Jump straight into your codebase and integrate."
|
|
359
|
+
media={<span className="h-28 w-56 rounded-t-lg bg-background shadow-md" />}
|
|
360
|
+
>
|
|
361
|
+
<ul className="list-disc ps-5">
|
|
362
|
+
<li>Best if you want to start building now</li>
|
|
363
|
+
<li>Use Cursor, Claude Code and other agents</li>
|
|
364
|
+
</ul>
|
|
365
|
+
</Radio>
|
|
366
|
+
<Radio
|
|
367
|
+
variant="card"
|
|
368
|
+
value="dashboard"
|
|
369
|
+
className="w-full"
|
|
370
|
+
label="Set up in the dashboard"
|
|
371
|
+
description="Create products in the dashboard, then integrate."
|
|
372
|
+
media={<span className="h-28 w-56 rounded-t-lg bg-background shadow-md" />}
|
|
373
|
+
>
|
|
374
|
+
<ul className="list-disc ps-5">
|
|
375
|
+
<li>Best if you want to explore Dodo first</li>
|
|
376
|
+
<li>We walk you through each step</li>
|
|
377
|
+
</ul>
|
|
378
|
+
</Radio>
|
|
379
|
+
</RadioGroup>
|
|
380
|
+
<RadioGroup aria-label="Mode" defaultValue="test" className="grid gap-4 sm:grid-cols-2">
|
|
381
|
+
<Radio
|
|
382
|
+
variant="card"
|
|
383
|
+
value="test"
|
|
384
|
+
className="w-full"
|
|
385
|
+
label="I'm still building"
|
|
386
|
+
description="Test payments without real money."
|
|
387
|
+
icon={<FeaturedIcon icon={<FlaskIcon />} />}
|
|
388
|
+
/>
|
|
389
|
+
<Radio
|
|
390
|
+
variant="card"
|
|
391
|
+
value="live"
|
|
392
|
+
className="w-full"
|
|
393
|
+
label="I'm ready to collect payments"
|
|
394
|
+
description="Accept real payments from customers."
|
|
395
|
+
icon={<FeaturedIcon icon={<MoneyBillsIcon />} />}
|
|
396
|
+
/>
|
|
397
|
+
</RadioGroup>
|
|
398
|
+
</div>
|
|
399
|
+
);
|
|
400
|
+
}
|
|
401
|
+
```
|
|
402
|
+
|
package/ai/components/sidebar.md
CHANGED
|
@@ -94,7 +94,7 @@ Also accepts Base UI props: `defaultOpen`, `disabled`, `onOpenChange`, `open`.
|
|
|
94
94
|
|
|
95
95
|
## SidebarMenuCollapsibleContent
|
|
96
96
|
|
|
97
|
-
The animated panel (primitive `CollapsiblePanel
|
|
97
|
+
The animated panel (primitive `CollapsiblePanel`, grown on grid rows) holding the sub-menu. Unmounts when closed unless `keepMounted`.
|
|
98
98
|
On the desktop icon rail it is a small Popover beside the icon instead: the trigger's `tooltip` as its title, the
|
|
99
99
|
sub-menu in the white panel.
|
|
100
100
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Warning strip that stays at the top of the dashboard while test mode is on, so nobody mistakes
|
|
4
4
|
test data for live data. It is the app shell's own strip (not an Alert): a centred 12px (Body/Secondary)
|
|
5
5
|
message on a dark strip (`bg-test-banner`: Grey 900, Grey 800 in dark mode), sticky by
|
|
6
|
-
default, with an optional underlined "Switch to live mode" link button. It slides in from above on mount. Pair it with
|
|
6
|
+
default, with an optional underlined "Switch to live mode" link button and a "Learn more" link. It slides in from above on mount. Pair it with
|
|
7
7
|
`TestModeBadge` next to test-mode records.
|
|
8
8
|
|
|
9
9
|
```tsx
|
|
@@ -15,12 +15,13 @@ import { TestModeBanner, TestModeBadge } from "@dodopayments/ui/test-mode-banner
|
|
|
15
15
|
Warning strip that stays at the top of the dashboard while test mode is on, so nobody mistakes
|
|
16
16
|
test data for live data. It is the app shell's own strip (not an Alert): a centred 12px (Body/Secondary)
|
|
17
17
|
message on a dark strip (`bg-test-banner`: Grey 900, Grey 800 in dark mode), sticky by
|
|
18
|
-
default, with an optional underlined "Switch to live mode" link button. It slides in from above on mount. Pair it with
|
|
18
|
+
default, with an optional underlined "Switch to live mode" link button and a "Learn more" link. It slides in from above on mount. Pair it with
|
|
19
19
|
`TestModeBadge` next to test-mode records.
|
|
20
20
|
|
|
21
21
|
| Prop | Type | Default | Description |
|
|
22
22
|
| --- | --- | --- | --- |
|
|
23
23
|
| `labels` | `Partial<TestModeBannerLabels>` | - | English strings; pass translations here. |
|
|
24
|
+
| `learnMoreHref` | `string` | - | Shows a "Learn more" link to this page (e.g. test vs live mode docs), opened in a new tab. |
|
|
24
25
|
| `onSwitchToLive` | `(() => void)` | - | Shows a "Switch to live mode" button that calls this. Omit it when the user cannot switch. |
|
|
25
26
|
| `sticky` | `boolean` | `true` | Stick to the top of the scroll container. |
|
|
26
27
|
|
|
@@ -54,7 +55,10 @@ import { TestModeBadge, TestModeBanner } from "@dodopayments/ui/test-mode-banner
|
|
|
54
55
|
export default function TestModeBannerBasic() {
|
|
55
56
|
return (
|
|
56
57
|
<div className="w-full overflow-hidden rounded-xl border">
|
|
57
|
-
<TestModeBanner
|
|
58
|
+
<TestModeBanner
|
|
59
|
+
onSwitchToLive={() => undefined}
|
|
60
|
+
learnMoreHref="https://docs.dodopayments.com/miscellaneous/test-mode-vs-live-mode"
|
|
61
|
+
/>
|
|
58
62
|
<div className="flex items-center gap-2 p-4 text-sm">
|
|
59
63
|
<span className="font-medium">pay_2IjeQm4hqU6RA4Z4kwDee</span>
|
|
60
64
|
<TestModeBadge />
|
package/ai/components/toast.md
CHANGED
|
@@ -44,7 +44,7 @@ real toasts with `toast.success()` and the other helpers. The close button and D
|
|
|
44
44
|
| `dismissLabel` | `string` | `"Dismiss"` | Label of the Dismiss button in the actions row. |
|
|
45
45
|
| `footer` | `ReactNode` | - | Footer text on the tray under the panel, in the tone colour. |
|
|
46
46
|
| `onDismiss` | `(() => void)` | - | Called by the close button and Dismiss. Without it the toast shows no close button. |
|
|
47
|
-
| `tone` | `"info" \| "success" \| "error" \| "loading"` | `"info"` | The tone: tray tint, Featured icon (the Spinner while loading) and footer colour. |
|
|
47
|
+
| `tone` | `"info" \| "success" \| "warning" \| "error" \| "loading"` | `"info"` | The tone: tray tint, Featured icon (the Spinner while loading) and footer colour. |
|
|
48
48
|
|
|
49
49
|
## toast
|
|
50
50
|
|
|
@@ -55,6 +55,7 @@ Queue a toast from anywhere (event handlers, mutations, plain functions). Requir
|
|
|
55
55
|
| --- | --- |
|
|
56
56
|
| `toast.success(message: React.ReactNode, options?: ToastOptions): string` | Shows a success toast and returns its id. |
|
|
57
57
|
| `toast.error(message: React.ReactNode, options?: ToastOptions): string` | Shows an error toast (high priority by default) and returns its id. |
|
|
58
|
+
| `toast.warning(message: React.ReactNode, options?: ToastOptions): string` | Shows a warning toast and returns its id. |
|
|
58
59
|
| `toast.info(message: React.ReactNode, options?: ToastOptions): string` | Shows an info toast and returns its id. |
|
|
59
60
|
| `toast.loading(message: React.ReactNode, options?: ToastOptions): string` | Shows a toast with a spinner that stays until updated (same `id`) or dismissed. Returns its id. |
|
|
60
61
|
| `toast.promise<T>(promise: Promise<T>, messages: ToastPromiseMessages<T>): Promise<T>` | Shows a loading toast that turns into a success or error toast when `promise` settles. Returns a promise that resolves with the value or rejects with the error, so handle it. |
|
|
@@ -258,6 +259,16 @@ export default function ToastTypes() {
|
|
|
258
259
|
>
|
|
259
260
|
Success
|
|
260
261
|
</Button>
|
|
262
|
+
<Button
|
|
263
|
+
variant="secondary"
|
|
264
|
+
onClick={() =>
|
|
265
|
+
toast.warning("Live mode not activated", {
|
|
266
|
+
description: "Finish verification to accept real payments.",
|
|
267
|
+
})
|
|
268
|
+
}
|
|
269
|
+
>
|
|
270
|
+
Warning
|
|
271
|
+
</Button>
|
|
261
272
|
<Button
|
|
262
273
|
variant="secondary"
|
|
263
274
|
onClick={() =>
|
|
@@ -120,7 +120,15 @@ export interface AuthCardProps extends Omit<CardRootProps, "title" | "variant" |
|
|
|
120
120
|
/** Called with a provider's `id` when its button is pressed. Return a promise to show it loading. */
|
|
121
121
|
onProviderSelect?: (provider: string) => unknown;
|
|
122
122
|
/**
|
|
123
|
-
*
|
|
123
|
+
* More ways to sign in as secondary buttons at the end of the email and password steps, after
|
|
124
|
+
* "Log in with OTP", e.g. `{ id: "passkey", label: "Sign in with passkey", icon: <KeyIcon /> }`.
|
|
125
|
+
* The `id` is passed to `onActionSelect` and matched against `lastUsedProvider`.
|
|
126
|
+
*/
|
|
127
|
+
actions?: readonly AuthCardProviderOption[];
|
|
128
|
+
/** Called with an action's `id` when its button is pressed. Return a promise to show it loading. */
|
|
129
|
+
onActionSelect?: (action: string) => unknown;
|
|
130
|
+
/**
|
|
131
|
+
* How this person signed in last time: a provider's or an action's `id`, `"password"` or `"otp"`. That button gets a small
|
|
124
132
|
* "Last used" chip on its top edge (the password chip shows on "Continue with password" and on the password
|
|
125
133
|
* step's submit button).
|
|
126
134
|
*/
|
|
@@ -232,5 +240,5 @@ export interface AuthCardProps extends Omit<CardRootProps, "title" | "variant" |
|
|
|
232
240
|
* focus to the new step and shows `error` under the field it belongs to. Renders a `<section>`
|
|
233
241
|
* labelled by the heading.
|
|
234
242
|
*/
|
|
235
|
-
export declare function AuthCard({ logo, title, description, step, email, defaultEmail, onEmailChange, onEmailSubmit, emailLabel, emailPlaceholder, submitLabel, onPasswordContinue, passwordContinueLabel, otpLabel, onPasswordSubmit, passwordLabel, passwordPlaceholder, forgotPassword, passwordSubmitLabel, passwordToggleLabel, providers, providersOnPasswordStep, onProviderSelect, lastUsedProvider, lastUsedLabel, dividerLabel, children, legal, onCodeSubmit, codeLength, codeTitle, codeDescription, codeLabel, verifyLabel, sentTitle, sentDescription, onResend, resendLabel, onBack, backLabel, error, loading, onError, footer, titleAs: Title, className, ...props }: AuthCardProps): React.JSX.Element;
|
|
243
|
+
export declare function AuthCard({ logo, title, description, step, email, defaultEmail, onEmailChange, onEmailSubmit, emailLabel, emailPlaceholder, submitLabel, onPasswordContinue, passwordContinueLabel, otpLabel, onPasswordSubmit, passwordLabel, passwordPlaceholder, forgotPassword, passwordSubmitLabel, passwordToggleLabel, providers, providersOnPasswordStep, onProviderSelect, actions, onActionSelect, lastUsedProvider, lastUsedLabel, dividerLabel, children, legal, onCodeSubmit, codeLength, codeTitle, codeDescription, codeLabel, verifyLabel, sentTitle, sentDescription, onResend, resendLabel, onBack, backLabel, error, loading, onError, footer, titleAs: Title, className, ...props }: AuthCardProps): React.JSX.Element;
|
|
236
244
|
//# sourceMappingURL=auth-card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-card.d.ts","sourceRoot":"","sources":["../../../src/components/auth-card/auth-card.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,EAAqB,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAOzE;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;AAElE,wGAAwG;AACxG,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAErD,kGAAkG;AAClG,MAAM,WAAW,sBAAsB;IACrC,2EAA2E;IAC3E,EAAE,EAAE,MAAM,CAAC;IACX,mBAAmB;IACnB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,mCAAmC;IACnC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB;AAED,6DAA6D;AAC7D,MAAM,MAAM,gBAAgB,GAAG,kBAAkB,GAAG,sBAAsB,CAAC;
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H,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC9B;AAMD;;;;;;;;;;;GAWG;AACH,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,KAAK,EACL,WAAW,EACX,IAAc,EACd,KAAK,EACL,YAAiB,EACjB,aAAa,EACb,aAAa,EACb,UAA+B,EAC/B,gBAAoC,EACpC,WAAwB,EACxB,kBAAkB,EAClB,qBAAgD,EAChD,QAA4B,EAC5B,gBAAgB,EAChB,aAA0B,EAC1B,mBAA2C,EAC3C,cAAc,EACd,mBAAgC,EAChC,mBAAqC,EACrC,SAAS,EACT,uBAA+B,EAC/B,gBAAgB,EAChB,OAAO,EACP,cAAc,EACd,gBAAgB,EAChB,aAA2B,EAC3B,YAAmB,EACnB,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,UAAc,EACd,SAA8B,EAC9B,eAAe,EACf,SAA+B,EAC/B,WAAsB,EACtB,SAA8B,EAC9B,eAAe,EACf,QAAQ,EACR,WAAW,EACX,MAAM,EACN,SAAmC,EACnC,KAAK,EACL,OAAe,EACf,OAAO,EACP,MAAM,EACN,OAAO,EAAE,KAAY,EACrB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,aAAa,qBA8jBf"}
|
|
@@ -40,7 +40,7 @@ function resolveProvider(provider) {
|
|
|
40
40
|
* focus to the new step and shows `error` under the field it belongs to. Renders a `<section>`
|
|
41
41
|
* labelled by the heading.
|
|
42
42
|
*/
|
|
43
|
-
export function AuthCard({ logo, title, description, step = "email", email, defaultEmail = "", onEmailChange, onEmailSubmit, emailLabel = "Enter your email", emailPlaceholder = "you@example.com", submitLabel = "Continue", onPasswordContinue, passwordContinueLabel = "Continue with password", otpLabel = "Log in with OTP", onPasswordSubmit, passwordLabel = "Password", passwordPlaceholder = "Enter your password", forgotPassword, passwordSubmitLabel = "Continue", passwordToggleLabel = "Show password", providers, providersOnPasswordStep = false, onProviderSelect, lastUsedProvider, lastUsedLabel = "Last used", dividerLabel = "Or", children, legal, onCodeSubmit, codeLength = 6, codeTitle = "Check your email", codeDescription, codeLabel = "Verification code", verifyLabel = "Verify", sentTitle = "Check your email", sentDescription, onResend, resendLabel, onBack, backLabel = "Use a different email", error, loading = false, onError, footer, titleAs: Title = "h1", className, ...props }) {
|
|
43
|
+
export function AuthCard({ logo, title, description, step = "email", email, defaultEmail = "", onEmailChange, onEmailSubmit, emailLabel = "Enter your email", emailPlaceholder = "you@example.com", submitLabel = "Continue", onPasswordContinue, passwordContinueLabel = "Continue with password", otpLabel = "Log in with OTP", onPasswordSubmit, passwordLabel = "Password", passwordPlaceholder = "Enter your password", forgotPassword, passwordSubmitLabel = "Continue", passwordToggleLabel = "Show password", providers, providersOnPasswordStep = false, onProviderSelect, actions, onActionSelect, lastUsedProvider, lastUsedLabel = "Last used", dividerLabel = "Or", children, legal, onCodeSubmit, codeLength = 6, codeTitle = "Check your email", codeDescription, codeLabel = "Verification code", verifyLabel = "Verify", sentTitle = "Check your email", sentDescription, onResend, resendLabel, onBack, backLabel = "Use a different email", error, loading = false, onError, footer, titleAs: Title = "h1", className, ...props }) {
|
|
44
44
|
const titleId = React.useId();
|
|
45
45
|
const descriptionId = React.useId();
|
|
46
46
|
const errorId = React.useId();
|
|
@@ -156,6 +156,11 @@ export function AuthCard({ logo, title, description, step = "email", email, defa
|
|
|
156
156
|
return;
|
|
157
157
|
track("resend", onResend());
|
|
158
158
|
};
|
|
159
|
+
const selectAction = (id) => {
|
|
160
|
+
if (!onActionSelect || !idle())
|
|
161
|
+
return;
|
|
162
|
+
track(`action:${id}`, onActionSelect(id));
|
|
163
|
+
};
|
|
159
164
|
const selectProvider = (id) => {
|
|
160
165
|
if (!onProviderSelect || !idle())
|
|
161
166
|
return;
|
|
@@ -190,6 +195,7 @@ export function AuthCard({ logo, title, description, step = "email", email, defa
|
|
|
190
195
|
track("email", onEmailSubmit(trimmedEmail));
|
|
191
196
|
}, children: [_jsx(EnvelopeOpenIcon, { "aria-hidden": "true" }), otpLabel] }))
|
|
192
197
|
: null;
|
|
198
|
+
const actionButtons = (actions ?? []).map((action) => (_jsx(React.Fragment, { children: withLastUsed(action.id, _jsxs(Button, { "data-slot": "auth-card-action", "data-action": action.id, type: "button", variant: "secondary", size: "lg", className: "w-full", loading: isBusy(`action:${action.id}`), disabled: busy && !isBusy(`action:${action.id}`), "aria-describedby": lastUsedProvider === action.id ? lastUsedId : undefined, onClick: () => selectAction(action.id), children: [action.icon, action.label] })) }, action.id)));
|
|
193
199
|
// Shared by the email step and, with `providersOnPasswordStep`, the password step.
|
|
194
200
|
const providersBlock = providerOptions.length > 0 ? (_jsxs(_Fragment, { children: [_jsx("div", { "data-slot": "auth-card-providers",
|
|
195
201
|
// Side by side when the card is wide enough; stacked on narrow cards.
|
|
@@ -205,7 +211,7 @@ export function AuthCard({ logo, title, description, step = "email", email, defa
|
|
|
205
211
|
? lastUsedId
|
|
206
212
|
: undefined, onClick: () => {
|
|
207
213
|
intentRef.current = withPassword ? "password-continue" : "email";
|
|
208
|
-
}, children: withPassword ? passwordContinueLabel : submitLabel })), otpButton] })] })] })) : step === "password" ? (_jsxs(_Fragment, { children: [providersOnPasswordStep ? providersBlock : null, _jsxs(Form, { "data-slot": "auth-card-password-form", onFormSubmit: submitPassword, children: [emailField, _jsxs(Field, { name: "password", children: [_jsxs("div", { "data-slot": "auth-card-password-label-row", className: "flex w-full items-center justify-between gap-3", children: [_jsx(FieldLabel, { children: passwordLabel }), hasContent(forgotPassword) ? (_jsx("div", { "data-slot": "auth-card-forgot-password", className: "text-body-secondary", children: forgotPassword })) : null] }), _jsx(FieldControl, { ref: passwordRef, type: passwordShown ? "text" : "password", required: true, autoComplete: "current-password", spellCheck: false, placeholder: passwordPlaceholder, value: password, readOnly: busy, copyable: false, "aria-invalid": hasError || undefined, onChange: (event) => setPassword(event.currentTarget.value), trailingIcon: _jsx(Button, { "data-slot": "auth-card-password-toggle", type: "button", variant: "ghost", size: "icon-xs", "aria-label": passwordToggleLabel, "aria-pressed": passwordShown, onClick: () => setPasswordShown((shown) => !shown), children: passwordShown ? (_jsx(EyeSlashIcon, { "aria-hidden": "true" })) : (_jsx(EyeIcon, { "aria-hidden": "true" })) }) }), _jsx(FieldError, { match: hasError || undefined, children: hasError ? error : undefined })] }), children, _jsxs("div", { "data-slot": "auth-card-buttons", className: buttonsClassName, children: [withLastUsed("password", _jsx(Button, { "data-slot": "auth-card-password-submit", type: "submit", size: "lg", className: "w-full", loading: isBusy("password"), disabled: busy && !isBusy("password"), "aria-describedby": lastUsedProvider === "password" ? lastUsedId : undefined, children: passwordSubmitLabel })), otpButton] })] })] })) : step === "code" ? (_jsxs(_Fragment, { children: [_jsxs("form", { "data-slot": "auth-card-code-form", className: "flex flex-col items-center gap-4", onSubmit: (event) => {
|
|
214
|
+
}, children: withPassword ? passwordContinueLabel : submitLabel })), otpButton, actionButtons] })] })] })) : step === "password" ? (_jsxs(_Fragment, { children: [providersOnPasswordStep ? providersBlock : null, _jsxs(Form, { "data-slot": "auth-card-password-form", onFormSubmit: submitPassword, children: [emailField, _jsxs(Field, { name: "password", children: [_jsxs("div", { "data-slot": "auth-card-password-label-row", className: "flex w-full items-center justify-between gap-3", children: [_jsx(FieldLabel, { children: passwordLabel }), hasContent(forgotPassword) ? (_jsx("div", { "data-slot": "auth-card-forgot-password", className: "text-body-secondary", children: forgotPassword })) : null] }), _jsx(FieldControl, { ref: passwordRef, type: passwordShown ? "text" : "password", required: true, autoComplete: "current-password", spellCheck: false, placeholder: passwordPlaceholder, value: password, readOnly: busy, copyable: false, "aria-invalid": hasError || undefined, onChange: (event) => setPassword(event.currentTarget.value), trailingIcon: _jsx(Button, { "data-slot": "auth-card-password-toggle", type: "button", variant: "ghost", size: "icon-xs", "aria-label": passwordToggleLabel, "aria-pressed": passwordShown, onClick: () => setPasswordShown((shown) => !shown), children: passwordShown ? (_jsx(EyeSlashIcon, { "aria-hidden": "true" })) : (_jsx(EyeIcon, { "aria-hidden": "true" })) }) }), _jsx(FieldError, { match: hasError || undefined, children: hasError ? error : undefined })] }), children, _jsxs("div", { "data-slot": "auth-card-buttons", className: buttonsClassName, children: [withLastUsed("password", _jsx(Button, { "data-slot": "auth-card-password-submit", type: "submit", size: "lg", className: "w-full", loading: isBusy("password"), disabled: busy && !isBusy("password"), "aria-describedby": lastUsedProvider === "password" ? lastUsedId : undefined, children: passwordSubmitLabel })), otpButton, actionButtons] })] })] })) : step === "code" ? (_jsxs(_Fragment, { children: [_jsxs("form", { "data-slot": "auth-card-code-form", className: "flex flex-col items-center gap-4", onSubmit: (event) => {
|
|
209
215
|
event.preventDefault();
|
|
210
216
|
submitCode(code);
|
|
211
217
|
}, children: [_jsx(Label, { htmlFor: codeId, className: "sr-only", children: codeLabel }), _jsx(OtpField, { id: codeId, length: codeLengthValue, value: code, onValueChange: (value) => setCode(value), onValueComplete: (value) => submitCode(value), invalid: hasError, readOnly: busy, "aria-describedby": [hasText ? descriptionId : null, hasError ? errorId : null]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-card.js","sourceRoot":"","sources":["../../../src/components/auth-card/auth-card.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAyB,CAAC;AACpD,0GAA0G;AAC1G,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA+B,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAsB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,WAAW,EAAsB,MAAM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AAI,EAAC,IAAI,EACT,SAAS,EAAC,QAAQ,EAClB,QAAQ,EAAE,IAAI,EACd,OAAO,EAAE,MAAM,YAEd,SAAS,GACH,CACV,CAAC,CAAC,CAAC,IAAI,EACP,YAAY,CAAC,CAAC,CAAC,CACd,2BAAe,mBAAmB,EAAC,SAAS,EAAC,qBAAqB,YAC/D,YAAY,GACT,CACP,CAAC,CAAC,CAAC,IAAI,IACP,CACJ,EACA,UAAU,IAAI,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CACjC,2BACY,iBAAiB;4BAC3B,yDAAyD;4BACzD,SAAS,EAAC,4DAA4D,YAErE,KAAK,GACF,CACP,CAAC,CAAC,CAAC,IAAI,KAtMH,IAAI,CAuML,EACL,SAAS,CAAC,CAAC,CAAC,CACX,2BACY,kBAAkB;oBAC5B,mEAAmE;oBACnE,SAAS,EAAC,0EAA0E,YAEnF,MAAM,GACH,CACP,CAAC,CAAC,CAAC,IAAI,IACI,GACT,CACR,CAAC;AACJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"auth-card.js","sourceRoot":"","sources":["../../../src/components/auth-card/auth-card.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAyB,CAAC;AACpD,0GAA0G;AAC1G,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA+B,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAsB,CAAC;AAC9C,OAAO,EAAE,IAAI,E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AY,GACT,CACP,CAAC,CAAC,CAAC,IAAI,IACP,CACJ,EACA,UAAU,IAAI,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CACjC,2BACY,iBAAiB;4BAC3B,yDAAyD;4BACzD,SAAS,EAAC,4DAA4D,YAErE,KAAK,GACF,CACP,CAAC,CAAC,CAAC,IAAI,KAxMH,IAAI,CAyML,EACL,SAAS,CAAC,CAAC,CAAC,CACX,2BACY,kBAAkB;oBAC5B,mEAAmE;oBACnE,SAAS,EAAC,0EAA0E,YAEnF,MAAM,GACH,CACP,CAAC,CAAC,CAAC,IAAI,IACI,GACT,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -79,6 +79,33 @@ export type RadioGroupProps<Value = unknown> = Omit<BaseRadioGroup.Props<Value>,
|
|
|
79
79
|
* (arrow keys, Space) switches the dot instantly.
|
|
80
80
|
*/
|
|
81
81
|
export declare function RadioGroup<Value = unknown>({ className, value, defaultValue, onValueChange, ...props }: RadioGroupProps<Value>): React.JSX.Element;
|
|
82
|
+
/**
|
|
83
|
+
* A tall card leads with `media` or an `icon`, never both, and has no `content` or `logo`. Its children go under
|
|
84
|
+
* the description; other radios take none, so nothing passed is silently dropped.
|
|
85
|
+
*/
|
|
86
|
+
type RadioTallCardProps = {
|
|
87
|
+
/**
|
|
88
|
+
* Card only: a full-bleed preview well (160 tall) above the text, e.g. a sketch of the screen the choice leads
|
|
89
|
+
* to. The radio moves after the title. Decorative: the label names the option.
|
|
90
|
+
*/
|
|
91
|
+
media: React.ReactNode;
|
|
92
|
+
icon?: never;
|
|
93
|
+
/** With `media` or `icon`: more under the description, e.g. a short list of what the choice suits. */
|
|
94
|
+
children?: React.ReactNode;
|
|
95
|
+
content?: never;
|
|
96
|
+
logo?: never;
|
|
97
|
+
} | {
|
|
98
|
+
/** Card only: a tile (e.g. a `FeaturedIcon`) on a row above the text, with the radio at the row's end. Decorative. */
|
|
99
|
+
icon: React.ReactNode;
|
|
100
|
+
media?: never;
|
|
101
|
+
children?: React.ReactNode;
|
|
102
|
+
content?: never;
|
|
103
|
+
logo?: never;
|
|
104
|
+
} | {
|
|
105
|
+
media?: never;
|
|
106
|
+
icon?: never;
|
|
107
|
+
children?: never;
|
|
108
|
+
};
|
|
82
109
|
export type RadioProps<Value = unknown> = Omit<BaseRadio.Root.Props<Value>, "className" | "children" | "content"> & VariantSelection<typeof DODO_RADIO_VARIANTS> & {
|
|
83
110
|
/**
|
|
84
111
|
* Styles the radio. With a `label`, a `description` or `variant="card"`, it styles the option's wrapper instead:
|
|
@@ -107,7 +134,7 @@ export type RadioProps<Value = unknown> = Omit<BaseRadio.Root.Props<Value>, "cla
|
|
|
107
134
|
* the option inside a `RadioGroup`.
|
|
108
135
|
*/
|
|
109
136
|
content?: React.ReactNode;
|
|
110
|
-
};
|
|
137
|
+
} & RadioTallCardProps;
|
|
111
138
|
/**
|
|
112
139
|
* One option in a `RadioGroup`, identified by `value`. Renders the `Radio` primitive: a `<span role="radio">` plus a
|
|
113
140
|
* hidden `<input>`. On its own it is the bare radio: label it by wrapping it and its text in a `<label>`. With `label`
|
|
@@ -115,5 +142,6 @@ export type RadioProps<Value = unknown> = Omit<BaseRadio.Root.Props<Value>, "cla
|
|
|
115
142
|
* `variant="card"` makes that a card with the radio before the title. It presses in while held; an option that is
|
|
116
143
|
* selected when it mounts does not animate.
|
|
117
144
|
*/
|
|
118
|
-
export declare function Radio<Value = unknown>({ className, size, variant, label, description, logo, note, disabledReason, content, disabled, ...props }: RadioProps<Value>): React.JSX.Element;
|
|
145
|
+
export declare function Radio<Value = unknown>({ className, size, variant, label, description, logo, note, disabledReason, content, media, icon, children, disabled, ...props }: RadioProps<Value>): React.JSX.Element;
|
|
146
|
+
export {};
|
|
119
147
|
//# sourceMappingURL=radio-group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-group.d.ts","sourceRoot":"","sources":["../../../src/components/radio-group/radio-group.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA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