@ukpc-lib/react 0.16.13 → 0.16.14-sandbox.saas-10034.patch-1

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.
@@ -7684,7 +7684,7 @@ const Yr = (e) => {
7684
7684
  providers: t
7685
7685
  }) => /* @__PURE__ */ f(ve, { children: t.reduceRight(_1, e) }), E1 = ".pnf-button-primary{font-size:14px;background-color:var(--primary300);color:var(--buttonText);padding:8px 24px;border-radius:4px;border:none;cursor:pointer;transition:background-color .25s cubic-bezier(.4,0,.2,1),box-shadow .25s cubic-bezier(.4,0,.2,1),border-color .25s cubic-bezier(.4,0,.2,1),color .25s cubic-bezier(.4,0,.2,1)}.pnf-button-primary:hover{background-color:var(--buttonHover)}.pnf-container{padding-top:16px;padding-bottom:16px;gap:16px;display:flex;flex-direction:column;align-items:center;font-family:inherit}.pnf-content-wrapper{display:flex;flex-direction:column;gap:8px;align-items:center}.pnf-title{text-align:center;font-size:1.25rem;font-weight:500;margin:0}.pnf-description{text-align:center;color:#85858a;font-size:.875rem;font-weight:400;margin:0}", eu = () => {
7686
7686
  const e = () => {
7687
- window.top && (window.top.location.href = "/app/home");
7687
+ window.location.href = `${window.location.origin}/home`;
7688
7688
  }, { colors: t } = Pn();
7689
7689
  return /* @__PURE__ */ f(Jr, { styles: [E1], children: /* @__PURE__ */ A("div", { className: "pnf-container", children: [
7690
7690
  /* @__PURE__ */ f(
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ukpc-lib/react",
3
3
  "private": false,
4
- "version": "0.16.13",
4
+ "version": "0.16.14-sandbox.saas-10034.patch-1",
5
5
  "type": "module",
6
6
  "main": "./dist/",
7
7
  "module": "./dist/",
@@ -1,6 +1,6 @@
1
1
  import "../react-to-web-component-BOygDorD.js";
2
- import { F, u as v } from "../index-DpGLRoMh.js";
3
- import "../index-BwEhsh9S.js";
2
+ import { F, u as v } from "../index-c4xbjALW.js";
3
+ import "../index-DFUmn1bB.js";
4
4
  import "../index-760z9lEs.js";
5
5
  import "../react-toastify.esm-DnABvuky.js";
6
6
  import "../toast-config/index.js";
@@ -1,6 +1,6 @@
1
1
  import "../react-to-web-component-BOygDorD.js";
2
- import { G as e } from "../index-DpGLRoMh.js";
3
- import "../index-BwEhsh9S.js";
2
+ import { G as e } from "../index-c4xbjALW.js";
3
+ import "../index-DFUmn1bB.js";
4
4
  import "../index-760z9lEs.js";
5
5
  import "../SaasThemeProvider-A_eMJWqw.js";
6
6
  import "../index-CiYHK3Rq.js";
@@ -1,6 +1,6 @@
1
1
  import "../react-to-web-component-BOygDorD.js";
2
- import { L as s, T as L } from "../index-DpGLRoMh.js";
3
- import "../index-BwEhsh9S.js";
2
+ import { L as s, T as L } from "../index-c4xbjALW.js";
3
+ import "../index-DFUmn1bB.js";
4
4
  import "../index-CiYHK3Rq.js";
5
5
  import "../index-760z9lEs.js";
6
6
  import "../SaasThemeProvider-A_eMJWqw.js";
@@ -1,5 +1,5 @@
1
1
  import "../react-to-web-component-BOygDorD.js";
2
- import { H as o, g as r } from "../index-DpGLRoMh.js";
2
+ import { H as o, g as r } from "../index-c4xbjALW.js";
3
3
  export {
4
4
  o as HasPermission,
5
5
  r as getUseHasPermission
@@ -9,7 +9,7 @@ function d({ children: t, styles: o = [], ...i }) {
9
9
  }
10
10
  const c = ".pnf-button-primary{font-size:14px;background-color:var(--primary300);color:var(--buttonText);padding:8px 24px;border-radius:4px;border:none;cursor:pointer;transition:background-color .25s cubic-bezier(.4,0,.2,1),box-shadow .25s cubic-bezier(.4,0,.2,1),border-color .25s cubic-bezier(.4,0,.2,1),color .25s cubic-bezier(.4,0,.2,1)}.pnf-button-primary:hover{background-color:var(--buttonHover)}.pnf-container{padding-top:16px;padding-bottom:16px;gap:16px;display:flex;flex-direction:column;align-items:center;font-family:inherit}.pnf-content-wrapper{display:flex;flex-direction:column;gap:8px;align-items:center}.pnf-title{text-align:center;font-size:1.25rem;font-weight:500;margin:0}.pnf-description{text-align:center;color:#85858a;font-size:.875rem;font-weight:400;margin:0}", p = () => {
11
11
  const t = () => {
12
- window.top && (window.top.location.href = "/app/home");
12
+ window.location.href = `${window.location.origin}/home`;
13
13
  }, { colors: o } = s();
14
14
  return /* @__PURE__ */ e.jsx(d, { styles: [c], children: /* @__PURE__ */ e.jsxs("div", { className: "pnf-container", children: [
15
15
  /* @__PURE__ */ e.jsx(