@ukpc-lib/react 0.2.33 → 0.2.34
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.
- package/dist/components/GlobalMenu/components/Tooltip.d.ts +8 -0
- package/dist/components/index.cjs +22 -22
- package/dist/components/index.js +774 -724
- package/package.json +1 -1
- package/web-components-bundle/global-menu/index.cjs +1 -1
- package/web-components-bundle/global-menu/index.js +1 -1
- package/web-components-bundle/global-topbar/index.cjs +1 -1
- package/web-components-bundle/global-topbar/index.js +2 -2
- package/web-components-bundle/has-permission/index.cjs +1 -1
- package/web-components-bundle/has-permission/index.js +2 -2
- package/web-components-bundle/{index-94f3fa31.cjs → index-2111aa4b.cjs} +1 -1
- package/web-components-bundle/{index-8f3da76f.js → index-340d7782.js} +1 -1
- package/web-components-bundle/{index-9b037068.js → index-c8cf7c0f.js} +402 -352
- package/web-components-bundle/{index-c699dba7.cjs → index-fc7ef96b.cjs} +2 -2
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../react-to-web-component-5d347552.cjs");const e=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../react-to-web-component-5d347552.cjs");const e=require("../index-fc7ef96b.cjs");exports.GlobalMenu=e.GlobalMenu;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../react-to-web-component-5d347552.cjs");require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../react-to-web-component-5d347552.cjs");require("../index-fc7ef96b.cjs");const e=require("../index-2111aa4b.cjs");require("../index-090b40a1.cjs");exports.TopBar=e.TopBar;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../react-to-web-component-24d28041.js";
|
|
2
|
-
import "../index-
|
|
3
|
-
import { T as i } from "../index-
|
|
2
|
+
import "../index-c8cf7c0f.js";
|
|
3
|
+
import { T as i } from "../index-340d7782.js";
|
|
4
4
|
import "../index-9d0c4c92.js";
|
|
5
5
|
export {
|
|
6
6
|
i as TopBar
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../react-to-web-component-5d347552.cjs");const e=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../react-to-web-component-5d347552.cjs");const e=require("../index-2111aa4b.cjs");require("../index-fc7ef96b.cjs");require("../index-090b40a1.cjs");exports.HasPermission=e.HasPermission;exports.getUseHasPermission=e.getUseHasPermission;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../react-to-web-component-24d28041.js";
|
|
2
|
-
import { H as e, g as t } from "../index-
|
|
3
|
-
import "../index-
|
|
2
|
+
import { H as e, g as t } from "../index-340d7782.js";
|
|
3
|
+
import "../index-c8cf7c0f.js";
|
|
4
4
|
import "../index-9d0c4c92.js";
|
|
5
5
|
export {
|
|
6
6
|
e as HasPermission,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const T=require("./react-to-web-component-5d347552.cjs"),ce=require("./index-
|
|
1
|
+
"use strict";const T=require("./react-to-web-component-5d347552.cjs"),ce=require("./index-fc7ef96b.cjs"),Ou=require("./index-090b40a1.cjs");function Bg(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=Bg(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=Bg(e))&&(s&&(s+=" "),s+=t);return s}function bw({primaryColor:e="#009d4f"}){return T.jsxRuntimeExports.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",children:[T.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"}),T.jsxRuntimeExports.jsx("path",{d:"M15.9965 11.5H16.0054",stroke:e,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),T.jsxRuntimeExports.jsx("path",{d:"M11.9955 11.5H12.0045",stroke:e,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),T.jsxRuntimeExports.jsx("path",{d:"M7.99451 11.5H8.00349",stroke:e,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})]})}const xw=e=>{const{tabs:t}=e,r=s=>{e.setCurrentTab(s.target.id)};return T.jsxRuntimeExports.jsxs("div",{className:"tab-container",children:[T.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)=>T.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))}),T.jsxRuntimeExports.jsx("div",{className:"tab-content",children:t.map((s,o)=>T.jsxRuntimeExports.jsx("div",{children:e.currentTab===`${s.id}`&&T.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 q, r as ne, R as Zp, g as _r, a as Js, c as da, s as Xg, b as Dx } from "./react-to-web-component-24d28041.js";
|
|
2
|
-
import { c as rd, _ as Le, a as nr, b as Tx, o as Mx, d as Ex, e as ts, p as qu, n as Ax, S as Ox, L as Ix } from "./index-
|
|
2
|
+
import { c as rd, _ as Le, a as nr, b as Tx, o as Mx, d as Ex, e as ts, p as qu, n as Ax, S as Ox, L as Ix } from "./index-c8cf7c0f.js";
|
|
3
3
|
import { _ as Rx, L as Xp, i as Px } from "./index-9d0c4c92.js";
|
|
4
4
|
function Jg(e) {
|
|
5
5
|
var t, r, a = "";
|