@ory/elements-react 0.0.0-pr.e3d2b7e1 → 0.0.0-pr.f3c2f07

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 (183) hide show
  1. package/CHANGELOG.md +122 -0
  2. package/DEVELOPMENT.md +19 -4
  3. package/babel.config.js +10 -0
  4. package/dist/client/frontendClient.d.mts +5 -2
  5. package/dist/client/frontendClient.d.ts +5 -2
  6. package/dist/client/frontendClient.js +25 -2
  7. package/dist/client/frontendClient.js.map +1 -1
  8. package/dist/client/frontendClient.mjs +25 -2
  9. package/dist/client/frontendClient.mjs.map +1 -1
  10. package/dist/index.d.mts +46 -5
  11. package/dist/index.d.ts +46 -5
  12. package/dist/index.js +540 -115
  13. package/dist/index.js.map +1 -1
  14. package/dist/index.mjs +540 -116
  15. package/dist/index.mjs.map +1 -1
  16. package/dist/theme/default/index.css +171 -118
  17. package/dist/theme/default/index.css.map +1 -1
  18. package/dist/theme/default/index.d.mts +30 -4
  19. package/dist/theme/default/index.d.ts +30 -4
  20. package/dist/theme/default/index.js +3842 -567
  21. package/dist/theme/default/index.js.map +1 -1
  22. package/dist/theme/default/index.mjs +3862 -521
  23. package/dist/theme/default/index.mjs.map +1 -1
  24. package/package.json +9 -3
  25. package/tsconfig.json +1 -1
  26. package/.storybook/global.css +0 -7
  27. package/.storybook/main.ts +0 -50
  28. package/.storybook/preview-head.html +0 -15
  29. package/.storybook/preview.tsx +0 -68
  30. package/.storybook/public/InterVariable.woff2 +0 -0
  31. package/.storybook/public/inter.css +0 -8
  32. package/.stub-responses/login/1fa/all-methods/initial-form.json +0 -245
  33. package/.stub-responses/login/1fa/all-methods/missing-email.json +0 -263
  34. package/.stub-responses/login/1fa/all-methods/wrong-credentials.json +0 -252
  35. package/.stub-responses/login/1fa/code/code-input.json +0 -135
  36. package/.stub-responses/login/1fa/code/initial-form.json +0 -173
  37. package/.stub-responses/login/1fa/code/invalid-account.json +0 -182
  38. package/.stub-responses/login/1fa/code/missing-email.json +0 -182
  39. package/.stub-responses/login/1fa/code/wrong-credentials.json +0 -124
  40. package/.stub-responses/login/1fa/none/initial-form.json +0 -33
  41. package/.stub-responses/login/1fa/oidc/credential-select-password.json +0 -120
  42. package/.stub-responses/login/1fa/oidc/credential-select.json +0 -81
  43. package/.stub-responses/login/1fa/oidc/initial-form.json +0 -279
  44. package/.stub-responses/login/1fa/passkey/initial-form.json +0 -122
  45. package/.stub-responses/login/1fa/password/initial-form.json +0 -154
  46. package/.stub-responses/login/1fa/password/missing-email.json +0 -172
  47. package/.stub-responses/login/1fa/password/wrong-credentials.json +0 -163
  48. package/.stub-responses/login/1fa/webauthn/initial-form.json +0 -76
  49. package/.stub-responses/login/1fa/webauthn/invalid-account.json +0 -83
  50. package/.stub-responses/login/1fa/webauthn/show-trigger.json +0 -105
  51. package/.stub-responses/recovery/disabled/initial-form.json +0 -9
  52. package/.stub-responses/recovery/none/initial-form.json +0 -9
  53. package/.stub-responses/registration/one-step/all-methods/initial-form.json +0 -334
  54. package/.stub-responses/registration/one-step/all-methods/missing-fields.json +0 -343
  55. package/.stub-responses/registration/one-step/disabled/initial-form.json +0 -10
  56. package/.stub-responses/registration/one-step/none/initial-form.json +0 -14
  57. package/.stub-responses/registration/one-step/oidc/initial-form.json +0 -338
  58. package/.stub-responses/registration/one-step/passkey/initial-form.json +0 -177
  59. package/.stub-responses/registration/one-step/password/initial-form.json +0 -154
  60. package/.stub-responses/registration/one-step/password/missing-fields.json +0 -172
  61. package/.stub-responses/registration/one-step/password/second-step.json +0 -164
  62. package/.stub-responses/registration/one-step/webauthn/initial-form.json +0 -185
  63. package/.stub-responses/registration/two-step/all-methods/enter-password.json +0 -242
  64. package/.stub-responses/registration/two-step/all-methods/initial-form.json +0 -180
  65. package/.stub-responses/registration/two-step/all-methods/missing-fields.json +0 -189
  66. package/.stub-responses/registration/two-step/all-methods/password-validation-error.json +0 -244
  67. package/.stub-responses/registration/two-step/password/enter-password.json +0 -108
  68. package/.stub-responses/registration/two-step/password/initial-form.json +0 -134
  69. package/.stub-responses/registration/two-step/password/missing-fields.json +0 -143
  70. package/.stub-responses/registration/two-step/password/password-validation-error.json +0 -110
  71. package/.stub-responses/settings/all-methods/change-password.json +0 -381
  72. package/.stub-responses/settings/all-methods/change-trait.json +0 -377
  73. package/.stub-responses/settings/all-methods/initial-form.json +0 -368
  74. package/.stub-responses/settings/oidc/with-provider.json +0 -229
  75. package/.stub-responses/settings/passkey/initial-form.json +0 -256
  76. package/.stub-responses/settings/webauthn/initial-form.json +0 -263
  77. package/.stub-responses/verification/disabled/initial-form.json +0 -9
  78. package/.stub-responses/verification/none/initial-form.json +0 -9
  79. package/dist/theme/default/tailwind/defaults.d.mts +0 -737
  80. package/dist/theme/default/tailwind/defaults.d.ts +0 -737
  81. package/stories/components/login/1fa/all.stories.ts +0 -46
  82. package/stories/components/login/1fa/code.stories.ts +0 -64
  83. package/stories/components/login/1fa/custom.stories.tsx +0 -74
  84. package/stories/components/login/1fa/none.stories.tsx +0 -28
  85. package/stories/components/login/1fa/oidc.stories.tsx +0 -140
  86. package/stories/components/login/1fa/passkey.stories.ts +0 -28
  87. package/stories/components/login/1fa/password.stories.ts +0 -46
  88. package/stories/components/login/1fa/webauthn.stories.ts +0 -46
  89. package/stories/components/registration/one-step/all-methods.stories.ts +0 -37
  90. package/stories/components/registration/one-step/password.stories.ts +0 -37
  91. package/stories/components/registration/one-step/webauthn.stories.ts +0 -28
  92. package/stories/components/registration/two-step/all-methods.stories.ts +0 -55
  93. package/stories/components/registration/two-step/password.stories.ts +0 -55
  94. package/stories/components/settings/all.stories.ts +0 -46
  95. package/stories/components/settings/oidc.stories.ts +0 -28
  96. package/stories/components/settings/passkey.stories.ts +0 -28
  97. package/stories/components/settings/webauthn.stories.ts +0 -28
  98. package/stories/pages/error.tsx +0 -29
  99. package/stories/utils.ts +0 -20
  100. package/storybook-static/InterVariable.woff2 +0 -0
  101. package/storybook-static/assets/Color-ERTF36HU-BdkKyVuV.js +0 -1
  102. package/storybook-static/assets/DocsRenderer-CFRXHY34-YqKt61zP.js +0 -595
  103. package/storybook-static/assets/all-methods.stories-B-rqPBX2.js +0 -11
  104. package/storybook-static/assets/all-methods.stories-CmMlhzsx.js +0 -21
  105. package/storybook-static/assets/all.stories-CtQ0yCQi.js +0 -16
  106. package/storybook-static/assets/all.stories-DgIVCzcZ.js +0 -16
  107. package/storybook-static/assets/chunk-H6MOWX77-DTQOW814.js +0 -1
  108. package/storybook-static/assets/code.stories-BbEryDcA.js +0 -26
  109. package/storybook-static/assets/custom.stories-DH2zHar9.js +0 -6
  110. package/storybook-static/assets/entry-preview-CcFGVifh.js +0 -10
  111. package/storybook-static/assets/entry-preview-docs-CyY-8bLe.js +0 -54
  112. package/storybook-static/assets/iframe-C5GAfuxh.js +0 -2
  113. package/storybook-static/assets/index-BVoBHvaS.js +0 -8
  114. package/storybook-static/assets/index-CfOt2XX2.js +0 -24
  115. package/storybook-static/assets/index-DPRSEdy-.js +0 -1
  116. package/storybook-static/assets/index-DrFu-skq.js +0 -6
  117. package/storybook-static/assets/index-FeUjBnvO.js +0 -1
  118. package/storybook-static/assets/index-uubelm5h.js +0 -9
  119. package/storybook-static/assets/initial-form-DWp_1F-f.js +0 -1
  120. package/storybook-static/assets/jsx-runtime-QvZ8i92b.js +0 -9
  121. package/storybook-static/assets/none.stories-TAeRhzd5.js +0 -6
  122. package/storybook-static/assets/oidc.stories-CniWBy7t.js +0 -58
  123. package/storybook-static/assets/oidc.stories-jhWzAyoQ.js +0 -6
  124. package/storybook-static/assets/passkey.stories-CBtjoVSN.js +0 -6
  125. package/storybook-static/assets/passkey.stories-CQU2Xw_t.js +0 -6
  126. package/storybook-static/assets/password.stories-0s6cDl0o.js +0 -11
  127. package/storybook-static/assets/password.stories-B2Wtckz_.js +0 -16
  128. package/storybook-static/assets/password.stories-DX0gkWjH.js +0 -21
  129. package/storybook-static/assets/preview-BBWR9nbA.js +0 -1
  130. package/storybook-static/assets/preview-BPAmP-pY.js +0 -2
  131. package/storybook-static/assets/preview-BWzBA1C2.js +0 -396
  132. package/storybook-static/assets/preview-BXtF2ySE.js +0 -234
  133. package/storybook-static/assets/preview-Cur_8nCX.css +0 -1
  134. package/storybook-static/assets/preview-D77C14du.js +0 -34
  135. package/storybook-static/assets/preview-DCjDUH0w.js +0 -27
  136. package/storybook-static/assets/preview-DFmD0pui.js +0 -1
  137. package/storybook-static/assets/preview-DGUiP6tS.js +0 -7
  138. package/storybook-static/assets/preview-aVwhiz9X.js +0 -1
  139. package/storybook-static/assets/react-18-CtsMCmcS.js +0 -1
  140. package/storybook-static/assets/settings-BqEFC2-V.css +0 -1
  141. package/storybook-static/assets/settings-Bx4osEmB.js +0 -2304
  142. package/storybook-static/assets/webauthn.stories-BzodmV0c.js +0 -6
  143. package/storybook-static/assets/webauthn.stories-DglGm7Ys.js +0 -6
  144. package/storybook-static/assets/webauthn.stories-G9E76Wjj.js +0 -16
  145. package/storybook-static/favicon.svg +0 -1
  146. package/storybook-static/iframe.html +0 -654
  147. package/storybook-static/index.html +0 -173
  148. package/storybook-static/index.json +0 -1
  149. package/storybook-static/inter.css +0 -8
  150. package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  151. package/storybook-static/nunito-sans-bold.woff2 +0 -0
  152. package/storybook-static/nunito-sans-italic.woff2 +0 -0
  153. package/storybook-static/nunito-sans-regular.woff2 +0 -0
  154. package/storybook-static/preview-stats.json +0 -2344
  155. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +0 -3
  156. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt +0 -0
  157. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +0 -12
  158. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt +0 -0
  159. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +0 -394
  160. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +0 -0
  161. package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js +0 -3
  162. package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt +0 -0
  163. package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js +0 -3
  164. package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt +0 -0
  165. package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js +0 -3
  166. package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt +0 -0
  167. package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js +0 -3
  168. package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt +0 -0
  169. package/storybook-static/sb-addons/interactions-8/manager-bundle.js +0 -211
  170. package/storybook-static/sb-addons/interactions-8/manager-bundle.js.LEGAL.txt +0 -0
  171. package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +0 -3
  172. package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt +0 -0
  173. package/storybook-static/sb-common-assets/favicon.svg +0 -1
  174. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  175. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  176. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  177. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  178. package/storybook-static/sb-manager/globals-module-info.js +0 -1006
  179. package/storybook-static/sb-manager/globals-runtime.js +0 -54400
  180. package/storybook-static/sb-manager/globals.js +0 -48
  181. package/storybook-static/sb-manager/runtime.js +0 -12089
  182. package/storybook-static/sb-preview/globals.js +0 -33
  183. package/storybook-static/sb-preview/runtime.js +0 -9498
