@ukpc-lib/react 0.3.3 → 0.3.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.
Files changed (31) hide show
  1. package/dist/components/GlobalMenu/components/MenuItem.d.ts +1 -1
  2. package/dist/components/index.cjs +1 -1
  3. package/dist/components/index.js +3 -3
  4. package/dist/index-2ca7cc99.js +636 -0
  5. package/dist/index-5840ed79.cjs +1 -0
  6. package/dist/{index.module-be2c9027.cjs → index.module-28c2f9be.cjs} +116 -116
  7. package/dist/{index.module-fcfb53fb.js → index.module-d03675ea.js} +6673 -7185
  8. package/dist/share/index.cjs +1 -1
  9. package/dist/share/index.d.ts +1 -1
  10. package/dist/share/index.js +26 -25
  11. package/dist/theme/Theme.d.ts +1 -1
  12. package/dist/theme/index.cjs +1 -1
  13. package/dist/theme/index.d.ts +26 -3
  14. package/dist/theme/index.js +7 -459
  15. package/package.json +1 -1
  16. package/web-components-bundle/global-menu/index.cjs +1 -1
  17. package/web-components-bundle/global-menu/index.js +1 -1
  18. package/web-components-bundle/global-topbar/index.cjs +1 -1
  19. package/web-components-bundle/global-topbar/index.js +2 -2
  20. package/web-components-bundle/has-permission/index.cjs +1 -1
  21. package/web-components-bundle/has-permission/index.js +2 -2
  22. package/web-components-bundle/{index-ff7fd2be.cjs → index-12495706.cjs} +1 -1
  23. package/web-components-bundle/{index-8081b070.js → index-21a54132.js} +1 -1
  24. package/web-components-bundle/{index-c311c558.cjs → index-25f216cc.cjs} +16 -16
  25. package/web-components-bundle/{index-feebf9bf.js → index-c5021c14.js} +856 -882
  26. package/dist/index-5bc96a1f.js +0 -147
  27. package/dist/index-b3ac4c73.cjs +0 -1
  28. package/dist/share/BrandThemeProvider/Colors.d.ts +0 -33
  29. package/dist/share/BrandThemeProvider/Theme.d.ts +0 -21
  30. package/dist/share/BrandThemeProvider/index.d.ts +0 -15
  31. package/dist/theme/SaasThemeProvider.d.ts +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";const D=require("./react-to-web-component-3847ebf5.cjs"),ce=require("./index-c311c558.cjs"),Iu=require("./index-389a5bed.cjs");function qg(e){var t,r,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=qg(e[t]))&&(s&&(s+=" "),s+=r)}else for(r in e)e[r]&&(s&&(s+=" "),s+=r);return s}function Zn(){for(var e,t,r=0,s="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=qg(e))&&(s&&(s+=" "),s+=t);return s}function ww({primaryColor:e="#009d4f"}){return D.jsxRuntimeExports.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",children:[D.jsxRuntimeExports.jsx("path",{d:"M8.5 19.5H8C4 19.5 2 18.5 2 13.5V8.5C2 4.5 4 2.5 8 2.5H16C20 2.5 22 4.5 22 8.5V13.5C22 17.5 20 19.5 16 19.5H15.5C15.19 19.5 14.89 19.65 14.7 19.9L13.2 21.9C12.54 22.78 11.46 22.78 10.8 21.9L9.3 19.9C9.14 19.68 8.77 19.5 8.5 19.5Z",stroke:e,"stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}),D.jsxRuntimeExports.jsx("path",{d:"M15.9965 11.5H16.0054",stroke:e,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),D.jsxRuntimeExports.jsx("path",{d:"M11.9955 11.5H12.0045",stroke:e,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),D.jsxRuntimeExports.jsx("path",{d:"M7.99451 11.5H8.00349",stroke:e,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})]})}const Sw=e=>{const{tabs:t}=e,r=s=>{e.setCurrentTab(s.target.id)};return D.jsxRuntimeExports.jsxs("div",{className:"tab-container",children:[D.jsxRuntimeExports.jsx("div",{style:{display:"flex",width:"100%",height:"50px",borderBottom:`1px solid ${ce.color.grey200}`},className:"tab-container__title",children:t.map((s,o)=>D.jsxRuntimeExports.jsx("button",{id:s.id,disabled:e.currentTab===`${s.id}`,onClick:r,className:`tab-title ${e.currentTab===`${s.id}`?"is-active":""}`,children:s.tabTitle},o))}),D.jsxRuntimeExports.jsx("div",{className:"tab-content",children:t.map((s,o)=>D.jsxRuntimeExports.jsx("div",{children:e.currentTab===`${s.id}`&&D.jsxRuntimeExports.jsx("div",{children:s.children})},o))})]})};//! moment.js
