@ory/elements-react 1.0.0-next.32 → 1.0.0-next.33
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 +15 -0
- package/dist/index.js +11 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -4
- package/dist/index.mjs.map +1 -1
- package/dist/theme/default/index.css +9 -0
- package/dist/theme/default/index.css.map +1 -1
- package/dist/theme/default/index.js +330 -267
- package/dist/theme/default/index.js.map +1 -1
- package/dist/theme/default/index.mjs +318 -255
- package/dist/theme/default/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## 1.0.0-next.33 (2025-03-07)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- add password toggle to input ([#378](https://github.com/ory/elements/pull/378))
|
|
6
|
+
|
|
7
|
+
### 🩹 Fixes
|
|
8
|
+
|
|
9
|
+
- validation message regression ([#380](https://github.com/ory/elements/pull/380))
|
|
10
|
+
|
|
11
|
+
### ❤️ Thank You
|
|
12
|
+
|
|
13
|
+
- Jonas Hungershausen
|
|
14
|
+
- Pierre Caillaud @pcaillaudm
|
|
15
|
+
|
|
1
16
|
## 1.0.0-next.32 (2025-03-06)
|
|
2
17
|
|
|
3
18
|
### 🚀 Features
|
package/dist/index.js
CHANGED
|
@@ -873,7 +873,15 @@ function OryForm({ children, onAfterSubmit }) {
|
|
|
873
873
|
}
|
|
874
874
|
);
|
|
875
875
|
}
|
|
876
|
-
var messageIdsToHide = [
|
|
876
|
+
var messageIdsToHide = [
|
|
877
|
+
1040009,
|
|
878
|
+
1060003,
|
|
879
|
+
1080003,
|
|
880
|
+
1010004,
|
|
881
|
+
1010014,
|
|
882
|
+
1040005,
|
|
883
|
+
1010016
|
|
884
|
+
];
|
|
877
885
|
function OryCardValidationMessages({ ...props }) {
|
|
878
886
|
var _a;
|
|
879
887
|
const { flow } = useOryFlow();
|
|
@@ -1046,7 +1054,7 @@ function isUINodeGroupEnum(method) {
|
|
|
1046
1054
|
return Object.values(clientFetch.UiNodeGroupEnum).includes(method);
|
|
1047
1055
|
}
|
|
1048
1056
|
function OryTwoStepCard() {
|
|
1049
|
-
var _a, _b, _c, _d
|
|
1057
|
+
var _a, _b, _c, _d;
|
|
1050
1058
|
const { Form, Card } = useComponents();
|
|
1051
1059
|
const { flow, flowType, formState, dispatchFormState } = useOryFlow();
|
|
1052
1060
|
const { ui } = flow;
|
|
@@ -1087,7 +1095,6 @@ function OryTwoStepCard() {
|
|
|
1087
1095
|
};
|
|
1088
1096
|
}
|
|
1089
1097
|
}
|
|
1090
|
-
const hasError = Boolean((_e = ui.messages) == null ? void 0 : _e.some((m) => m.type === "error"));
|
|
1091
1098
|
const nonOidcNodes = filterOidcOut(ui.nodes);
|
|
1092
1099
|
const finalNodes = formState.current === "method_active" ? getFinalNodes(uniqueGroups.groups, formState.method) : [];
|
|
1093
1100
|
const handleAfterFormSubmit = (method) => {
|
|
@@ -1106,7 +1113,7 @@ function OryTwoStepCard() {
|
|
|
1106
1113
|
return /* @__PURE__ */ jsxRuntime.jsxs(OryCard, { children: [
|
|
1107
1114
|
/* @__PURE__ */ jsxRuntime.jsx(OryCardHeader, {}),
|
|
1108
1115
|
/* @__PURE__ */ jsxRuntime.jsxs(OryCardContent, { children: [
|
|
1109
|
-
|
|
1116
|
+
/* @__PURE__ */ jsxRuntime.jsx(OryCardValidationMessages, {}),
|
|
1110
1117
|
showOidc && /* @__PURE__ */ jsxRuntime.jsx(OryFormSocialButtonsForm, {}),
|
|
1111
1118
|
/* @__PURE__ */ jsxRuntime.jsxs(OryForm, { onAfterSubmit: handleAfterFormSubmit, children: [
|
|
1112
1119
|
/* @__PURE__ */ jsxRuntime.jsxs(Form.Group, { children: [
|