@ory/elements-react 0.0.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.
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/theme/default/global.css"],"sourcesContent":["/*\n! tailwindcss v3.4.7 | MIT License | https://tailwindcss.com\n*//*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: currentColor; /* 2 */\n}\n\n::before,\n::after {\n --tw-content: '';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured `sans` font-family by default.\n5. Use the user's configured `sans` font-feature-settings by default.\n6. Use the user's configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\n\nhtml,\n:host {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: \"Inter var\", sans-serif; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n -webkit-tap-highlight-color: transparent; /* 7 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\n\nbody {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user's configured `mono` font-family by default.\n2. Use the user's configured `mono` font-feature-settings by default.\n3. Use the user's configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace; /* 1 */\n font-feature-settings: normal; /* 2 */\n font-variation-settings: normal; /* 3 */\n font-size: 1em; /* 4 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n letter-spacing: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\nbutton,\ninput:where([type='button']),\ninput:where([type='reset']),\ninput:where([type='submit']) {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n:-moz-focusring {\n outline: auto;\n}\n\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n[type='search'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nlegend {\n padding: 0;\n}\n\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nReset default styling for dialogs.\n*/\ndialog {\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\ntextarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\n\ninput::-moz-placeholder, textarea::-moz-placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n:disabled {\n cursor: default;\n}\n\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden] {\n display: none;\n}\n\n*, ::before, ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n\n::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n.container {\n width: 100%;\n}\n@media (min-width: 640px) {\n\n .container {\n max-width: 640px;\n }\n}\n@media (min-width: 768px) {\n\n .container {\n max-width: 768px;\n }\n}\n@media (min-width: 1024px) {\n\n .container {\n max-width: 1024px;\n }\n}\n@media (min-width: 1280px) {\n\n .container {\n max-width: 1280px;\n }\n}\n@media (min-width: 1536px) {\n\n .container {\n max-width: 1536px;\n }\n}\n.pointer-events-none {\n pointer-events: none;\n}\n.absolute {\n position: absolute;\n}\n.relative {\n position: relative;\n}\n.inset-0 {\n inset: 0px;\n}\n.z-10 {\n z-index: 10;\n}\n.mx-auto {\n margin-left: auto;\n margin-right: auto;\n}\n.my-auto {\n margin-top: auto;\n margin-bottom: auto;\n}\n.mt-1 {\n margin-top: 0.25rem;\n}\n.mt-\\[2px\\] {\n margin-top: 2px;\n}\n.flex {\n display: flex;\n}\n.inline-flex {\n display: inline-flex;\n}\n.grid {\n display: grid;\n}\n.hidden {\n display: none;\n}\n.h-10 {\n height: 2.5rem;\n}\n.h-4 {\n height: 1rem;\n}\n.h-5 {\n height: 1.25rem;\n}\n.h-8 {\n height: 2rem;\n}\n.w-10 {\n width: 2.5rem;\n}\n.w-11 {\n width: 2.75rem;\n}\n.w-4 {\n width: 1rem;\n}\n.w-5 {\n width: 1.25rem;\n}\n.w-8 {\n width: 2rem;\n}\n.w-full {\n width: 100%;\n}\n.w-px {\n width: 1px;\n}\n.max-w-sm {\n max-width: 24rem;\n}\n.flex-1 {\n flex: 1 1 0%;\n}\n.flex-none {\n flex: none;\n}\n.flex-grow {\n flex-grow: 1;\n}\n.transform {\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n@keyframes caret-blink {\n\n 0%,70%,100% {\n opacity: 1;\n }\n\n 20%,50% {\n opacity: 0;\n }\n}\n.animate-caret-blink {\n animation: caret-blink 1.25s ease-out infinite;\n}\n@keyframes spin {\n\n to {\n transform: rotate(360deg);\n }\n}\n.animate-spin {\n animation: spin 1s linear infinite;\n}\n.cursor-not-allowed {\n cursor: not-allowed;\n}\n.cursor-pointer {\n cursor: pointer;\n}\n.appearance-none {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.auto-cols-fr {\n grid-auto-columns: minmax(0, 1fr);\n}\n.grid-flow-col {\n grid-auto-flow: column;\n}\n.grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n}\n.grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n}\n.grid-cols-4 {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n}\n.flex-col {\n flex-direction: column;\n}\n.items-center {\n align-items: center;\n}\n.justify-center {\n justify-content: center;\n}\n.justify-between {\n justify-content: space-between;\n}\n.gap-1 {\n gap: 0.25rem;\n}\n.gap-2 {\n gap: 0.5rem;\n}\n.gap-3 {\n gap: 0.75rem;\n}\n.gap-6 {\n gap: 1.5rem;\n}\n.gap-8 {\n gap: 2rem;\n}\n.space-x-2 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-x-reverse: 0;\n margin-right: calc(0.5rem * var(--tw-space-x-reverse));\n margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));\n}\n.self-stretch {\n align-self: stretch;\n}\n.rounded {\n border-radius: 0.25rem;\n}\n.rounded-border-radius-buttons {\n border-radius: var(--border-radius-buttons, 0.25rem);\n}\n.rounded-border-radius-cards {\n border-radius: var(--border-radius-cards, 0.75rem);\n}\n.rounded-border-radius-forms {\n border-radius: var(--border-radius-forms, 0.25rem);\n}\n.rounded-full {\n border-radius: 9999px;\n}\n.border {\n border-width: 1px;\n}\n.border-y {\n border-top-width: 1px;\n border-bottom-width: 1px;\n}\n.border-r {\n border-right-width: 1px;\n}\n.border-solid {\n border-style: solid;\n}\n.border-button-identifier-border-default {\n border-color: var(--button-identifier-border-default, #e2e8f0);\n}\n.border-button-secondary-border-default {\n border-color: var(--button-secondary-border-default, #e2e8f0);\n}\n.border-dialog-border-default {\n border-color: var(--dialog-border-default, #e2e8f0);\n}\n.border-forms-border-default {\n border-color: var(--forms-border-default, #e2e8f0);\n}\n.bg-branding-bg-default {\n --tw-bg-opacity: 1;\n background-color: rgb(79 70 229 / var(--tw-bg-opacity));\n}\n.bg-button-identifier-bg-default {\n background-color: var(--button-identifier-bg-default, #ffffff);\n}\n.bg-button-primary-bg-default {\n background-color: var(--button-primary-bg-default, #1e293b);\n}\n.bg-button-primary-bg-hover {\n background-color: var(--button-primary-bg-hover, #0f172a);\n}\n.bg-button-secondary-bg-default {\n background-color: var(--button-secondary-bg-default, #ffffff);\n}\n.bg-dialog-bg-default {\n background-color: var(--dialog-bg-default, #ffffff);\n}\n.bg-forms-bg-default {\n background-color: var(--forms-bg-default, #ffffff);\n}\n.p-2 {\n padding: 0.5rem;\n}\n.px-1\\.5 {\n padding-left: 0.375rem;\n padding-right: 0.375rem;\n}\n.px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n.px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n.px-8 {\n padding-left: 2rem;\n padding-right: 2rem;\n}\n.py-1 {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n.py-12 {\n padding-top: 3rem;\n padding-bottom: 3rem;\n}\n.py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n.py-2\\.5 {\n padding-top: 0.625rem;\n padding-bottom: 0.625rem;\n}\n.py-3\\.5 {\n padding-top: 0.875rem;\n padding-bottom: 0.875rem;\n}\n.py-4\\.5 {\n padding-top: 1.125rem;\n padding-bottom: 1.125rem;\n}\n.text-left {\n text-align: left;\n}\n.text-center {\n text-align: center;\n}\n.text-lg {\n font-size: 1.125rem;\n line-height: 1.75rem;\n}\n.text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n.text-xl {\n font-size: 1.25rem;\n line-height: 1.75rem;\n}\n.text-xs {\n font-size: 0.75rem;\n line-height: 1rem;\n}\n.font-bold {\n font-weight: 700;\n}\n.font-medium {\n font-weight: 500;\n}\n.font-normal {\n font-weight: 400;\n}\n.font-semibold {\n font-weight: 600;\n}\n.capitalize {\n text-transform: capitalize;\n}\n.leading-3 {\n line-height: .75rem;\n}\n.leading-none {\n line-height: 1;\n}\n.leading-normal {\n line-height: 1.5;\n}\n.leading-tight {\n line-height: 1.25;\n}\n.text-branding-fg-default {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}\n.text-button-primary-fg-default {\n color: var(--button-primary-fg-default, #ffffff);\n}\n.text-button-primary-fg-hover {\n color: var(--button-primary-fg-hover, #ffffff);\n}\n.text-button-secondary-fg-default {\n color: var(--button-secondary-fg-default, #0f172a);\n}\n.text-dialog-fg-default {\n color: var(--dialog-fg-default, #0f172a);\n}\n.text-dialog-fg-subtle {\n color: var(--dialog-fg-subtle, #334155);\n}\n.text-forms-fg-default {\n color: var(--forms-fg-default, #0f172a);\n}\n.text-forms-fg-error {\n color: var(--forms-fg-error, #ef4444);\n}\n.text-forms-fg-subtle {\n color: var(--forms-fg-subtle, #334155);\n}\n.text-forms-fg-success {\n color: var(--forms-fg-success, #22c55e);\n}\n.text-links-link-default {\n color: var(--links-link-default, #4f46e5);\n}\n.antialiased {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.opacity-20 {\n opacity: 0.2;\n}\n.ring-2 {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n.filter {\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n.transition-all {\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-colors {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-opacity {\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.duration-100 {\n transition-duration: 100ms;\n}\n.ease-linear {\n transition-timing-function: linear;\n}\n.hover\\:border-forms-border-hover:hover {\n border-color: var(--forms-border-hover, #e2e8f0);\n}\n.hover\\:bg-button-primary-bg-hover:hover {\n background-color: var(--button-primary-bg-hover, #0f172a);\n}\n.hover\\:bg-button-secondary-bg-hover:hover {\n background-color: var(--button-secondary-bg-hover, #f8fafc);\n}\n.hover\\:text-button-primary-fg-hover:hover {\n color: var(--button-primary-fg-hover, #ffffff);\n}\n.hover\\:text-button-secondary-fg-hover:hover {\n color: var(--button-secondary-fg-hover, #334155);\n}\n.hover\\:underline:hover {\n text-decoration-line: underline;\n}\n.disabled\\:cursor-not-allowed:disabled {\n cursor: not-allowed;\n}\n.peer:checked ~ .peer-checked\\:block {\n display: block;\n}\n.has-\\[\\:disabled\\]\\:opacity-50:has(:disabled) {\n opacity: 0.5;\n}\n@media not all and (min-width: 768px) {\n\n .max-md\\:bottom-0 {\n bottom: 0px;\n }\n\n .max-md\\:left-8 {\n left: 2rem;\n }\n\n .max-md\\:hidden {\n display: none;\n }\n\n .max-md\\:translate-y-full {\n --tw-translate-y: 100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n }\n\n .max-md\\:rounded-b-md {\n border-bottom-right-radius: 0.375rem;\n border-bottom-left-radius: 0.375rem;\n }\n}\n@media (min-width: 768px) {\n\n .md\\:right-0 {\n right: 0px;\n }\n\n .md\\:top-8 {\n top: 2rem;\n }\n\n .md\\:hidden {\n display: none;\n }\n\n .md\\:h-12 {\n height: 3rem;\n }\n\n .md\\:w-14 {\n width: 3.5rem;\n }\n\n .md\\:w-\\[480px\\] {\n width: 480px;\n }\n\n .md\\:max-w-\\[480px\\] {\n max-width: 480px;\n }\n\n .md\\:translate-x-full {\n --tw-translate-x: 100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n }\n\n .md\\:rounded-r-md {\n border-top-right-radius: 0.375rem;\n border-bottom-right-radius: 0.375rem;\n }\n\n .md\\:px-12 {\n padding-left: 3rem;\n padding-right: 3rem;\n }\n\n .md\\:px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n }\n\n .md\\:py-14 {\n padding-top: 3.5rem;\n padding-bottom: 3.5rem;\n }\n\n .md\\:py-4 {\n padding-top: 1rem;\n padding-bottom: 1rem;\n }\n}\n.rtl\\:space-x-reverse:where([dir=\"rtl\"], [dir=\"rtl\"] *) > :not([hidden]) ~ :not([hidden]) {\n --tw-space-x-reverse: 1;\n}\n"],"mappings":";AAOA;AACA;AACA;AACE,cAAY;AACZ,gBAAc;AACd,gBAAc;AACd,gBAAc;AAChB;AAEA;AACA;AACE,gBAAc;AAChB;AAYA;AACA;AACE,eAAa;AACb,4BAA0B;AAC1B,iBAAe;AACf,eAAa;AACV,YAAU;AACb,eAAa,WAAW,EAAE;AAC1B,yBAAuB;AACvB,2BAAyB;AACzB,+BAA6B;AAC/B;AAOA;AACE,UAAQ;AACR,eAAa;AACf;AAQA;AACE,UAAQ;AACR,SAAO;AACP,oBAAkB;AACpB;AAMA,IAAI,OAAO,CAAC;AACV,2BAAyB,UAAU;AAC3B,mBAAiB,UAAU;AACrC;AAMA;AACA;AACA;AACA;AACA;AACA;AACE,aAAW;AACX,eAAa;AACf;AAMA;AACE,SAAO;AACP,mBAAiB;AACnB;AAMA;AACA;AACE,eAAa;AACf;AASA;AACA;AACA;AACA;AACE;AAAA,IAAa,YAAY;AAAA,IAAE,cAAc;AAAA,IAAE,KAAK;AAAA,IAAE,MAAM;AAAA,IAAE,QAAQ;AAAA,IAAE,iBAAiB;AAAA,IAAE,aAAa;AAAA,IAAE;AACtG,yBAAuB;AACvB,2BAAyB;AACzB,aAAW;AACb;AAMA;AACE,aAAW;AACb;AAMA;AACA;AACE,aAAW;AACX,eAAa;AACb,YAAU;AACV,kBAAgB;AAClB;AAEA;AACE,UAAQ;AACV;AAEA;AACE,OAAK;AACP;AAQA;AACE,eAAa;AACb,gBAAc;AACd,mBAAiB;AACnB;AAQA;AACA;AACA;AACA;AACA;AACE,eAAa;AACb,yBAAuB;AACvB,2BAAyB;AACzB,aAAW;AACX,eAAa;AACb,eAAa;AACb,kBAAgB;AAChB,SAAO;AACP,UAAQ;AACR,WAAS;AACX;AAMA;AACA;AACE,kBAAgB;AAClB;AAOA;AACA,KAAK,OAAO,CAAC;AACb,KAAK,OAAO,CAAC;AACb,KAAK,OAAO,CAAC;AACX,sBAAoB;AACpB,oBAAkB;AAClB,oBAAkB;AACpB;AAMA;AACE,WAAS;AACX;AAMA;AACE,cAAY;AACd;AAMA;AACE,kBAAgB;AAClB;AAMA;AACA;AACE,UAAQ;AACV;AAOA,CAAC;AACC,sBAAoB;AACpB,kBAAgB;AAClB;AAMA;AACE,sBAAoB;AACtB;AAOA;AACE,sBAAoB;AACpB,QAAM;AACR;AAMA;AACE,WAAS;AACX;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE,UAAQ;AACV;AAEA;AACE,UAAQ;AACR,WAAS;AACX;AAEA;AACE,WAAS;AACX;AAEA;AACA;AACA;AACE,cAAY;AACZ,UAAQ;AACR,WAAS;AACX;AAKA;AACE,WAAS;AACX;AAMA;AACE,UAAQ;AACV;AAOA,KAAK;AAAoB,QAAQ;AAC/B,WAAS;AACT,SAAO;AACT;AAEA,KAAK;AACL,QAAQ;AACN,WAAS;AACT,SAAO;AACT;AAMA;AACA,CAAC;AACC,UAAQ;AACV;AAKA;AACE,UAAQ;AACV;AAQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE,WAAS;AACT,kBAAgB;AAClB;AAMA;AACA;AACE,aAAW;AACX,UAAQ;AACV;AAGA,CAAC;AACC,WAAS;AACX;AAEA;AAAG;AAAU;AACX,yBAAuB;AACvB,yBAAuB;AACvB,oBAAkB;AAClB,oBAAkB;AAClB,eAAa;AACb,eAAa;AACb,eAAa;AACb,gBAAc;AACd,gBAAc;AACd;AACA;AACA;AACA,+BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BAAwB;AACxB,0BAAwB;AACxB,mBAAiB,IAAI,GAAG,IAAI,IAAI,EAAE;AAClC,2BAAyB,EAAE,EAAE;AAC7B,oBAAkB,EAAE,EAAE;AACtB,eAAa,EAAE,EAAE;AACjB,uBAAqB,EAAE,EAAE;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF;AAEA;AACE,yBAAuB;AACvB,yBAAuB;AACvB,oBAAkB;AAClB,oBAAkB;AAClB,eAAa;AACb,eAAa;AACb,eAAa;AACb,gBAAc;AACd,gBAAc;AACd;AACA;AACA;AACA,+BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BAAwB;AACxB,0BAAwB;AACxB,mBAAiB,IAAI,GAAG,IAAI,IAAI,EAAE;AAClC,2BAAyB,EAAE,EAAE;AAC7B,oBAAkB,EAAE,EAAE;AACtB,eAAa,EAAE,EAAE;AACjB,uBAAqB,EAAE,EAAE;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF;AACA,CAAC;AACC,SAAO;AACT;AACA,OAAO,CAAC,SAAS,EAAE;AAEjB,GALD;AAMG,eAAW;AACb;AACF;AACA,OAAO,CAAC,SAAS,EAAE;AAEjB,GAXD;AAYG,eAAW;AACb;AACF;AACA,OAAO,CAAC,SAAS,EAAE;AAEjB,GAjBD;AAkBG,eAAW;AACb;AACF;AACA,OAAO,CAAC,SAAS,EAAE;AAEjB,GAvBD;AAwBG,eAAW;AACb;AACF;AACA,OAAO,CAAC,SAAS,EAAE;AAEjB,GA7BD;AA8BG,eAAW;AACb;AACF;AACA,CAAC;AACC,kBAAgB;AAClB;AACA,CAAC;AACC,YAAU;AACZ;AACA,CAAC;AACC,YAAU;AACZ;AACA,CAAC;AACC,SAAO;AACT;AACA,CAAC;AACC,W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AI;AACxC;AACA,CAAC;AACC,oBAAkB,IAAI,8BAA8B,EAAE;AACxD;AACA,CAAC;AACC,oBAAkB,IAAI,2BAA2B,EAAE;AACrD;AACA,CAAC;AACC,oBAAkB,IAAI,yBAAyB,EAAE;AACnD;AACA,CAAC;AACC,oBAAkB,IAAI,6BAA6B,EAAE;AACvD;AACA,CAAC;AACC,oBAAkB,IAAI,mBAAmB,EAAE;AAC7C;AACA,CAAC;AACC,oBAAkB,IAAI,kBAAkB,EAAE;AAC5C;AACA,CAAC;AACC,WAAS;AACX;AACA,CAAC;AACC,gBAAc;AACd,iBAAe;AACjB;AACA,CAAC;AACC,gBAAc;AACd,iBAAe;AACjB;AACA,CAAC;AACC,gBAAc;AACd,iBAAe;AACjB;AACA,CAAC;AACC,gBAAc;AACd,iBAAe;AACjB;AACA,CAAC;AACC,eAAa;AACb,kBAAgB;AAClB;AACA,CAAC;AACC,eAAa;AACb,kBAAgB;AAClB;AACA,CAAC;AACC,eAAa;AACb,kBAAgB;AAClB;AACA,CAAC;AACC,eAAa;AACb,kBAAgB;AAClB;AACA,CAAC;AACC,eAAa;AACb,kBAAgB;AAClB;AACA,CAAC;AACC,eAAa;AACb,kBAAgB;AAClB;AACA,CAAC;AACC,cAAY;AACd;AACA,CAAC;AACC,cAAY;AACd;AACA,CAAC;AACC,aAAW;AACX,eAAa;AACf;AACA,CAAC;AACC,aAAW;AACX,eAAa;AACf;AACA,CAAC;AACC,aAAW;AACX,eAAa;AACf;AACA,CAAC;AACC,aAAW;AACX,eAAa;AACf;AACA,CAAC;AACC,eAAa;AACf;AACA,CAAC;AACC,eAAa;AACf;AACA,CAAC;AACC,eAAa;AACf;AACA,CAAC;AACC,eAAa;AACf;AACA,CAAC;AACC,kBAAgB;AAClB;AACA,CAAC;AACC,eAAa;AACf;AACA,CAAC;AACC,eAAa;AACf;AACA,CAAC;AACC,eAAa;AACf;AACA,CAAC;AACC,eAAa;AACf;AACA,CAAC;AACC,qBAAmB;AACnB,SAAO,I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AEA,GAAC;AACC,WAAO;AACT;AAEA,GAAC;AACC,eAAW;AACb;AAEA,GAAC;AACC,sBAAkB;AAClB,eAAW,UAAU,IAAI,iBAAiB,EAAE,IAAI,mBAAmB,OAAO,IAAI,cAAc,MAAM,IAAI,cAAc,MAAM,IAAI,cAAc,OAAO,IAAI,eAAe,OAAO,IAAI;AACnL;AAEA,GAAC;AACC,6BAAyB;AACzB,gCAA4B;AAC9B;AAEA,GAAC;AACC,kBAAc;AACd,mBAAe;AACjB;AAEA,GAAC;AACC,kBAAc;AACd,mBAAe;AACjB;AAEA,GAAC;AACC,iBAAa;AACb,oBAAgB;AAClB;AAEA,GAAC;AACC,iBAAa;AACb,oBAAgB;AAClB;AACF;AACA,CAAC,oBAAoB,OAAO,CAAC,UAAY,CAAC,SAAW,GAAG,EAAE,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC;AAC/E,wBAAsB;AACxB;","names":[]}
@@ -0,0 +1,187 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+ import React__default, { PropsWithChildren, ComponentType, ComponentPropsWithoutRef, FormEvent, Dispatch, MouseEventHandler, DetailedHTMLProps, HTMLAttributes } from 'react';
4
+ import { UiNodeInputAttributes, UiNode, UiNodeAnchorAttributes, UiNodeTextAttributes, UiNodeImageAttributes, UiText, ConfigurationParameters, FlowError, LoginFlow, RecoveryFlow, RegistrationFlow, SettingsFlow, VerificationFlow } from '@ory/client-fetch';
5
+
6
+ type OryCardContentProps = PropsWithChildren<{}>;
7
+ type OryCardFooterProps = {};
8
+ type OryCardProps = PropsWithChildren<{}>;
9
+ /**
10
+ * Card components are used to show login, registration, recovery, and verification flows.
11
+ */
12
+ type OryCardComponents = {
13
+ /**
14
+ * The card container is the main container of the card.
15
+ */
16
+ Card: ComponentType<OryCardProps>;
17
+ /**
18
+ * The card footer is the footer of the card container.
19
+ */
20
+ CardFooter: ComponentType<OryCardFooterProps>;
21
+ /**
22
+ * The card header is the header of the card container.
23
+ */
24
+ CardHeader: ComponentType<OryCardProps>;
25
+ /**
26
+ * The card content is the main content of the card container.
27
+ */
28
+ CardContent: ComponentType<OryCardContentProps>;
29
+ /**
30
+ * The card logo is the logo of the card container.
31
+ */
32
+ CardLogo: ComponentType<{}>;
33
+ };
34
+
35
+ type HeadlessButtonProps = {
36
+ attributes: UiNodeInputAttributes;
37
+ node: UiNode;
38
+ } & Omit<ComponentPropsWithoutRef<"button">, "children">;
39
+ type HeadlessLinkButtonProps = {
40
+ attributes: UiNodeAnchorAttributes;
41
+ node: UiNode;
42
+ } & Omit<ComponentPropsWithoutRef<"a">, "children">;
43
+ type HeadlessLabelProps = {
44
+ attributes: UiNodeInputAttributes;
45
+ node: UiNode;
46
+ } & ComponentPropsWithoutRef<"label">;
47
+ type HeadlessTextProps = {
48
+ attributes: UiNodeTextAttributes;
49
+ node: UiNode;
50
+ };
51
+ type HeadlessAuthMethodListItemProps = {
52
+ setGroups: Dispatch<React__default.SetStateAction<string[]>>;
53
+ setStep: Dispatch<React__default.SetStateAction<number>>;
54
+ group: string;
55
+ };
56
+ type HeadlessImageProps = {
57
+ attributes: UiNodeImageAttributes;
58
+ node: UiNode;
59
+ };
60
+ type HeadlessFormProps = ComponentPropsWithoutRef<"form"> & {
61
+ onSubmit: (e: FormEvent<HTMLFormElement>) => void | Promise<void>;
62
+ };
63
+ type HeadlessInputProps = {
64
+ attributes: UiNodeInputAttributes;
65
+ node: UiNode;
66
+ onClick: MouseEventHandler;
67
+ };
68
+ type OryFlowComponents = OryFormComponents & OryCardComponents;
69
+
70
+ type HorizontalDividerProps = {};
71
+
72
+ type HeadlessGroupContainerProps = PropsWithChildren;
73
+
74
+ type HeadlessMessagesProps = DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
75
+ type HeadlessMessageProps = {
76
+ message: UiText;
77
+ };
78
+
79
+ type HeadlessSocialButtonContainerProps = PropsWithChildren<{
80
+ nodes: UiNode[];
81
+ }>;
82
+ type HeadlessSocialButtonProps = PropsWithChildren<{
83
+ node: UiNode;
84
+ attributes: UiNodeInputAttributes;
85
+ }>;
86
+
87
+ type OryFormComponents = {
88
+ Button: ComponentType<HeadlessButtonProps>;
89
+ LinkButton: ComponentType<HeadlessLinkButtonProps>;
90
+ Input: ComponentType<HeadlessInputProps>;
91
+ PinCodeInput: ComponentType<HeadlessInputProps>;
92
+ Image: ComponentType<HeadlessImageProps>;
93
+ Label: ComponentType<HeadlessLabelProps>;
94
+ Checkbox: ComponentType<HeadlessInputProps>;
95
+ Text: ComponentType<HeadlessTextProps>;
96
+ FormContainer: ComponentType<HeadlessFormProps>;
97
+ SocialButton: ComponentType<HeadlessSocialButtonProps>;
98
+ SocialButtonContainer: ComponentType<HeadlessSocialButtonContainerProps>;
99
+ AuthMethodListItem: ComponentType<HeadlessAuthMethodListItemProps>;
100
+ HorizontalDivider: ComponentType<HorizontalDividerProps>;
101
+ FormGroup: ComponentType<HeadlessGroupContainerProps>;
102
+ MessageContainer: ComponentType<HeadlessMessagesProps>;
103
+ Message: ComponentType<HeadlessMessageProps>;
104
+ CurrentIdentifierButton: ComponentType<HeadlessButtonProps>;
105
+ };
106
+
107
+ declare function DefaultCardContent({ children }: OryCardContentProps): React.ReactNode;
108
+
109
+ declare function DefaultCardFooter({}: OryCardFooterProps): react_jsx_runtime.JSX.Element | null;
110
+
111
+ declare function DefaultCardHeader(): react_jsx_runtime.JSX.Element;
112
+
113
+ declare function DefaultCardLogo(): react_jsx_runtime.JSX.Element;
114
+
115
+ declare function DefaultCard({ children }: OryCardProps): react_jsx_runtime.JSX.Element;
116
+
117
+ declare function DefaultFormContainer({ children, onSubmit, action, method, }: PropsWithChildren<HeadlessFormProps>): react_jsx_runtime.JSX.Element;
118
+ declare function DefaultMessageContainer({ children }: PropsWithChildren<{}>): react_jsx_runtime.JSX.Element | null;
119
+ declare function DefaultMessage({ message }: HeadlessMessageProps): react_jsx_runtime.JSX.Element;
120
+
121
+ declare const OryDefaultComponents: OryFlowComponents;
122
+
123
+ type OryClientConfiguration = {
124
+ /**
125
+ * The name of the application the user is logging in to.
126
+ */
127
+ name: string;
128
+ /**
129
+ * An optional logo URL to display in the UI instead of the name.
130
+ */
131
+ logoUrl?: string;
132
+ stylesheet?: string;
133
+ favicon?: string;
134
+ sdk: {
135
+ url: string;
136
+ options?: Partial<ConfigurationParameters>;
137
+ };
138
+ project: {
139
+ registrationEnabled: boolean;
140
+ verificationEnabled: boolean;
141
+ recoveryEnabled: boolean;
142
+ };
143
+ };
144
+
145
+ type ErrorFlowContextProps = {
146
+ error: FlowError;
147
+ components?: Partial<OryFlowComponents>;
148
+ config: OryClientConfiguration;
149
+ };
150
+ declare function Error({ error, children, }: PropsWithChildren<ErrorFlowContextProps>): react_jsx_runtime.JSX.Element;
151
+
152
+ type LoginFlowContextProps = {
153
+ flow: LoginFlow;
154
+ components?: Partial<OryFlowComponents>;
155
+ config: OryClientConfiguration;
156
+ };
157
+ declare function Login({ flow, config, children, components: flowOverrideComponents, }: PropsWithChildren<LoginFlowContextProps>): react_jsx_runtime.JSX.Element;
158
+
159
+ type RecoveryFlowContextProps = {
160
+ flow: RecoveryFlow;
161
+ components?: Partial<OryFlowComponents>;
162
+ config: OryClientConfiguration;
163
+ };
164
+ declare function Recovery({ flow, config, children, components: flowOverrideComponents, }: PropsWithChildren<RecoveryFlowContextProps>): react_jsx_runtime.JSX.Element;
165
+
166
+ type RegistrationFlowContextProps = {
167
+ flow: RegistrationFlow;
168
+ components?: Partial<OryFlowComponents>;
169
+ config: OryClientConfiguration;
170
+ };
171
+ declare function Registration({ flow, children, components: flowOverrideComponents, config, }: PropsWithChildren<RegistrationFlowContextProps>): react_jsx_runtime.JSX.Element;
172
+
173
+ type SettingsFlowContextProps = {
174
+ flow: SettingsFlow;
175
+ components?: Partial<OryFlowComponents>;
176
+ config: OryClientConfiguration;
177
+ };
178
+ declare function Settings({ flow, config, children, components: flowOverrideComponents, }: PropsWithChildren<SettingsFlowContextProps>): react_jsx_runtime.JSX.Element;
179
+
180
+ type VerificationFlowContextProps = {
181
+ flow: VerificationFlow;
182
+ components?: Partial<OryFlowComponents>;
183
+ config: OryClientConfiguration;
184
+ };
185
+ declare function Verification({ flow, config, children, components: flowOverrideComponents, }: PropsWithChildren<VerificationFlowContextProps>): react_jsx_runtime.JSX.Element;
186
+
187
+ export { DefaultCard, DefaultCardContent, DefaultCardFooter, DefaultCardHeader, DefaultCardLogo, DefaultFormContainer, DefaultMessage, DefaultMessageContainer, Error, type ErrorFlowContextProps, Login, type LoginFlowContextProps, OryDefaultComponents, Recovery, type RecoveryFlowContextProps, Registration, Settings, type SettingsFlowContextProps, Verification, type VerificationFlowContextProps };
@@ -0,0 +1,187 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+ import React__default, { PropsWithChildren, ComponentType, ComponentPropsWithoutRef, FormEvent, Dispatch, MouseEventHandler, DetailedHTMLProps, HTMLAttributes } from 'react';
4
+ import { UiNodeInputAttributes, UiNode, UiNodeAnchorAttributes, UiNodeTextAttributes, UiNodeImageAttributes, UiText, ConfigurationParameters, FlowError, LoginFlow, RecoveryFlow, RegistrationFlow, SettingsFlow, VerificationFlow } from '@ory/client-fetch';
5
+
6
+ type OryCardContentProps = PropsWithChildren<{}>;
7
+ type OryCardFooterProps = {};
8
+ type OryCardProps = PropsWithChildren<{}>;
9
+ /**
10
+ * Card components are used to show login, registration, recovery, and verification flows.
11
+ */
12
+ type OryCardComponents = {
13
+ /**
14
+ * The card container is the main container of the card.
15
+ */
16
+ Card: ComponentType<OryCardProps>;
17
+ /**
18
+ * The card footer is the footer of the card container.
19
+ */
20
+ CardFooter: ComponentType<OryCardFooterProps>;
21
+ /**
22
+ * The card header is the header of the card container.
23
+ */
24
+ CardHeader: ComponentType<OryCardProps>;
25
+ /**
26
+ * The card content is the main content of the card container.
27
+ */
28
+ CardContent: ComponentType<OryCardContentProps>;
29
+ /**
30
+ * The card logo is the logo of the card container.
31
+ */
32
+ CardLogo: ComponentType<{}>;
33
+ };
34
+
35
+ type HeadlessButtonProps = {
36
+ attributes: UiNodeInputAttributes;
37
+ node: UiNode;
38
+ } & Omit<ComponentPropsWithoutRef<"button">, "children">;
39
+ type HeadlessLinkButtonProps = {
40
+ attributes: UiNodeAnchorAttributes;
41
+ node: UiNode;
42
+ } & Omit<ComponentPropsWithoutRef<"a">, "children">;
43
+ type HeadlessLabelProps = {
44
+ attributes: UiNodeInputAttributes;
45
+ node: UiNode;
46
+ } & ComponentPropsWithoutRef<"label">;
47
+ type HeadlessTextProps = {
48
+ attributes: UiNodeTextAttributes;
49
+ node: UiNode;
50
+ };
51
+ type HeadlessAuthMethodListItemProps = {
52
+ setGroups: Dispatch<React__default.SetStateAction<string[]>>;
53
+ setStep: Dispatch<React__default.SetStateAction<number>>;
54
+ group: string;
55
+ };
56
+ type HeadlessImageProps = {
57
+ attributes: UiNodeImageAttributes;
58
+ node: UiNode;
59
+ };
60
+ type HeadlessFormProps = ComponentPropsWithoutRef<"form"> & {
61
+ onSubmit: (e: FormEvent<HTMLFormElement>) => void | Promise<void>;
62
+ };
63
+ type HeadlessInputProps = {
64
+ attributes: UiNodeInputAttributes;
65
+ node: UiNode;
66
+ onClick: MouseEventHandler;
67
+ };
68
+ type OryFlowComponents = OryFormComponents & OryCardComponents;
69
+
70
+ type HorizontalDividerProps = {};
71
+
72
+ type HeadlessGroupContainerProps = PropsWithChildren;
73
+
74
+ type HeadlessMessagesProps = DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
75
+ type HeadlessMessageProps = {
76
+ message: UiText;
77
+ };
78
+
79
+ type HeadlessSocialButtonContainerProps = PropsWithChildren<{
80
+ nodes: UiNode[];
81
+ }>;
82
+ type HeadlessSocialButtonProps = PropsWithChildren<{
83
+ node: UiNode;
84
+ attributes: UiNodeInputAttributes;
85
+ }>;
86
+
87
+ type OryFormComponents = {
88
+ Button: ComponentType<HeadlessButtonProps>;
89
+ LinkButton: ComponentType<HeadlessLinkButtonProps>;
90
+ Input: ComponentType<HeadlessInputProps>;
91
+ PinCodeInput: ComponentType<HeadlessInputProps>;
92
+ Image: ComponentType<HeadlessImageProps>;
93
+ Label: ComponentType<HeadlessLabelProps>;
94
+ Checkbox: ComponentType<HeadlessInputProps>;
95
+ Text: ComponentType<HeadlessTextProps>;
96
+ FormContainer: ComponentType<HeadlessFormProps>;
97
+ SocialButton: ComponentType<HeadlessSocialButtonProps>;
98
+ SocialButtonContainer: ComponentType<HeadlessSocialButtonContainerProps>;
99
+ AuthMethodListItem: ComponentType<HeadlessAuthMethodListItemProps>;
100
+ HorizontalDivider: ComponentType<HorizontalDividerProps>;
101
+ FormGroup: ComponentType<HeadlessGroupContainerProps>;
102
+ MessageContainer: ComponentType<HeadlessMessagesProps>;
103
+ Message: ComponentType<HeadlessMessageProps>;
104
+ CurrentIdentifierButton: ComponentType<HeadlessButtonProps>;
105
+ };
106
+
107
+ declare function DefaultCardContent({ children }: OryCardContentProps): React.ReactNode;
108
+
109
+ declare function DefaultCardFooter({}: OryCardFooterProps): react_jsx_runtime.JSX.Element | null;
110
+
111
+ declare function DefaultCardHeader(): react_jsx_runtime.JSX.Element;
112
+
113
+ declare function DefaultCardLogo(): react_jsx_runtime.JSX.Element;
114
+
115
+ declare function DefaultCard({ children }: OryCardProps): react_jsx_runtime.JSX.Element;
116
+
117
+ declare function DefaultFormContainer({ children, onSubmit, action, method, }: PropsWithChildren<HeadlessFormProps>): react_jsx_runtime.JSX.Element;
118
+ declare function DefaultMessageContainer({ children }: PropsWithChildren<{}>): react_jsx_runtime.JSX.Element | null;
119
+ declare function DefaultMessage({ message }: HeadlessMessageProps): react_jsx_runtime.JSX.Element;
120
+
121
+ declare const OryDefaultComponents: OryFlowComponents;
122
+
123
+ type OryClientConfiguration = {
124
+ /**
125
+ * The name of the application the user is logging in to.
126
+ */
127
+ name: string;
128
+ /**
129
+ * An optional logo URL to display in the UI instead of the name.
130
+ */
131
+ logoUrl?: string;
132
+ stylesheet?: string;
133
+ favicon?: string;
134
+ sdk: {
135
+ url: string;
136
+ options?: Partial<ConfigurationParameters>;
137
+ };
138
+ project: {
139
+ registrationEnabled: boolean;
140
+ verificationEnabled: boolean;
141
+ recoveryEnabled: boolean;
142
+ };
143
+ };
144
+
145
+ type ErrorFlowContextProps = {
146
+ error: FlowError;
147
+ components?: Partial<OryFlowComponents>;
148
+ config: OryClientConfiguration;
149
+ };
150
+ declare function Error({ error, children, }: PropsWithChildren<ErrorFlowContextProps>): react_jsx_runtime.JSX.Element;
151
+
152
+ type LoginFlowContextProps = {
153
+ flow: LoginFlow;
154
+ components?: Partial<OryFlowComponents>;
155
+ config: OryClientConfiguration;
156
+ };
157
+ declare function Login({ flow, config, children, components: flowOverrideComponents, }: PropsWithChildren<LoginFlowContextProps>): react_jsx_runtime.JSX.Element;
158
+
159
+ type RecoveryFlowContextProps = {
160
+ flow: RecoveryFlow;
161
+ components?: Partial<OryFlowComponents>;
162
+ config: OryClientConfiguration;
163
+ };
164
+ declare function Recovery({ flow, config, children, components: flowOverrideComponents, }: PropsWithChildren<RecoveryFlowContextProps>): react_jsx_runtime.JSX.Element;
165
+
166
+ type RegistrationFlowContextProps = {
167
+ flow: RegistrationFlow;
168
+ components?: Partial<OryFlowComponents>;
169
+ config: OryClientConfiguration;
170
+ };
171
+ declare function Registration({ flow, children, components: flowOverrideComponents, config, }: PropsWithChildren<RegistrationFlowContextProps>): react_jsx_runtime.JSX.Element;
172
+
173
+ type SettingsFlowContextProps = {
174
+ flow: SettingsFlow;
175
+ components?: Partial<OryFlowComponents>;
176
+ config: OryClientConfiguration;
177
+ };
178
+ declare function Settings({ flow, config, children, components: flowOverrideComponents, }: PropsWithChildren<SettingsFlowContextProps>): react_jsx_runtime.JSX.Element;
179
+
180
+ type VerificationFlowContextProps = {
181
+ flow: VerificationFlow;
182
+ components?: Partial<OryFlowComponents>;
183
+ config: OryClientConfiguration;
184
+ };
185
+ declare function Verification({ flow, config, children, components: flowOverrideComponents, }: PropsWithChildren<VerificationFlowContextProps>): react_jsx_runtime.JSX.Element;
186
+
187
+ export { DefaultCard, DefaultCardContent, DefaultCardFooter, DefaultCardHeader, DefaultCardLogo, DefaultFormContainer, DefaultMessage, DefaultMessageContainer, Error, type ErrorFlowContextProps, Login, type LoginFlowContextProps, OryDefaultComponents, Recovery, type RecoveryFlowContextProps, Registration, Settings, type SettingsFlowContextProps, Verification, type VerificationFlowContextProps };