@bigbinary/neeto-rules-frontend 2.5.7 → 2.5.8

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.
@@ -4857,25 +4857,28 @@ var Form = function Form(_ref) {
4857
4857
  values = _ref2.values,
4858
4858
  fromikBag = _objectWithoutProperties(_ref2, _excluded);
4859
4859
  return /*#__PURE__*/jsxRuntime.jsxs(formik.Form, {
4860
+ className: classNames(["w-full px-0 md:px-14 xl:px-24", className]),
4860
4861
  ref: formRef,
4861
- className: classNames(["w-full space-y-6 px-0 md:px-14 xl:px-24", className]),
4862
- children: [/*#__PURE__*/jsxRuntime.jsx(InputField, {
4863
- required: true,
4864
- data: initialValues,
4865
- label: t("neetoRules.common.name"),
4866
- name: "name"
4867
- }), /*#__PURE__*/jsxRuntime.jsx(TextareaField, {
4868
- data: initialValues,
4869
- label: t("neetoRules.common.description"),
4870
- name: "description"
4871
- }), showStatusSwitch && /*#__PURE__*/jsxRuntime.jsx(Status, {}), typeof _children === "function" ? _children === null || _children === void 0 ? void 0 : _children(_objectSpread$1({
4872
- values: values,
4873
- formattedValues: buildPayload(data, values),
4874
- dirty: dirty
4875
- }, fromikBag)) : _children, /*#__PURE__*/jsxRuntime.jsx(ScrollToErrorField, {
4876
- formRef: formRef
4862
+ children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
4863
+ className: "space-y-6",
4864
+ children: [/*#__PURE__*/jsxRuntime.jsx(InputField, {
4865
+ required: true,
4866
+ data: initialValues,
4867
+ label: t("neetoRules.common.name"),
4868
+ name: "name"
4869
+ }), /*#__PURE__*/jsxRuntime.jsx(TextareaField, {
4870
+ data: initialValues,
4871
+ label: t("neetoRules.common.description"),
4872
+ name: "description"
4873
+ }), showStatusSwitch && /*#__PURE__*/jsxRuntime.jsx(Status, {}), typeof _children === "function" ? _children === null || _children === void 0 ? void 0 : _children(_objectSpread$1({
4874
+ values: values,
4875
+ formattedValues: buildPayload(data, values),
4876
+ dirty: dirty
4877
+ }, fromikBag)) : _children, /*#__PURE__*/jsxRuntime.jsx(ScrollToErrorField, {
4878
+ formRef: formRef
4879
+ })]
4877
4880
  }), /*#__PURE__*/jsxRuntime.jsx("div", {
4878
- className: "py-4",
4881
+ className: "neeto-ui-bg-white sticky bottom-0 py-6",
4879
4882
  children: /*#__PURE__*/jsxRuntime.jsx(ActionBlock, {
4880
4883
  cancelButtonProps: {
4881
4884
  onClick: handleCancel