1
+ "use strict";const D=require("./react-to-web-component-3847ebf5.cjs"),ce=require("./index-25f216cc.cjs"),Iu=require("./index-389a5bed.cjs");function qg(e){var t,r,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=qg(e[t]))&&(s&&(s+=" "),s+=r)}else for(r in e)e[r]&&(s&&(s+=" "),s+=r);return s}function Zn(){for(var e,t,r=0,s="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=qg(e))&&(s&&(s+=" "),s+=t);return s}function ww({primaryColor:e="#009d4f"}){return D.jsxRuntimeExports.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",children:[D.jsxRuntimeExports.jsx("path",{d:"M8.5 19.5H8C4 19.5 2 18.5 2 13.5V8.5C2 4.5 4 2.5 8 2.5H16C20 2.5 22 4.5 22 8.5V13.5C22 17.5 20 19.5 16 19.5H15.5C15.19 19.5 14.89 19.65 14.7 19.9L13.2 21.9C12.54 22.78 11.46 22.78 10.8 21.9L9.3 19.9C9.14 19.68 8.77 19.5 8.5 19.5Z",stroke:e,"stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}),D.jsxRuntimeExports.jsx("path",{d:"M15.9965 11.5H16.0054",stroke:e,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),D.jsxRuntimeExports.jsx("path",{d:"M11.9955 11.5H12.0045",stroke:e,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),D.jsxRuntimeExports.jsx("path",{d:"M7.99451 11.5H8.00349",stroke:e,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})]})}const Sw=e=>{const{tabs:t}=e,r=s=>{e.setCurrentTab(s.target.id)};return D.jsxRuntimeExports.jsxs("div",{className:"tab-container",children:[D.jsxRuntimeExports.jsx("div",{style:{display:"flex",width:"100%",height:"50px",borderBottom:`1px solid ${ce.color.grey200}`},className:"tab-container__title",children:t.map((s,o)=>D.jsxRuntimeExports.jsx("button",{id:s.id,disabled:e.currentTab===`${s.id}`,onClick:r,className:`tab-title ${e.currentTab===`${s.id}`?"is-active":""}`,children:s.tabTitle},o))}),D.jsxRuntimeExports.jsx("div",{className:"tab-content",children:t.map((s,o)=>D.jsxRuntimeExports.jsx("div",{children:e.currentTab===`${s.id}`&&D.jsxRuntimeExports.jsx("div",{children:s.children})},o))})]})};//! moment.js
2
2
  //! version : 2.30.1
3
3
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
4
4
  //! license : MIT
@@ -1,5 +1,5 @@
1
1
  import { j as V, r as ee, R as Jp, g as _r, a as Js, c as ha, s as em, b as Ex, d as Ax } from "./react-to-web-component-469d91d4.js";
2
- import { c as rd, a as ns, p as rl, _ as Le, b as nr, d as Ix, o as Ox, e as Rx, n as Px, S as Nx, L as Lx } from "./index-feebf9bf.js";
2
+ import { c as rd, a as ns, p as rl, _ as Le, b as nr, d as Ix, o as Ox, e as Rx, n as Px, S as Nx, L as Lx } from "./index-c5021c14.js";
3
3
  import { _ as $x, L as Qp, i as Fx } from "./index-bf404503.js";
4
4
  function tm(e) {
5
5
  var t, r, a = "";