@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.
@@ -4836,25 +4836,28 @@ var Form = function Form(_ref) {
4836
4836
  values = _ref2.values,
4837
4837
  fromikBag = _objectWithoutProperties(_ref2, _excluded);
4838
4838
  return /*#__PURE__*/jsxs(Form$1, {
4839
+ className: classNames(["w-full px-0 md:px-14 xl:px-24", className]),
4839
4840
  ref: formRef,
4840
- className: classNames(["w-full space-y-6 px-0 md:px-14 xl:px-24", className]),
4841
- children: [/*#__PURE__*/jsx(InputField, {
4842
- required: true,
4843
- data: initialValues,
4844
- label: t("neetoRules.common.name"),
4845
- name: "name"
4846
- }), /*#__PURE__*/jsx(TextareaField, {
4847
- data: initialValues,
4848
- label: t("neetoRules.common.description"),
4849
- name: "description"
4850
- }), showStatusSwitch && /*#__PURE__*/jsx(Status, {}), typeof _children === "function" ? _children === null || _children === void 0 ? void 0 : _children(_objectSpread$1({
4851
- values: values,
4852
- formattedValues: buildPayload(data, values),
4853
- dirty: dirty
4854
- }, fromikBag)) : _children, /*#__PURE__*/jsx(ScrollToErrorField, {
4855
- formRef: formRef
4841
+ children: [/*#__PURE__*/jsxs("div", {
4842
+ className: "space-y-6",
4843
+ children: [/*#__PURE__*/jsx(InputField, {
4844
+ required: true,
4845
+ data: initialValues,
4846
+ label: t("neetoRules.common.name"),
4847
+ name: "name"
4848
+ }), /*#__PURE__*/jsx(TextareaField, {
4849
+ data: initialValues,
4850
+ label: t("neetoRules.common.description"),
4851
+ name: "description"
4852
+ }), showStatusSwitch && /*#__PURE__*/jsx(Status, {}), typeof _children === "function" ? _children === null || _children === void 0 ? void 0 : _children(_objectSpread$1({
4853
+ values: values,
4854
+ formattedValues: buildPayload(data, values),
4855
+ dirty: dirty
4856
+ }, fromikBag)) : _children, /*#__PURE__*/jsx(ScrollToErrorField, {
4857
+ formRef: formRef
4858
+ })]
4856
4859
  }), /*#__PURE__*/jsx("div", {
4857
- className: "py-4",
4860
+ className: "neeto-ui-bg-white sticky bottom-0 py-6",
4858
4861
  children: /*#__PURE__*/jsx(ActionBlock, {
4859
4862
  cancelButtonProps: {
4860
4863
  onClick: handleCancel