@ory/elements-react 1.0.0-next.28 → 1.0.0-next.29
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/CHANGELOG.md +11 -0
- package/dist/index.d.mts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/theme/default/index.css +0 -8
- package/dist/theme/default/index.css.map +1 -1
- package/dist/theme/default/index.js +64 -59
- package/dist/theme/default/index.js.map +1 -1
- package/dist/theme/default/index.mjs +63 -58
- package/dist/theme/default/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
## 1.0.0-next.29 (2025-02-27)
|
|
2
|
+
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- remove untranslated aria label from auth list item ([#365](https://github.com/ory/elements/pull/365))
|
|
6
|
+
- spacing in auth method list ([#359](https://github.com/ory/elements/pull/359))
|
|
7
|
+
|
|
8
|
+
### ❤️ Thank You
|
|
9
|
+
|
|
10
|
+
- Jonas Hungershausen
|
|
11
|
+
|
|
1
12
|
## 1.0.0-next.28 (2025-02-20)
|
|
2
13
|
|
|
3
14
|
### 🩹 Fixes
|
package/dist/index.d.mts
CHANGED
|
@@ -266,6 +266,12 @@ type OryFlowComponents = {
|
|
|
266
266
|
* The HorizontalDivider component is rendered between groups.
|
|
267
267
|
*/
|
|
268
268
|
Divider: ComponentType<OryCardDividerProps>;
|
|
269
|
+
/**
|
|
270
|
+
* The AuthMethodListContainer component is rendered around the "method" chooser step in the identifier_first login flow.
|
|
271
|
+
*
|
|
272
|
+
* This is only used, if login is configured to use identifier_first authentication.
|
|
273
|
+
*/
|
|
274
|
+
AuthMethodListContainer: ComponentType<PropsWithChildren>;
|
|
269
275
|
/**
|
|
270
276
|
* The AuthMethodListItem component is rendered on the "method" chooser step in the identifier_first login flow.
|
|
271
277
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -266,6 +266,12 @@ type OryFlowComponents = {
|
|
|
266
266
|
* The HorizontalDivider component is rendered between groups.
|
|
267
267
|
*/
|
|
268
268
|
Divider: ComponentType<OryCardDividerProps>;
|
|
269
|
+
/**
|
|
270
|
+
* The AuthMethodListContainer component is rendered around the "method" chooser step in the identifier_first login flow.
|
|
271
|
+
*
|
|
272
|
+
* This is only used, if login is configured to use identifier_first authentication.
|
|
273
|
+
*/
|
|
274
|
+
AuthMethodListContainer: ComponentType<PropsWithChildren>;
|
|
269
275
|
/**
|
|
270
276
|
* The AuthMethodListItem component is rendered on the "method" chooser step in the identifier_first login flow.
|
|
271
277
|
*
|
package/dist/index.js
CHANGED
|
@@ -1183,14 +1183,14 @@ function AuthMethodList({ options, setSelectedGroup }) {
|
|
|
1183
1183
|
setSelectedGroup(group);
|
|
1184
1184
|
}
|
|
1185
1185
|
};
|
|
1186
|
-
return options.map((option) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1186
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Card.AuthMethodListContainer, { children: options.map((option) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1187
1187
|
Card.AuthMethodListItem,
|
|
1188
1188
|
{
|
|
1189
1189
|
group: option,
|
|
1190
1190
|
onClick: () => handleClick(option)
|
|
1191
1191
|
},
|
|
1192
1192
|
option
|
|
1193
|
-
));
|
|
1193
|
+
)) });
|
|
1194
1194
|
}
|
|
1195
1195
|
function OryFormGroupDivider() {
|
|
1196
1196
|
const { Card } = useComponents();
|