@ory/elements-react 0.0.0-pr.6b3fe62 → 0.0.0-pr.7af5f16
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 +22 -0
- package/dist/index.js +18 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -10
- package/dist/index.mjs.map +1 -1
- package/dist/theme/default/index.js +7 -5
- package/dist/theme/default/index.js.map +1 -1
- package/dist/theme/default/index.mjs +16 -14
- package/dist/theme/default/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1400,6 +1400,7 @@ var DefaultButton = ({
|
|
|
1400
1400
|
label: _ignoredLabel,
|
|
1401
1401
|
node_type: _ignoredNodeType,
|
|
1402
1402
|
maxlength: _ignoredMaxLength,
|
|
1403
|
+
onclick: _ignoredOnClick,
|
|
1403
1404
|
// End of skipped attributes
|
|
1404
1405
|
...rest
|
|
1405
1406
|
} = attributes;
|
|
@@ -1690,7 +1691,7 @@ var React24 = __toESM(require("react"));
|
|
|
1690
1691
|
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
1691
1692
|
var SvgEyeOff = (props) => {
|
|
1692
1693
|
var _a, _b;
|
|
1693
|
-
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("path", { stroke: "
|
|
1694
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M10.585 10.587a2 2 0 0 0 2.829 2.828m3.267 3.258A8.7 8.7 0 0 1 12 18q-5.4 0-9-6 1.908-3.18 4.32-4.674m2.86-1.146A9 9 0 0 1 12 6q5.4 0 9 6-1 1.665-2.138 2.87M3 3l18 18" }) });
|
|
1694
1695
|
};
|
|
1695
1696
|
var eye_off_default = SvgEyeOff;
|
|
1696
1697
|
|
|
@@ -1699,9 +1700,9 @@ var React25 = __toESM(require("react"));
|
|
|
1699
1700
|
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
1700
1701
|
var SvgEye = (props) => {
|
|
1701
1702
|
var _a, _b;
|
|
1702
|
-
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("g", { strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
1703
|
-
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("path", {
|
|
1704
|
-
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("path", {
|
|
1703
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("g", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
1704
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("path", { d: "M10 12a2 2 0 1 0 4 0 2 2 0 0 0-4 0" }),
|
|
1705
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("path", { d: "M21 12q-3.6 6-9 6t-9-6q3.6-6 9-6t9 6" })
|
|
1705
1706
|
] }) });
|
|
1706
1707
|
};
|
|
1707
1708
|
var eye_default = SvgEye;
|
|
@@ -1714,7 +1715,7 @@ var DefaultInput = ({
|
|
|
1714
1715
|
onClick
|
|
1715
1716
|
}) => {
|
|
1716
1717
|
const label = (0, import_client_fetch12.getNodeLabel)(node);
|
|
1717
|
-
const { register
|
|
1718
|
+
const { register } = (0, import_react_hook_form5.useFormContext)();
|
|
1718
1719
|
const {
|
|
1719
1720
|
value,
|
|
1720
1721
|
autocomplete,
|
|
@@ -2912,6 +2913,7 @@ function DefaultConsentScopeCheckbox({
|
|
|
2912
2913
|
defaultMessage: []
|
|
2913
2914
|
}),
|
|
2914
2915
|
className: "col-span-2",
|
|
2916
|
+
"data-testid": "ory/screen/consent/scope-checkbox-label",
|
|
2915
2917
|
children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
2916
2918
|
Switch.Root,
|
|
2917
2919
|
{
|