@ory/elements-react 1.0.0-next.25 → 1.0.0-next.28

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.
Files changed (182) hide show
  1. package/.storybook/global.css +7 -0
  2. package/.storybook/main.ts +50 -0
  3. package/.storybook/preview-head.html +15 -0
  4. package/.storybook/preview.tsx +68 -0
  5. package/.storybook/public/InterVariable.woff2 +0 -0
  6. package/.storybook/public/inter.css +8 -0
  7. package/.stub-responses/login/1fa/all-methods/initial-form.json +247 -0
  8. package/.stub-responses/login/1fa/all-methods/missing-email.json +265 -0
  9. package/.stub-responses/login/1fa/all-methods/wrong-credentials.json +254 -0
  10. package/.stub-responses/login/1fa/code/code-input.json +135 -0
  11. package/.stub-responses/login/1fa/code/initial-form.json +173 -0
  12. package/.stub-responses/login/1fa/code/invalid-account.json +182 -0
  13. package/.stub-responses/login/1fa/code/missing-email.json +182 -0
  14. package/.stub-responses/login/1fa/code/wrong-credentials.json +124 -0
  15. package/.stub-responses/login/1fa/none/initial-form.json +33 -0
  16. package/.stub-responses/login/1fa/oidc/initial-form.json +279 -0
  17. package/.stub-responses/login/1fa/passkey/initial-form.json +122 -0
  18. package/.stub-responses/login/1fa/password/initial-form.json +154 -0
  19. package/.stub-responses/login/1fa/password/missing-email.json +172 -0
  20. package/.stub-responses/login/1fa/password/wrong-credentials.json +163 -0
  21. package/.stub-responses/login/1fa/webauthn/initial-form.json +76 -0
  22. package/.stub-responses/login/1fa/webauthn/invalid-account.json +83 -0
  23. package/.stub-responses/login/1fa/webauthn/show-trigger.json +105 -0
  24. package/.stub-responses/recovery/disabled/initial-form.json +9 -0
  25. package/.stub-responses/recovery/none/initial-form.json +9 -0
  26. package/.stub-responses/registration/one-step/all-methods/initial-form.json +334 -0
  27. package/.stub-responses/registration/one-step/all-methods/missing-fields.json +343 -0
  28. package/.stub-responses/registration/one-step/disabled/initial-form.json +10 -0
  29. package/.stub-responses/registration/one-step/none/initial-form.json +14 -0
  30. package/.stub-responses/registration/one-step/oidc/initial-form.json +338 -0
  31. package/.stub-responses/registration/one-step/passkey/initial-form.json +177 -0
  32. package/.stub-responses/registration/one-step/password/initial-form.json +154 -0
  33. package/.stub-responses/registration/one-step/password/missing-fields.json +172 -0
  34. package/.stub-responses/registration/one-step/password/second-step.json +164 -0
  35. package/.stub-responses/registration/one-step/webauthn/initial-form.json +185 -0
  36. package/.stub-responses/registration/two-step/all-methods/enter-password.json +242 -0
  37. package/.stub-responses/registration/two-step/all-methods/initial-form.json +180 -0
  38. package/.stub-responses/registration/two-step/all-methods/missing-fields.json +189 -0
  39. package/.stub-responses/registration/two-step/all-methods/password-validation-error.json +244 -0
  40. package/.stub-responses/registration/two-step/password/enter-password.json +108 -0
  41. package/.stub-responses/registration/two-step/password/initial-form.json +134 -0
  42. package/.stub-responses/registration/two-step/password/missing-fields.json +143 -0
  43. package/.stub-responses/registration/two-step/password/password-validation-error.json +110 -0
  44. package/.stub-responses/settings/all-methods/change-password.json +381 -0
  45. package/.stub-responses/settings/all-methods/change-trait.json +377 -0
  46. package/.stub-responses/settings/all-methods/initial-form.json +368 -0
  47. package/.stub-responses/settings/oidc/with-provider.json +230 -0
  48. package/.stub-responses/settings/passkey/initial-form.json +256 -0
  49. package/.stub-responses/settings/webauthn/initial-form.json +263 -0
  50. package/.stub-responses/verification/disabled/initial-form.json +9 -0
  51. package/.stub-responses/verification/none/initial-form.json +9 -0
  52. package/CHANGELOG.md +40 -0
  53. package/dist/index.d.mts +3 -3
  54. package/dist/index.d.ts +3 -3
  55. package/dist/index.js +2105 -2053
  56. package/dist/index.js.map +1 -1
  57. package/dist/index.mjs +2105 -2053
  58. package/dist/index.mjs.map +1 -1
  59. package/dist/theme/default/index.css +259 -106
  60. package/dist/theme/default/index.css.map +1 -1
  61. package/dist/theme/default/index.js +29 -14
  62. package/dist/theme/default/index.js.map +1 -1
  63. package/dist/theme/default/index.mjs +29 -14
  64. package/dist/theme/default/index.mjs.map +1 -1
  65. package/dist/theme/default/tailwind/defaults.d.mts +737 -0
  66. package/dist/theme/default/tailwind/defaults.d.ts +737 -0
  67. package/dist/theme/default/tailwind/defaults.js +219 -0
  68. package/dist/theme/default/tailwind/defaults.js.map +1 -0
  69. package/dist/theme/default/tailwind/defaults.mjs +196 -0
  70. package/dist/theme/default/tailwind/defaults.mjs.map +1 -0
  71. package/package.json +7 -2
  72. package/stories/components/login/1fa/all.stories.ts +46 -0
  73. package/stories/components/login/1fa/code.stories.ts +64 -0
  74. package/stories/components/login/1fa/custom.stories.tsx +72 -0
  75. package/stories/components/login/1fa/none.stories.tsx +28 -0
  76. package/stories/components/login/1fa/oidc.stories.tsx +143 -0
  77. package/stories/components/login/1fa/passkey.stories.ts +28 -0
  78. package/stories/components/login/1fa/password.stories.ts +46 -0
  79. package/stories/components/login/1fa/webauthn.stories.ts +46 -0
  80. package/stories/components/registration/one-step/all-methods.stories.ts +37 -0
  81. package/stories/components/registration/one-step/password.stories.ts +37 -0
  82. package/stories/components/registration/one-step/webauthn.stories.ts +28 -0
  83. package/stories/components/registration/two-step/all-methods.stories.ts +55 -0
  84. package/stories/components/registration/two-step/password.stories.ts +55 -0
  85. package/stories/components/settings/all.stories.ts +46 -0
  86. package/stories/components/settings/oidc.stories.ts +28 -0
  87. package/stories/components/settings/passkey.stories.ts +28 -0
  88. package/stories/components/settings/webauthn.stories.ts +28 -0
  89. package/stories/pages/error.tsx +29 -0
  90. package/stories/utils.ts +20 -0
  91. package/storybook-static/InterVariable.woff2 +0 -0
  92. package/storybook-static/assets/Color-ERTF36HU-BdkKyVuV.js +1 -0
  93. package/storybook-static/assets/DocsRenderer-CFRXHY34-YqKt61zP.js +595 -0
  94. package/storybook-static/assets/all-methods.stories-B-rqPBX2.js +11 -0
  95. package/storybook-static/assets/all-methods.stories-CmMlhzsx.js +21 -0
  96. package/storybook-static/assets/all.stories-CtQ0yCQi.js +16 -0
  97. package/storybook-static/assets/all.stories-DgIVCzcZ.js +16 -0
  98. package/storybook-static/assets/chunk-H6MOWX77-DTQOW814.js +1 -0
  99. package/storybook-static/assets/code.stories-BbEryDcA.js +26 -0
  100. package/storybook-static/assets/custom.stories-DH2zHar9.js +6 -0
  101. package/storybook-static/assets/entry-preview-CcFGVifh.js +10 -0
  102. package/storybook-static/assets/entry-preview-docs-CyY-8bLe.js +54 -0
  103. package/storybook-static/assets/iframe-C5GAfuxh.js +2 -0
  104. package/storybook-static/assets/index-BVoBHvaS.js +8 -0
  105. package/storybook-static/assets/index-CfOt2XX2.js +24 -0
  106. package/storybook-static/assets/index-DPRSEdy-.js +1 -0
  107. package/storybook-static/assets/index-DrFu-skq.js +6 -0
  108. package/storybook-static/assets/index-FeUjBnvO.js +1 -0
  109. package/storybook-static/assets/index-uubelm5h.js +9 -0
  110. package/storybook-static/assets/initial-form-DWp_1F-f.js +1 -0
  111. package/storybook-static/assets/jsx-runtime-QvZ8i92b.js +9 -0
  112. package/storybook-static/assets/none.stories-TAeRhzd5.js +6 -0
  113. package/storybook-static/assets/oidc.stories-CniWBy7t.js +58 -0
  114. package/storybook-static/assets/oidc.stories-jhWzAyoQ.js +6 -0
  115. package/storybook-static/assets/passkey.stories-CBtjoVSN.js +6 -0
  116. package/storybook-static/assets/passkey.stories-CQU2Xw_t.js +6 -0
  117. package/storybook-static/assets/password.stories-0s6cDl0o.js +11 -0
  118. package/storybook-static/assets/password.stories-B2Wtckz_.js +16 -0
  119. package/storybook-static/assets/password.stories-DX0gkWjH.js +21 -0
  120. package/storybook-static/assets/preview-BBWR9nbA.js +1 -0
  121. package/storybook-static/assets/preview-BPAmP-pY.js +2 -0
  122. package/storybook-static/assets/preview-BWzBA1C2.js +396 -0
  123. package/storybook-static/assets/preview-BXtF2ySE.js +234 -0
  124. package/storybook-static/assets/preview-Cur_8nCX.css +1 -0
  125. package/storybook-static/assets/preview-D77C14du.js +34 -0
  126. package/storybook-static/assets/preview-DCjDUH0w.js +27 -0
  127. package/storybook-static/assets/preview-DFmD0pui.js +1 -0
  128. package/storybook-static/assets/preview-DGUiP6tS.js +7 -0
  129. package/storybook-static/assets/preview-aVwhiz9X.js +1 -0
  130. package/storybook-static/assets/react-18-CtsMCmcS.js +1 -0
  131. package/storybook-static/assets/settings-BqEFC2-V.css +1 -0
  132. package/storybook-static/assets/settings-Bx4osEmB.js +2304 -0
  133. package/storybook-static/assets/webauthn.stories-BzodmV0c.js +6 -0
  134. package/storybook-static/assets/webauthn.stories-DglGm7Ys.js +6 -0
  135. package/storybook-static/assets/webauthn.stories-G9E76Wjj.js +16 -0
  136. package/storybook-static/favicon.svg +1 -0
  137. package/storybook-static/iframe.html +654 -0
  138. package/storybook-static/index.html +173 -0
  139. package/storybook-static/index.json +1 -0
  140. package/storybook-static/inter.css +8 -0
  141. package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  142. package/storybook-static/nunito-sans-bold.woff2 +0 -0
  143. package/storybook-static/nunito-sans-italic.woff2 +0 -0
  144. package/storybook-static/nunito-sans-regular.woff2 +0 -0
  145. package/storybook-static/preview-stats.json +2344 -0
  146. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +3 -0
  147. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt +0 -0
  148. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +12 -0
  149. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt +0 -0
  150. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +394 -0
  151. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +0 -0
  152. package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js +3 -0
  153. package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt +0 -0
  154. package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js +3 -0
  155. package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt +0 -0
  156. package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js +3 -0
  157. package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt +0 -0
  158. package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js +3 -0
  159. package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt +0 -0
  160. package/storybook-static/sb-addons/interactions-8/manager-bundle.js +211 -0
  161. package/storybook-static/sb-addons/interactions-8/manager-bundle.js.LEGAL.txt +0 -0
  162. package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +3 -0
  163. package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt +0 -0
  164. package/storybook-static/sb-common-assets/favicon.svg +1 -0
  165. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  166. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  167. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  168. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  169. package/storybook-static/sb-manager/globals-module-info.js +1006 -0
  170. package/storybook-static/sb-manager/globals-runtime.js +54400 -0
  171. package/storybook-static/sb-manager/globals.js +48 -0
  172. package/storybook-static/sb-manager/runtime.js +12089 -0
  173. package/storybook-static/sb-preview/globals.js +33 -0
  174. package/storybook-static/sb-preview/runtime.js +9498 -0
  175. package/tailwind/defaults.ts +34 -0
  176. package/tailwind/generated/README.md +2 -0
  177. package/tailwind/generated/default-variables.css +216 -0
  178. package/tailwind/generated/variables-processed.json +161 -0
  179. package/tsconfig.json +2 -3
  180. package/tsconfig.runtime.json +4 -0
  181. package/tsconfig.test.json +0 -9
  182. package/variables-processed.json +0 -391