@@ -1,654 +0,0 @@
1
- <!doctype html>
2
- <!--suppress HtmlUnknownTarget -->
3
- <html lang="en">
4
- <head>
5
- <meta charset="utf-8" />
6
- <title>Storybook</title>
7
- <meta name="viewport" content="width=device-width, initial-scale=1" />
8
-
9
- <style>
10
- @font-face {
11
- font-family: 'Nunito Sans';
12
- font-style: normal;
13
- font-weight: 400;
14
- font-display: swap;
15
- src: url('./sb-common-assets/nunito-sans-regular.woff2') format('woff2');
16
- }
17
-
18
- @font-face {
19
- font-family: 'Nunito Sans';
20
- font-style: italic;
21
- font-weight: 400;
22
- font-display: swap;
23
- src: url('./sb-common-assets/nunito-sans-italic.woff2') format('woff2');
24
- }
25
-
26
- @font-face {
27
- font-family: 'Nunito Sans';
28
- font-style: normal;
29
- font-weight: 700;
30
- font-display: swap;
31
- src: url('./sb-common-assets/nunito-sans-bold.woff2') format('woff2');
32
- }
33
-
34
- @font-face {
35
- font-family: 'Nunito Sans';
36
- font-style: italic;
37
- font-weight: 700;
38
- font-display: swap;
39
- src: url('./sb-common-assets/nunito-sans-bold-italic.woff2') format('woff2');
40
- }
41
- </style>
42
-
43
- <script>
44
- window.CONFIG_TYPE = 'PRODUCTION';
45
- window.LOGLEVEL = 'info';
46
- window.FRAMEWORK_OPTIONS = {};
47
- window.CHANNEL_OPTIONS = {};
48
- window.FEATURES = {"argTypeTargetsV7":true,"legacyDecoratorFileOrder":false,"disallowImplicitActionsInRenderV8":true};
49
- window.STORIES = [{"titlePrefix":"","directory":".","files":"**/*.stories.@(ts|tsx)","importPathMatcher":"^\\.(?:(?:^|\\/|(?:(?:(?!(?:^|\\/)\\.).)*?)\\/)(?!\\.)(?=.)[^/]*?\\.stories\\.(ts|tsx))$"}];
50
- window.DOCS_OPTIONS = {"defaultName":"Docs","autodocs":"tag"};
51
- window.TAGS_OPTIONS = {"dev-only":{"excludeFromDocsStories":true},"docs-only":{"excludeFromSidebar":true},"test-only":{"excludeFromSidebar":true,"excludeFromDocsStories":true}};
52
-
53
-
54
-
55
- // We do this so that "module && module.hot" etc. in Storybook source code
56
- // doesn't fail (it will simply be disabled)
57
- window.module = undefined;
58
- window.global = window;
59
- </script>
60
- <base target="_parent" />
61
-
62
- <style>
63
- /* While we aren't showing the main block yet, but still preparing, we want everything the user
64
- has rendered, which may or may not be in #storybook-root, to be display none */
65
- .sb-show-preparing-story:not(.sb-show-main) > :not(.sb-preparing-story) {
66
- display: none;
67
- }
68
-
69
- .sb-show-preparing-docs:not(.sb-show-main) > :not(.sb-preparing-docs) {
70
- display: none;
71
- }
72
-
73
- /* Hide our own blocks when we aren't supposed to be showing them */
74
- :not(.sb-show-preparing-story) > .sb-preparing-story,
75
- :not(.sb-show-preparing-docs) > .sb-preparing-docs,
76
- :not(.sb-show-nopreview) > .sb-nopreview,
77
- :not(.sb-show-errordisplay) > .sb-errordisplay {
78
- display: none;
79
- }
80
-
81
- .sb-show-main.sb-main-centered {
82
- margin: 0;
83
- display: flex;
84
- align-items: center;
85
- min-height: 100vh;
86
- }
87
-
88
- .sb-show-main.sb-main-centered #storybook-root {
89
- box-sizing: border-box;
90
- margin: auto;
91
- padding: 1rem;
92
- max-height: 100%;
93
- /* Hack for centering correctly in IE11 */
94
- }
95
-
96
- /* Vertical centering fix for IE11 */
97
- @media screen and (-ms-high-contrast: none), (-ms-high-contrast: active) {
98
- .sb-show-main.sb-main-centered:after {
99
- content: '';
100
- min-height: inherit;
101
- font-size: 0;
102
- }
103
- }
104
-
105
- .sb-show-main.sb-main-fullscreen {
106
- margin: 0;
107
- padding: 0;
108
- display: block;
109
- }
110
-
111
- .sb-show-main.sb-main-padded {
112
- margin: 0;
113
- padding: 1rem;
114
- display: block;
115
- box-sizing: border-box;
116
- }
117
-
118
- .sb-wrapper {
119
- position: fixed;
120
- top: 0;
121
- bottom: 0;
122
- left: 0;
123
- right: 0;
124
- box-sizing: border-box;
125
-
126
- padding: 40px;
127
- font-family:
128
- 'Nunito Sans',
129
- -apple-system,
130
- '.SFNSText-Regular',
131
- 'San Francisco',
132
- BlinkMacSystemFont,
133
- 'Segoe UI',
134
- 'Helvetica Neue',
135
- Helvetica,
136
- Arial,
137
- sans-serif;
138
- -webkit-font-smoothing: antialiased;
139
- overflow: auto;
140
- }
141
-
142
- @media (max-width: 700px) {
143
- .sb-wrapper {
144
- padding: 20px;
145
- }
146
- }
147
-
148
- @media (max-width: 500px) {
149
- .sb-wrapper {
150
- padding: 10px;
151
- }
152
- }
153
-
154
- .sb-heading {
155
- font-size: 14px;
156
- font-weight: 600;
157
- letter-spacing: 0.2px;
158
- margin: 10px 0;
159
- padding-right: 25px;
160
- }
161
-
162
- .sb-nopreview {
163
- display: flex;
164
- align-content: center;
165
- justify-content: center;
166
- box-sizing: border-box;
167
- }
168
-
169
- .sb-nopreview_main {
170
- margin: auto;
171
- padding: 30px;
172
- border-radius: 10px;
173
- background: rgba(0, 0, 0, 0.03);
174
- }
175
-
176
- .sb-nopreview_heading {
177
- text-align: center;
178
- }
179
-
180
- .sb-errordisplay {
181
- background: #f6f9fc;
182
- color: black;
183
- z-index: 999999;
184
- width: 100vw;
185
- min-height: 100vh;
186
- box-sizing: border-box;
187
-
188
- & ol {
189
- padding-left: 18px;
190
- margin: 0;
191
- }
192
-
193
- & h1 {
194
- font-family: Nunito Sans;
195
- font-size: 22px;
196
- font-weight: 400;
197
- line-height: 30px;
198
- font-weight: normal;
199
- margin: 0;
200
-
201
- &::before {
202
- content: '';
203
- display: inline-block;
204
- width: 12px;
205
- height: 12px;
206
- background: #ff4400;
207
- border-radius: 50%;
208
- margin-right: 8px;
209
- }
210
- }
211
-
212
- & p,
213
- & ol {
214
- font-family: Nunito Sans;
215
- font-size: 14px;
216
- font-weight: 400;
217
- line-height: 19px;
218
- margin: 0;
219
- }
220
-
221
- & li + li {
222
- margin: 0;
223
- padding: 0;
224
- padding-top: 12px;
225
- }
226
-
227
- & a {
228
- color: currentColor;
229
- }
230
- }
231
-
232
- .sb-errordisplay_main {
233
- margin: auto;
234
- padding: 24px;
235
- display: flex;
236
- box-sizing: border-box;
237
-
238
- flex-direction: column;
239
- min-height: 100%;
240
- width: 100%;
241
- border-radius: 6px;
242
- background: white;
243
- border: 1px solid #ff0000;
244
- box-shadow: 0 0 64px rgba(0, 0, 0, 0.1);
245
- gap: 24px;
246
- }
247
-
248
- .sb-errordisplay_code {
249
- padding: 10px;
250
- flex: 1;
251
- background: #242424;
252
- color: #c6c6c6;
253
- box-sizing: border-box;
254
-
255
- font-size: 14px;
256
- font-weight: 400;
257
- line-height: 19px;
258
- border-radius: 4px;
259
-
260
- font-family: 'Operator Mono', 'Fira Code Retina', 'Fira Code', 'FiraCode-Retina', 'Andale Mono',
261
- 'Lucida Console', Consolas, Monaco, monospace;
262
- margin: 0;
263
- overflow: auto;
264
- }
265
-
266
- .sb-errordisplay pre {
267
- white-space: pre-wrap;
268
- white-space: revert;
269
- }
270
-
271
- @-webkit-keyframes sb-rotate360 {
272
- from {
273
- transform: rotate(0deg);
274
- }
275
-
276
- to {
277
- transform: rotate(360deg);
278
- }
279
- }
280
-
281
- @keyframes sb-rotate360 {
282
- from {
283
- transform: rotate(0deg);
284
- }
285
-
286
- to {
287
- transform: rotate(360deg);
288
- }
289
- }
290
-
291
- @-webkit-keyframes sb-glow {
292
- 0%,
293
- 100% {
294
- opacity: 1;
295
- }
296
-
297
- 50% {
298
- opacity: 0.4;
299
- }
300
- }
301
-
302
- @keyframes sb-glow {
303
- 0%,
304
- 100% {
305
- opacity: 1;
306
- }
307
-
308
- 50% {
309
- opacity: 0.4;
310
- }
311
- }
312
-
313
- /* We display the preparing loaders *over* the rendering story */
314
- .sb-preparing-story,
315
- .sb-preparing-docs {
316
- background-color: white;
317
- /* Maximum possible z-index. It would be better to use stacking contexts to ensure it's always
318
- on top, but this isn't possible as it would require making CSS changes that could affect user code */
319
- z-index: 2147483647;
320
- }
321
-
322
- .sb-loader {
323
- -webkit-animation: sb-rotate360 0.7s linear infinite;
324
- animation: sb-rotate360 0.7s linear infinite;
325
- border-color: rgba(97, 97, 97, 0.29);
326
- border-radius: 50%;
327
- border-style: solid;
328
- border-top-color: #646464;
329
- border-width: 2px;
330
- display: inline-block;
331
- height: 32px;
332
- left: 50%;
333
- margin-left: -16px;
334
- margin-top: -16px;
335
- mix-blend-mode: difference;
336
- overflow: hidden;
337
- position: absolute;
338
- top: 50%;
339
- transition: all 200ms ease-out;
340
- vertical-align: top;
341
- width: 32px;
342
- z-index: 4;
343
- }
344
-
345
- .sb-previewBlock {
346
- background: #fff;
347
- border: 1px solid rgba(0, 0, 0, 0.1);
348
- border-radius: 4px;
349
- box-shadow: rgba(0, 0, 0, 0.1) 0 1px 3px 0;
350
- margin: 25px auto 40px;
351
- max-width: 600px;
352
- }
353
-
354
- .sb-previewBlock_header {
355
- align-items: center;
356
- box-shadow: rgba(0, 0, 0, 0.1) 0 -1px 0 0 inset;
357
- display: flex;
358
- gap: 14px;
359
- height: 40px;
360
- padding: 0 12px;
361
- }
362
-
363
- .sb-previewBlock_icon {
364
- -webkit-animation: sb-glow 1.5s ease-in-out infinite;
365
- animation: sb-glow 1.5s ease-in-out infinite;
366
- background: #e6e6e6;
367
- height: 14px;
368
- width: 14px;
369
- }
370
-
371
- .sb-previewBlock_icon:last-child {
372
- margin-left: auto;
373
- }
374
-
375
- .sb-previewBlock_body {
376
- -webkit-animation: sb-glow 1.5s ease-in-out infinite;
377
- animation: sb-glow 1.5s ease-in-out infinite;
378
- height: 182px;
379
- position: relative;
380
- }
381
-
382
- .sb-argstableBlock {
383
- border-collapse: collapse;
384
- border-spacing: 0;
385
- font-size: 13px;
386
- line-height: 20px;
387
- margin: 25px auto 40px;
388
- max-width: 600px;
389
- text-align: left;
390
- width: 100%;
391
- }
392
-
393
- .sb-argstableBlock th:first-of-type,
394
- .sb-argstableBlock td:first-of-type {
395
- padding-left: 20px;
396
- }
397
-
398
- .sb-argstableBlock th:nth-of-type(2),
399
- .sb-argstableBlock td:nth-of-type(2) {
400
- width: 35%;
401
- }
402
-
403
- .sb-argstableBlock th:nth-of-type(3),
404
- .sb-argstableBlock td:nth-of-type(3) {
405
- width: 15%;
406
- }
407
-
408
- .sb-argstableBlock th:last-of-type,
409
- .sb-argstableBlock td:last-of-type {
410
- width: 25%;
411
- padding-right: 20px;
412
- }
413
-
414
- .sb-argstableBlock th span,
415
- .sb-argstableBlock td span {
416
- -webkit-animation: sb-glow 1.5s ease-in-out infinite;
417
- animation: sb-glow 1.5s ease-in-out infinite;
418
- background-color: rgba(0, 0, 0, 0.1);
419
- border-radius: 0;
420
- box-shadow: none;
421
- color: transparent;
422
- }
423
-
424
- .sb-argstableBlock th {
425
- padding: 10px 15px;
426
- }
427
-
428
- .sb-argstableBlock-body {
429
- border-radius: 4px;
430
- box-shadow:
431
- rgba(0, 0, 0, 0.1) 0 1px 3px 1px,
432
- rgba(0, 0, 0, 0.065) 0 0 0 1px;
433
- }
434
-
435
- .sb-argstableBlock-body tr {
436
- background: transparent;
437
- overflow: hidden;
438
- }
439
-
440
- .sb-argstableBlock-body tr:not(:first-child) {
441
- border-top: 1px solid #e6e6e6;
442
- }
443
-
444
- .sb-argstableBlock-body tr:first-child td:first-child {
445
- border-top-left-radius: 4px;
446
- }
447
-
448
- .sb-argstableBlock-body tr:first-child td:last-child {
449
- border-top-right-radius: 4px;
450
- }
451
-
452
- .sb-argstableBlock-body tr:last-child td:first-child {
453
- border-bottom-left-radius: 4px;
454
- }
455
-
456
- .sb-argstableBlock-body tr:last-child td:last-child {
457
- border-bottom-right-radius: 4px;
458
- }
459
-
460
- .sb-argstableBlock-body td {
461
- background: #fff;
462
- padding-bottom: 10px;
463
- padding-top: 10px;
464
- vertical-align: top;
465
- }
466
-
467
- .sb-argstableBlock-body td:not(:first-of-type) {
468
- padding-left: 15px;
469
- padding-right: 15px;
470
- }
471
-
472
- .sb-argstableBlock-body button {
473
- -webkit-animation: sb-glow 1.5s ease-in-out infinite;
474
- animation: sb-glow 1.5s ease-in-out infinite;
475
- background-color: rgba(0, 0, 0, 0.1);
476
- border: 0;
477
- border-radius: 0;
478
- box-shadow: none;
479
- color: transparent;
480
- display: inline;
481
- font-size: 12px;
482
- line-height: 1;
483
- padding: 10px 16px;
484
- }
485
-
486
- .sb-argstableBlock-summary {
487
- margin-top: 4px;
488
- }
489
-
490
- .sb-argstableBlock-code {
491
- margin-right: 4px;
492
- margin-bottom: 4px;
493
- padding: 2px 5px;
494
- }
495
- </style>
496
-
497
- <script>
498
- /* globals window */
499
- /* eslint-disable no-underscore-dangle */
500
- try {
501
- if (window.top !== window) {
502
- window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.top.__REACT_DEVTOOLS_GLOBAL_HOOK__;
503
- window.__VUE_DEVTOOLS_GLOBAL_HOOK__ = window.top.__VUE_DEVTOOLS_GLOBAL_HOOK__;
504
- window.top.__VUE_DEVTOOLS_CONTEXT__ = window.document;
505
- }
506
- } catch (e) {
507
- // eslint-disable-next-line no-console
508
- console.warn('unable to connect to top frame for connecting dev tools');
509
- }
510
- </script>
511
- <!-- Copyright © 2024 Ory Corp -->
512
- <!-- SPDX-License-Identifier: Apache-2.0 -->
513
-
514
- <link
515
- rel="preload"
516
- href="/InterVariable.woff2?v=4.1"
517
- as="font"
518
- type="font/woff2"
519
- crossorigin="anonymous"
520
- />
521
- <link rel="stylesheet" href="/inter.css" />
522
-
523
- <script>
524
- window.oryPasskeyLoginAutocompleteInit = function () {}
525
- </script>
526
-
527
- <script type="module" crossorigin src="./assets/iframe-C5GAfuxh.js"></script>
528
- </head>
529
-
530
- <body>
531
- <div class="sb-preparing-story sb-wrapper">
532
- <div class="sb-loader"></div>
533
- </div>
534
-
535
- <div class="sb-preparing-docs sb-wrapper">
536
- <div class="sb-previewBlock">
537
- <div class="sb-previewBlock_header">
538
- <div class="sb-previewBlock_icon"></div>
539
- <div class="sb-previewBlock_icon"></div>
540
- <div class="sb-previewBlock_icon"></div>
541
- <div class="sb-previewBlock_icon"></div>
542
- </div>
543
- <div class="sb-previewBlock_body">
544
- <div class="sb-loader"></div>
545
- </div>
546
- </div>
547
- <table aria-hidden="true" class="sb-argstableBlock">
548
- <thead class="sb-argstableBlock-head">
549
- <tr>
550
- <th><span>Name</span></th>
551
- <th><span>Description</span></th>
552
- <th><span>Default</span></th>
553
- <th><span>Control </span></th>
554
- </tr>
555
- </thead>
556
- <tbody class="sb-argstableBlock-body">
557
- <tr>
558
- <td><span>propertyName</span><span title="Required">*</span></td>
559
- <td>
560
- <div><span>This is a short description</span></div>
561
- <div class="sb-argstableBlock-summary">
562
- <div><span class="sb-argstableBlock-code">summary</span></div>
563
- </div>
564
- </td>
565
- <td>
566
- <div><span class="sb-argstableBlock-code">defaultValue</span></div>
567
- </td>
568
- <td><button>Set string</button></td>
569
- </tr>
570
- <tr>
571
- <td><span>propertyName</span><span>*</span></td>
572
- <td>
573
- <div><span>This is a short description</span></div>
574
- <div class="sb-argstableBlock-summary">
575
- <div><span class="sb-argstableBlock-code">summary</span></div>
576
- </div>
577
- </td>
578
- <td>
579
- <div><span class="sb-argstableBlock-code">defaultValue</span></div>
580
- </td>
581
- <td><button>Set string</button></td>
582
- </tr>
583
- <tr>
584
- <td><span>propertyName</span><span>*</span></td>
585
- <td>
586
- <div><span>This is a short description</span></div>
587
- <div class="sb-argstableBlock-summary">
588
- <div><span class="sb-argstableBlock-code">summary</span></div>
589
- </div>
590
- </td>
591
- <td>
592
- <div><span class="sb-argstableBlock-code">defaultValue</span></div>
593
- </td>
594
- <td><button>Set string</button></td>
595
- </tr>
596
- </tbody>
597
- </table>
598
- </div>
599
-
600
- <div class="sb-nopreview sb-wrapper">
601
- <div class="sb-nopreview_main">
602
- <h1 class="sb-nopreview_heading sb-heading">No Preview</h1>
603
- <p>Sorry, but you either have no stories or none are selected somehow.</p>
604
- <ul>
605
- <li>Please check the Storybook config.</li>
606
- <li>Try reloading the page.</li>
607
- </ul>
608
- <p>
609
- If the problem persists, check the browser console, or the terminal you've run Storybook from.
610
- </p>
611
- </div>
612
- </div>
613
-
614
- <div class="sb-errordisplay sb-wrapper">
615
- <div class="sb-errordisplay_main">
616
- <h1 id="error-message"></h1>
617
- <p>
618
- The component failed to render properly, likely due to a configuration issue in Storybook.
619
- Here are some common causes and how you can address them:
620
- </p>
621
- <ol>
622
- <li>
623
- <strong>Missing Context/Providers</strong>: You can use decorators to supply specific
624
- contexts or providers, which are sometimes necessary for components to render correctly. For
625
- detailed instructions on using decorators, please visit the
626
- <a href="https://storybook.js.org/docs/react/writing-stories/decorators"
627
- >Decorators documentation</a
628
- >.
629
- </li>
630
- <li>
631
- <strong>Misconfigured Webpack or Vite</strong>: Verify that Storybook picks up all necessary
632
- settings for loaders, plugins, and other relevant parameters. You can find step-by-step
633
- guides for configuring
634
- <a href="https://storybook.js.org/docs/builders/webpack">Webpack</a> or
635
- <a href="https://storybook.js.org/docs/builders/vite">Vite</a>
636
- with Storybook.
637
- </li>
638
- <li>
639
- <strong>Missing Environment Variables</strong>: Your Storybook may require specific
640
- environment variables to function as intended. You can set up custom environment variables
641
- as outlined in the
642
- <a href="https://storybook.js.org/docs/configure/environment-variables"
643
- >Environment Variables documentation</a
644
- >.
645
- </li>
646
- </ol>
647
- <pre class="sb-errordisplay_code"><code id="error-stack"></code></pre>
648
- </div>
649
- </div>
650
-
651
- <div id="storybook-root"></div>
652
- <div id="storybook-docs"></div>
653
- </body>
654
- </html>