@isettingkit/business-rules 2.0.3 → 2.0.4

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.
@@ -105,7 +105,8 @@ export declare const getConditionsByGroup: (decision: IRuleDecision) => {};
105
105
  export declare interface IBackAndNextButton extends Omit<IButton, "onClick" | "path" | "children"> {
106
106
  handleBack: () => void;
107
107
  handleNext: () => void;
108
- disabled: boolean;
108
+ disabledBack: boolean;
109
+ disabledNext: boolean;
109
110
  loading: boolean;
110
111
  textValues: {
111
112
  back: string;
package/dist/index.es.js CHANGED
@@ -4781,7 +4781,7 @@ const On = {
4781
4781
  }
4782
4782
  }
4783
4783
  `, Di = (e) => {
4784
- const { handleBack: n, handleNext: t, textValues: r } = e;
4784
+ const { handleBack: n, handleNext: t, disabledBack: r, disabledNext: o, textValues: a } = e;
4785
4785
  return /* @__PURE__ */ v(Da, { children: [
4786
4786
  /* @__PURE__ */ i(
4787
4787
  B,
@@ -4790,7 +4790,8 @@ const On = {
4790
4790
  iconBefore: /* @__PURE__ */ i(wt, {}),
4791
4791
  variant: "none",
4792
4792
  onClick: n,
4793
- children: r.back
4793
+ children: a.back,
4794
+ disabled: r
4794
4795
  }
4795
4796
  ),
4796
4797
  /* @__PURE__ */ i(
@@ -4800,7 +4801,8 @@ const On = {
4800
4801
  iconBefore: /* @__PURE__ */ i(Dt, {}),
4801
4802
  variant: "none",
4802
4803
  onClick: t,
4803
- children: r.next
4804
+ children: a.next,
4805
+ disabled: o
4804
4806
  }
4805
4807
  )
4806
4808
  ] });
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  ],
11
11
  "description": "",
12
12
  "private": false,
13
- "version": "2.0.3",
13
+ "version": "2.0.4",
14
14
  "type": "module",
15
15
  "exports": {
16
16
  ".": {