@ukpc-lib/react 0.13.1-dev.26 → 0.13.1-dev.27

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 (26) hide show
  1. package/dist/components/StyledDateRangePicker/index.d.ts +0 -1
  2. package/dist/components/index.cjs +2 -2
  3. package/dist/components/index.js +584 -586
  4. package/dist/{index.esm2017-DiJ5f9ER.js → index.esm2017-hAdqPAqn.js} +5550 -5539
  5. package/dist/{index.esm2017-BRdyW06b.cjs → index.esm2017-xBWZcO2U.cjs} +94 -94
  6. package/dist/share/index.cjs +1 -1
  7. package/dist/share/index.js +12 -12
  8. package/package.json +1 -1
  9. package/web-components-bundle/{SaasThemeProvider-8W2MaSUF.js → SaasThemeProvider-A_eMJWqw.js} +9 -9
  10. package/web-components-bundle/access-denied/index.js +2 -3
  11. package/web-components-bundle/base-breadcrumbs/index.js +3 -3
  12. package/web-components-bundle/favorite-menu/index.js +7 -7
  13. package/web-components-bundle/global-menu/index.js +6 -6
  14. package/web-components-bundle/global-topbar/index.js +7 -7
  15. package/web-components-bundle/has-permission/index.js +2 -2
  16. package/web-components-bundle/{index-CHcaOev7.js → index-CE4KNS10.js} +946 -946
  17. package/web-components-bundle/{index-Bu7DHdEJ.js → index-DFUmn1bB.js} +18 -20
  18. package/web-components-bundle/index-DQQeBZzF.js +3527 -0
  19. package/web-components-bundle/{index-CDpevgH4.js → index-fssXU5ga.js} +7265 -7253
  20. package/web-components-bundle/page-not-found/index.js +4 -5
  21. package/web-components-bundle/{react-to-web-component-CXwKHjZr.js → react-to-web-component-BOygDorD.js} +1535 -1527
  22. package/web-components-bundle/{react-toastify.esm-CrTD7cpE.js → react-toastify.esm-DnABvuky.js} +21 -21
  23. package/web-components-bundle/toast-config/index.js +2 -2
  24. package/web-components-bundle/toast-config-notification/index.js +2 -2
  25. package/web-components-bundle/index-Bk42Mf7H.js +0 -3206
  26. package/web-components-bundle/useTranslation-Xt9Mgi4Q.js +0 -337
@@ -1,18 +1,17 @@
1
- import { j as e, s as a } from "./react-to-web-component-CXwKHjZr.js";
2
- import { u as s } from "./SaasThemeProvider-8W2MaSUF.js";
3
- import { u as l } from "./useTranslation-Xt9Mgi4Q.js";
4
- const d = "*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}";
5
- function c({ children: t, styles: o = [], ...i }) {
1
+ import { j as e, s as a } from "./react-to-web-component-BOygDorD.js";
2
+ import { u as s } from "./SaasThemeProvider-A_eMJWqw.js";
3
+ const l = "*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}";
4
+ function d({ children: t, styles: o = [], ...i }) {
6
5
  return /* @__PURE__ */ e.jsxs("div", { ...i, children: [
7
- [d, ...o].map((n, r) => /* @__PURE__ */ e.jsx("style", { type: "text/css", children: n }, r)),
6
+ [l, ...o].map((n, r) => /* @__PURE__ */ e.jsx("style", { type: "text/css", children: n }, r)),
8
7
  t
9
8
  ] });
10
9
  }
11
- const p = ".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}", u = () => {
12
- const { t } = l(), o = () => {
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
+ const t = () => {
13
12
  window.location.href = `${window.location.origin}/home`;
14
- }, { colors: i } = s();
15
- return /* @__PURE__ */ e.jsx(c, { styles: [p], children: /* @__PURE__ */ e.jsxs("div", { className: "pnf-container", children: [
13
+ }, { colors: o } = s();
14
+ return /* @__PURE__ */ e.jsx(d, { styles: [c], children: /* @__PURE__ */ e.jsxs("div", { className: "pnf-container", children: [
16
15
  /* @__PURE__ */ e.jsx(
17
16
  "img",
18
17
  {
@@ -23,30 +22,29 @@ const p = ".pnf-button-primary{font-size:14px;background-color:var(--primary300)
23
22
  }
24
23
  ),
25
24
  /* @__PURE__ */ e.jsxs("div", { className: "pnf-content-wrapper", children: [
26
- /* @__PURE__ */ e.jsx("h4", { className: "pnf-title", children: t("components.pageNotFound.title", { defaultValue: "Page Not Found" }) }),
25
+ /* @__PURE__ */ e.jsx("h4", { className: "pnf-title", children: "Page Not Found" }),
27
26
  /* @__PURE__ */ e.jsxs("p", { className: "pnf-description", children: [
28
- t("components.pageNotFound.description1", { defaultValue: "We’re sorry. The page you requested could not be found." }),
29
- " ",
27
+ "We’re sorry. The page you requested could not be found. ",
30
28
  /* @__PURE__ */ e.jsx("br", {}),
31
- t("components.pageNotFound.description2", { defaultValue: "Please go back to the home page" })
29
+ "Please go back to the home page"
32
30
  ] }),
33
31
  /* @__PURE__ */ e.jsx(
34
32
  "button",
35
33
  {
36
34
  className: "pnf-button-primary",
37
- style: { backgroundColor: `${i.primary300}` },
38
- onClick: o,
39
- children: t("components.pageNotFound.buttonGoHome", { defaultValue: "Go to homepage" })
35
+ style: { backgroundColor: `${o.primary300}` },
36
+ onClick: t,
37
+ children: "Go to homepage"
40
38
  }
41
39
  )
42
40
  ] })
43
41
  ] }) });
44
- }, h = () => /* @__PURE__ */ e.jsx(u, {});
42
+ }, h = () => /* @__PURE__ */ e.jsx(p, {});
45
43
  {
46
44
  const t = a(h);
47
45
  customElements.define("page-not-found", t);
48
46
  }
49
47
  export {
50
- u as P,
51
- c as S
48
+ p as P,
49
+ d as S
52
50
  };