shadcn-zod-formkit 3.9.2 → 3.9.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.cjs CHANGED
@@ -12783,7 +12783,7 @@ var KeyboardQwerty = ({ onKeyPress, onEnter, keyFontSize = "text-2xl", onDelete,
12783
12783
  }, className: "bg-red-200 text-xs", style: { backgroundColor: "#faba005e" } };
12784
12784
  const btnEsc = { label: "esc", onClick: () => {
12785
12785
  setIsOpen(false);
12786
- }, className: "", style: { backgroundColor: "#ffc0c0" } };
12786
+ }, className: "", style: { backgroundColor: "#ffc0c05e" } };
12787
12787
  const btnEnter = { label: "Enter", onClick: onEnter, className: "flex-[2] bg-green-200", style: { backgroundColor: "#008f003d" } };
12788
12788
  if (mode === "symbols") {
12789
12789
  const keys = [
@@ -17177,13 +17177,13 @@ var FormFieldsGrid = ({
17177
17177
  );
17178
17178
  }) });
17179
17179
  };
17180
- var DynamicSheetKeyboard = ({ currentInputField, children, input, className, childClassName, keyFontSize = "text-base" }) => {
17180
+ var DynamicSheetKeyboard = ({ currentInputField, children, input, className, childClassName, keyFontSize = "text-base", isDynamic = false }) => {
17181
17181
  const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
17182
17182
  " ",
17183
17183
  KeyboardFactory.create(currentInputField?.input.keyboard ?? "qwerty" /* QWERTY */, input, children),
17184
17184
  " "
17185
17185
  ] });
17186
- const { setCurrentInputField } = useKeyboardStore();
17186
+ const { setCurrentInputField, isOpenDynamic } = useKeyboardStore();
17187
17187
  const [container, setContainer] = React3.useState(content);
17188
17188
  React3.useEffect(() => {
17189
17189
  if (!currentInputField) setCurrentInputField(null);
@@ -17193,7 +17193,7 @@ var DynamicSheetKeyboard = ({ currentInputField, children, input, className, chi
17193
17193
  " "
17194
17194
  ] }));
17195
17195
  }, [children]);
17196
- return /* @__PURE__ */ jsxRuntime.jsx(CustomSheet, { children: container, className, isDynamic: true });
17196
+ return /* @__PURE__ */ jsxRuntime.jsx(CustomSheet, { children: container, className, isDynamic });
17197
17197
  };
17198
17198
  var DynamicForm = ({
17199
17199
  formTitle,