coral-plus 0.0.20 → 0.0.21

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.
Files changed (2) hide show
  1. package/dist/coralPlus.js +12 -11
  2. package/package.json +1 -1
package/dist/coralPlus.js CHANGED
@@ -36216,16 +36216,17 @@ function ab({ formRef: e, showError: t = !1, setShowError: n = () => {
36216
36216
  document.getElementById("coralPlus")?.scrollIntoView({ behavior: "smooth" });
36217
36217
  }, 0);
36218
36218
  }, x = async () => {
36219
- if (s(), e) try {
36220
- m({
36221
- type: "NEXT_STEP",
36222
- payload: { formData: await e.current.validate() }
36223
- }), E();
36224
- } catch {
36225
- return;
36226
- }
36227
- else
36228
- m({ type: "NEXT_STEP" }), E();
36219
+ if (!(u === 0 && C === "cky"))
36220
+ if (s(), e) try {
36221
+ m({
36222
+ type: "NEXT_STEP",
36223
+ payload: { formData: await e.current.validate() }
36224
+ }), E();
36225
+ } catch {
36226
+ return;
36227
+ }
36228
+ else
36229
+ m({ type: "NEXT_STEP" }), E();
36229
36230
  };
36230
36231
  (0, c.useEffect)(() => {
36231
36232
  if (u !== 0) return;
@@ -36275,7 +36276,7 @@ function ab({ formRef: e, showError: t = !1, setShowError: n = () => {
36275
36276
  height: "auto",
36276
36277
  color: "var(--white)"
36277
36278
  },
36278
- onClick: u === 0 && C === "cky" ? x : void 0,
36279
+ onClick: x,
36279
36280
  className: u === 0 && C === "cky" ? "cky-banner-element" : "",
36280
36281
  children: vt[g]?.translations?.common?.btnNext
36281
36282
  }),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "coral-plus",
3
3
  "private": false,
4
- "version": "0.0.20",
4
+ "version": "0.0.21",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",