@ukpc-lib/react 0.3.8 → 0.3.9

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.
@@ -1,4 +1,4 @@
1
- "use strict";const D=require("./react-to-web-component-3847ebf5.cjs"),ue=require("./index-dbeb16d9.cjs"),Vs=require("./index-e2216c19.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 ${ue.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"),ue=require("./index-e7363fc8.cjs"),Vs=require("./index-e2216c19.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 ${ue.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 Xs, c as ha, b as Ix, s as nm, d as Ox } from "./react-to-web-component-642fb54e.js";
2
- import { c as rd, _ as Le, a as nr, b as Rx, o as Px, d as Nx, e as fo, p as ho, n as Lx, l as Qp, E as $x, S as Fx, L as Yx } from "./index-891f4d7f.js";
2
+ import { c as rd, _ as Le, a as nr, b as Rx, o as Px, d as Nx, e as fo, p as ho, n as Lx, l as Qp, E as $x, S as Fx, L as Yx } from "./index-4e5e6ddd.js";
3
3
  import { _ as Bx, t as eg, L as tg, i as Wx } from "./index-9a8e49f4.js";
4
4
  function rm(e) {
5
5
  var t, r, a = "";