@ory/elements-react 1.0.0-next.1 → 1.0.0-next.3

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/dist/index.mjs CHANGED
@@ -213,7 +213,7 @@ var require_react_is_development = __commonJS({
213
213
  var ContextProvider = REACT_PROVIDER_TYPE;
214
214
  var Element = REACT_ELEMENT_TYPE;
215
215
  var ForwardRef = REACT_FORWARD_REF_TYPE;
216
- var Fragment5 = REACT_FRAGMENT_TYPE;
216
+ var Fragment6 = REACT_FRAGMENT_TYPE;
217
217
  var Lazy = REACT_LAZY_TYPE;
218
218
  var Memo = REACT_MEMO_TYPE;
219
219
  var Portal = REACT_PORTAL_TYPE;
@@ -272,7 +272,7 @@ var require_react_is_development = __commonJS({
272
272
  exports.ContextProvider = ContextProvider;
273
273
  exports.Element = Element;
274
274
  exports.ForwardRef = ForwardRef;
275
- exports.Fragment = Fragment5;
275
+ exports.Fragment = Fragment6;
276
276
  exports.Lazy = Lazy;
277
277
  exports.Memo = Memo;
278
278
  exports.Portal = Portal;
@@ -4782,17 +4782,23 @@ var NodeInput = ({
4782
4782
  }
4783
4783
  );
4784
4784
  case UiNodeInputAttributesTypeEnum.Hidden:
4785
- if (isCurrentIdentifier) {
4786
- return /* @__PURE__ */ jsx(Components.CurrentIdentifierButton, { attributes: attrs, node });
4787
- }
4788
- return /* @__PURE__ */ jsx(
4789
- Components.Input,
4790
- {
4791
- attributes: attrs,
4792
- node,
4793
- onClick: handleClick
4794
- }
4795
- );
4785
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
4786
+ isCurrentIdentifier && /* @__PURE__ */ jsx(
4787
+ Components.CurrentIdentifierButton,
4788
+ {
4789
+ attributes: attrs,
4790
+ node
4791
+ }
4792
+ ),
4793
+ /* @__PURE__ */ jsx(
4794
+ Components.Input,
4795
+ {
4796
+ attributes: attrs,
4797
+ node,
4798
+ onClick: handleClick
4799
+ }
4800
+ )
4801
+ ] });
4796
4802
  default:
4797
4803
  if (isPinCodeInput) {
4798
4804
  return /* @__PURE__ */ jsx(Components.Label, { attributes: attrs, node, children: /* @__PURE__ */ jsx(