@@ -0,0 +1,3 @@
1
+ try{
2
+ (()=>{var T=__STORYBOOK_API__,{ActiveTabs:_,Consumer:g,ManagerContext:O,Provider:f,RequestResponseError:A,addons:n,combineParameters:v,controlOrMetaKey:P,controlOrMetaSymbol:k,eventMatchesShortcut:x,eventToShortcut:M,experimental_requestResponse:R,isMacLike:w,isShortcutTaken:C,keyToSymbol:G,merge:I,mockChannel:K,optionOrAltSymbol:q,shortcutMatchesShortcut:B,shortcutToHumanString:F,types:Y,useAddonState:j,useArgTypes:E,useArgs:H,useChannel:L,useGlobalTypes:N,useGlobals:z,useParameter:D,useSharedState:J,useStoryPrepared:Q,useStorybookApi:U,useStorybookState:V}=__STORYBOOK_API__;var S=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})(),u="static-filter";n.register(u,e=>{let i=Object.entries(S.TAGS_OPTIONS??{}).reduce((t,r)=>{let[o,c]=r;return c.excludeFromSidebar&&(t[o]=!0),t},{});e.experimental_setFilter(u,t=>{let r=t.tags??[];return(r.includes("dev")||t.type==="docs")&&r.filter(o=>i[o]).length===0})});})();
3
+ }catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); }
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:svgjs="http://svgjs.com/svgjs" xmlns:xlink="http://www.w3.org/1999/xlink" width="164" height="164" version="1.1"><svg xmlns="http://www.w3.org/2000/svg" width="164" height="164" fill="none" viewBox="0 0 164 164"><path fill="#FF4785" d="M22.467 147.762 17.5 15.402a8.062 8.062 0 0 1 7.553-8.35L137.637.016a8.061 8.061 0 0 1 8.565 8.047v144.23a8.063 8.063 0 0 1-8.424 8.054l-107.615-4.833a8.062 8.062 0 0 1-7.695-7.752Z"/><path fill="#fff" fill-rule="evenodd" d="m128.785.57-15.495.968-.755 18.172a1.203 1.203 0 0 0 1.928 1.008l7.06-5.354 5.962 4.697a1.202 1.202 0 0 0 1.946-.987L128.785.569Zm-12.059 60.856c-2.836 2.203-23.965 3.707-23.965.57.447-11.969-4.912-12.494-7.889-12.494-2.828 0-7.59.855-7.59 7.267 0 6.534 6.96 10.223 15.13 14.553 11.607 6.15 25.654 13.594 25.654 32.326 0 17.953-14.588 27.871-33.194 27.871-19.201 0-35.981-7.769-34.086-34.702.744-3.163 25.156-2.411 25.156 0-.298 11.114 2.232 14.383 8.633 14.383 4.912 0 7.144-2.708 7.144-7.267 0-6.9-7.252-10.973-15.595-15.657C64.827 81.933 51.53 74.468 51.53 57.34c0-17.098 11.76-28.497 32.747-28.497 20.988 0 32.449 11.224 32.449 32.584Z" clip-rule="evenodd"/></svg><style>@media (prefers-color-scheme:light){:root{filter:none}}</style></svg>