@devgateway/dvz-ui-react 1.9.10 → 1.9.11
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 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),u=require("react"),l=require("semantic-ui-react"),h=require("@devgateway/wp-react-lib"),S=require("react-intl"),A=require("react-redux"),y=require("../connected-templates/PostIntro.js"),L=require("../../lib/hooks/window-dimensions.js"),q=({posts:t,activeItem:
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),u=require("react"),l=require("semantic-ui-react"),h=require("@devgateway/wp-react-lib"),S=require("react-intl"),A=require("react-redux"),y=require("../connected-templates/PostIntro.js"),L=require("../../lib/hooks/window-dimensions.js"),q=({posts:t,activeItem:r,setActive:i,showLabels:n})=>t?t.map(s=>e.jsx(l.Menu.Item,{onClick:()=>i(s.slug),className:s.slug===r?"active":"",children:n?e.jsx(h.PostLabel,{post:s}):e.jsx(l.Label,{children:e.jsx("span",{dangerouslySetInnerHTML:{__html:s.title.rendered}})})},s.id)):null,$=({posts:t,activeItem:r,setActive:i,showIcons:n,showLabels:s})=>{const o=t.length;return t?t.map(a=>{var m,g;return(m=a._embedded)!=null&&m["wp:featuredmedia"]&&a._embedded["wp:featuredmedia"][0].source_url,e.jsx(l.Grid.Column,{className:(a.slug===r?"active":"")+(n?" has-icon":""),children:e.jsxs(l.Button,{onClick:()=>i(a.slug),className:`nav ${o===1?"one":""}`,children:[n&&e.jsx(h.MediaProvider,{id:(g=a.meta_fields)!=null&&g.icon?a.meta_fields.icon[0]:null,children:e.jsx(h.MediaConsumer,{children:e.jsx(h.PostIcon,{className:"icon"})})}),s?e.jsx(h.PostLabel,{post:a}):e.jsx(l.Label,{children:e.jsx("span",{dangerouslySetInnerHTML:{__html:a.title.rendered}})})]})},a.id)}):null},C=({posts:t,activeItem:r})=>(u.useEffect(()=>{const i=document.querySelector(".ui.container.content-tab");i&&(i.scrollTop=0)},[r]),t?t.map(i=>{let n={};return i.slug!==r?n={position:"absolute",left:"-3000px",width:"auto",height:"0px",overflow:"hidden",visibility:"hidden"}:n={visibility:"visible",position:"relative",width:"auto"},e.jsx(y.default,{as:l.Container,fluid:!0,post:i,style:n},i.slug)}):null),k=({posts:t,activeItem:r,setActive:i})=>{const[n,s]=u.useState(t.findIndex(d=>d.slug===r)),[o,a]=u.useState(null),m=u.useRef(null);u.useEffect(()=>{if(o){const d=o.getBoundingClientRect().top+window.scrollY;window.scrollTo({top:d,behavior:"smooth"})}},[o]);const g=(d,x)=>{const{index:c}=x,j=n===c?-1:c;s(j),i(t[c].slug),j!==-1&&a(d.currentTarget)};return e.jsx(l.Accordion,{fluid:!0,styled:!0,children:t.map((d,x)=>{var j;const c=(j=d.meta_fields)!=null&&j.icon?d.meta_fields.icon[0]:null;return e.jsxs(u.Fragment,{children:[e.jsx(l.Accordion.Title,{active:n===x,index:x,onClick:g,children:e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[c&&e.jsx(h.MediaProvider,{id:c,children:e.jsx(h.MediaConsumer,{children:e.jsx(h.PostIcon,{className:"icon"})})}),e.jsx("span",{dangerouslySetInnerHTML:{__html:d.title.rendered},style:{marginLeft:c?"10px":"0"}})]}),e.jsx(l.Icon,{name:"chevron down"})]})}),e.jsx(l.Accordion.Content,{className:"accordion-post-content",active:n===x,children:e.jsx("div",{ref:m,children:e.jsx(y.default,{post:d,as:l.Container,fluid:!0})})})]},d.id)})})},R=({posts:t,showLabels:r,height:i})=>{const[n,s]=u.useState(t?t[0].slug:null);return u.useEffect(()=>{setTimeout(()=>{if(window.location.hash){const o=window.location.hash.substr(1),a=document.getElementById(o);a&&t.map(m=>m.slug).indexOf(o)>-1&&(s(o),a.scrollIntoView({behavior:"auto",block:"start"}))}},0)},[t]),e.jsxs(u.Fragment,{children:[t.map(o=>e.jsx("anchor",{id:o.slug},o.slug)),e.jsx(l.Menu,{className:"tabbed posts",text:!0,children:e.jsx(q,{showLabels:r,posts:t,setActive:s,activeItem:n})}),e.jsx(l.Container,{className:"content-tab",style:{height:`${i}px`},children:e.jsx(C,{posts:t,activeItem:n})})]})},D=({posts:t,showLabels:r,showIcons:i,height:n})=>{const[s,o]=u.useState(t?t[0].slug:null);return e.jsx(u.Fragment,{children:e.jsxs(l.Grid,{stackable:!0,className:"tabbed posts",columns:t.length,style:{height:n+"px"},children:[e.jsx($,{showIcons:i,showLabels:r,posts:t,activeItem:s,setActive:o}),e.jsx(l.Grid.Row,{style:{height:`${n}px`},children:e.jsx(l.Grid.Column,{width:16,className:"content",children:e.jsx(l.Container,{className:"content-tab",style:{height:`${n}px`},children:e.jsx(C,{className:"content-tab",posts:t,activeItem:s})})})})]})})},G=t=>{var w;let{"data-type":r,"data-taxonomy":i,"data-categories":n,"data-items":s,"data-theme":o="light","data-show-icons":a,"data-use-scrolls":m,"data-show-labels":g,"data-height":d,"data-preview-mode":x="Desktop",pageModuleProps:c,parent:j,editing:b,unique:I}=t;c!=null&&c.previewMode&&(c!=null&&c.editing)&&(x=c.previewMode,b=c.editing);const p=t.intl.locale,M=Array.isArray(n)?n.join(","):n,f=m==="true",v=f?d:void 0,{width:_}=L.useWindowDimensionsAndDevice(),N=_<=1024,P=x!=="Desktop"&&b,T=N&&!b;return b&&!r?e.jsx(l.Container,{className:`viz tabbed posts ${b?"editing":""} ${f?"scrollable":""}`,fluid:!0}):e.jsx(l.Container,{className:`viz tabbed posts ${b?"editing":""} ${f?"scrollable":""}`,fluid:!0,children:e.jsx(h.PostProvider,{locale:p,type:r,taxonomy:i,categories:M,store:`tabbedposts_${j}_${I}`,page:1,perPage:s,children:e.jsx(h.PostConsumer,{children:e.jsx(h.PostConsumer,{children:T||P?e.jsx(k,{posts:s,activeItem:(w=s[0])==null?void 0:w.slug,setActive:()=>{}}):o==="light"?e.jsx(R,{height:v,showLabels:g==="true"}):e.jsx(D,{height:v,showLabels:g==="true",showIcons:a==="true"})})})})})},E=(t,r)=>{const i=t.getIn(["data","pageModuleProps"]),n={};return i&&(n.pageModuleProps=i),n},H={},z=A.connect(E,H)(S.injectIntl(G));exports.default=z;
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { Container as
|
|
4
|
-
import { PostProvider as
|
|
1
|
+
import { jsx as e, jsxs as f } from "react/jsx-runtime";
|
|
2
|
+
import I, { useState as w, useRef as G, useEffect as x } from "react";
|
|
3
|
+
import { Container as b, Accordion as y, Icon as V, Menu as T, Grid as v, Label as M, Button as W } from "semantic-ui-react";
|
|
4
|
+
import { PostProvider as q, PostConsumer as _, MediaProvider as P, MediaConsumer as A, PostIcon as $, PostLabel as k } from "@devgateway/wp-react-lib";
|
|
5
5
|
import { injectIntl as E } from "react-intl";
|
|
6
6
|
import { connect as O } from "react-redux";
|
|
7
|
-
import
|
|
7
|
+
import L from "../connected-templates/PostIntro.js";
|
|
8
8
|
import { useWindowDimensionsAndDevice as U } from "../../lib/hooks/window-dimensions.js";
|
|
9
|
-
const Y = ({ posts: t, activeItem:
|
|
9
|
+
const Y = ({ posts: t, activeItem: o, setActive: i, showLabels: n }) => t ? t.map((l) => /* @__PURE__ */ e(
|
|
10
10
|
T.Item,
|
|
11
11
|
{
|
|
12
12
|
onClick: () => i(l.slug),
|
|
13
|
-
className: l.slug ===
|
|
14
|
-
children: n ? /* @__PURE__ */ e(
|
|
13
|
+
className: l.slug === o ? "active" : "",
|
|
14
|
+
children: n ? /* @__PURE__ */ e(k, { post: l }) : /* @__PURE__ */ e(M, { children: /* @__PURE__ */ e("span", { dangerouslySetInnerHTML: { __html: l.title.rendered } }) })
|
|
15
15
|
},
|
|
16
16
|
l.id
|
|
17
17
|
)) : null, J = ({
|
|
18
18
|
posts: t,
|
|
19
|
-
activeItem:
|
|
19
|
+
activeItem: o,
|
|
20
20
|
setActive: i,
|
|
21
21
|
showIcons: n,
|
|
22
22
|
showLabels: l
|
|
23
23
|
}) => {
|
|
24
|
-
const
|
|
25
|
-
return t ? t.map((
|
|
24
|
+
const r = t.length;
|
|
25
|
+
return t ? t.map((a) => {
|
|
26
26
|
var d, m;
|
|
27
|
-
return (d =
|
|
28
|
-
|
|
27
|
+
return (d = a._embedded) != null && d["wp:featuredmedia"] && a._embedded["wp:featuredmedia"][0].source_url, /* @__PURE__ */ e(
|
|
28
|
+
v.Column,
|
|
29
29
|
{
|
|
30
|
-
className: (
|
|
31
|
-
children: /* @__PURE__ */
|
|
32
|
-
|
|
30
|
+
className: (a.slug === o ? "active" : "") + (n ? " has-icon" : ""),
|
|
31
|
+
children: /* @__PURE__ */ f(
|
|
32
|
+
W,
|
|
33
33
|
{
|
|
34
|
-
onClick: () => i(
|
|
35
|
-
className: `nav ${
|
|
34
|
+
onClick: () => i(a.slug),
|
|
35
|
+
className: `nav ${r === 1 ? "one" : ""}`,
|
|
36
36
|
children: [
|
|
37
37
|
n && /* @__PURE__ */ e(
|
|
38
38
|
P,
|
|
39
39
|
{
|
|
40
|
-
id: (m =
|
|
41
|
-
children: /* @__PURE__ */ e(A, { children: /* @__PURE__ */ e(
|
|
40
|
+
id: (m = a.meta_fields) != null && m.icon ? a.meta_fields.icon[0] : null,
|
|
41
|
+
children: /* @__PURE__ */ e(A, { children: /* @__PURE__ */ e($, { className: "icon" }) })
|
|
42
42
|
}
|
|
43
43
|
),
|
|
44
|
-
l ? /* @__PURE__ */ e(
|
|
44
|
+
l ? /* @__PURE__ */ e(k, { post: a }) : /* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(
|
|
45
45
|
"span",
|
|
46
46
|
{
|
|
47
|
-
dangerouslySetInnerHTML: { __html:
|
|
47
|
+
dangerouslySetInnerHTML: { __html: a.title.rendered }
|
|
48
48
|
}
|
|
49
49
|
) })
|
|
50
50
|
]
|
|
51
51
|
}
|
|
52
52
|
)
|
|
53
53
|
},
|
|
54
|
-
|
|
54
|
+
a.id
|
|
55
55
|
);
|
|
56
56
|
}) : null;
|
|
57
|
-
},
|
|
57
|
+
}, S = ({ posts: t, activeItem: o }) => (x(() => {
|
|
58
58
|
const i = document.querySelector(".ui.container.content-tab");
|
|
59
59
|
i && (i.scrollTop = 0);
|
|
60
|
-
}, [
|
|
60
|
+
}, [o]), t ? t.map((i) => {
|
|
61
61
|
let n = {};
|
|
62
|
-
return i.slug !==
|
|
62
|
+
return i.slug !== o ? n = {
|
|
63
63
|
position: "absolute",
|
|
64
64
|
left: "-3000px",
|
|
65
65
|
width: "auto",
|
|
@@ -70,35 +70,35 @@ const Y = ({ posts: t, activeItem: c, setActive: i, showLabels: n }) => t ? t.ma
|
|
|
70
70
|
visibility: "visible",
|
|
71
71
|
position: "relative",
|
|
72
72
|
width: "auto"
|
|
73
|
-
}, /* @__PURE__ */ e(
|
|
74
|
-
}) : null), K = ({ posts: t, activeItem:
|
|
75
|
-
const [n, l] =
|
|
76
|
-
t.findIndex((s) => s.slug ===
|
|
77
|
-
), [
|
|
78
|
-
|
|
79
|
-
if (
|
|
80
|
-
const s =
|
|
73
|
+
}, /* @__PURE__ */ e(L, { as: b, fluid: !0, post: i, style: n }, i.slug);
|
|
74
|
+
}) : null), K = ({ posts: t, activeItem: o, setActive: i }) => {
|
|
75
|
+
const [n, l] = w(
|
|
76
|
+
t.findIndex((s) => s.slug === o)
|
|
77
|
+
), [r, a] = w(null), d = G(null);
|
|
78
|
+
x(() => {
|
|
79
|
+
if (r) {
|
|
80
|
+
const s = r.getBoundingClientRect().top + window.scrollY;
|
|
81
81
|
window.scrollTo({
|
|
82
82
|
top: s,
|
|
83
83
|
behavior: "smooth"
|
|
84
84
|
});
|
|
85
85
|
}
|
|
86
|
-
}, [
|
|
86
|
+
}, [r]);
|
|
87
87
|
const m = (s, u) => {
|
|
88
|
-
const { index:
|
|
89
|
-
l(h), i(t[
|
|
88
|
+
const { index: c } = u, h = n === c ? -1 : c;
|
|
89
|
+
l(h), i(t[c].slug), h !== -1 && a(s.currentTarget);
|
|
90
90
|
};
|
|
91
|
-
return /* @__PURE__ */ e(
|
|
91
|
+
return /* @__PURE__ */ e(y, { fluid: !0, styled: !0, children: t.map((s, u) => {
|
|
92
92
|
var h;
|
|
93
|
-
const
|
|
94
|
-
return /* @__PURE__ */
|
|
93
|
+
const c = (h = s.meta_fields) != null && h.icon ? s.meta_fields.icon[0] : null;
|
|
94
|
+
return /* @__PURE__ */ f(I.Fragment, { children: [
|
|
95
95
|
/* @__PURE__ */ e(
|
|
96
|
-
|
|
96
|
+
y.Title,
|
|
97
97
|
{
|
|
98
98
|
active: n === u,
|
|
99
99
|
index: u,
|
|
100
100
|
onClick: m,
|
|
101
|
-
children: /* @__PURE__ */
|
|
101
|
+
children: /* @__PURE__ */ f(
|
|
102
102
|
"div",
|
|
103
103
|
{
|
|
104
104
|
style: {
|
|
@@ -108,94 +108,94 @@ const Y = ({ posts: t, activeItem: c, setActive: i, showLabels: n }) => t ? t.ma
|
|
|
108
108
|
width: "100%"
|
|
109
109
|
},
|
|
110
110
|
children: [
|
|
111
|
-
/* @__PURE__ */
|
|
112
|
-
|
|
111
|
+
/* @__PURE__ */ f("div", { style: { display: "flex", alignItems: "center" }, children: [
|
|
112
|
+
c && /* @__PURE__ */ e(P, { id: c, children: /* @__PURE__ */ e(A, { children: /* @__PURE__ */ e($, { className: "icon" }) }) }),
|
|
113
113
|
/* @__PURE__ */ e(
|
|
114
114
|
"span",
|
|
115
115
|
{
|
|
116
116
|
dangerouslySetInnerHTML: { __html: s.title.rendered },
|
|
117
|
-
style: { marginLeft:
|
|
117
|
+
style: { marginLeft: c ? "10px" : "0" }
|
|
118
118
|
}
|
|
119
119
|
)
|
|
120
120
|
] }),
|
|
121
|
-
/* @__PURE__ */ e(
|
|
121
|
+
/* @__PURE__ */ e(V, { name: "chevron down" })
|
|
122
122
|
]
|
|
123
123
|
}
|
|
124
124
|
)
|
|
125
125
|
}
|
|
126
126
|
),
|
|
127
127
|
/* @__PURE__ */ e(
|
|
128
|
-
|
|
128
|
+
y.Content,
|
|
129
129
|
{
|
|
130
130
|
className: "accordion-post-content",
|
|
131
131
|
active: n === u,
|
|
132
|
-
children: /* @__PURE__ */ e("div", { ref: d, children: /* @__PURE__ */ e(
|
|
132
|
+
children: /* @__PURE__ */ e("div", { ref: d, children: /* @__PURE__ */ e(L, { post: s, as: b, fluid: !0 }) })
|
|
133
133
|
}
|
|
134
134
|
)
|
|
135
135
|
] }, s.id);
|
|
136
136
|
}) });
|
|
137
|
-
}, Q = ({ posts: t, showLabels:
|
|
138
|
-
const [n, l] =
|
|
139
|
-
return
|
|
137
|
+
}, Q = ({ posts: t, showLabels: o, height: i }) => {
|
|
138
|
+
const [n, l] = w(t ? t[0].slug : null);
|
|
139
|
+
return x(() => {
|
|
140
140
|
setTimeout(() => {
|
|
141
141
|
if (window.location.hash) {
|
|
142
|
-
const
|
|
143
|
-
|
|
142
|
+
const r = window.location.hash.substr(1), a = document.getElementById(r);
|
|
143
|
+
a && t.map((d) => d.slug).indexOf(r) > -1 && (l(r), a.scrollIntoView({ behavior: "auto", block: "start" }));
|
|
144
144
|
}
|
|
145
145
|
}, 0);
|
|
146
|
-
}, [t]), /* @__PURE__ */
|
|
147
|
-
t.map((
|
|
148
|
-
/* @__PURE__ */ e(T, { className: "tabbed posts", text: !0, children: /* @__PURE__ */ e(Y, { showLabels:
|
|
149
|
-
/* @__PURE__ */ e(
|
|
146
|
+
}, [t]), /* @__PURE__ */ f(I.Fragment, { children: [
|
|
147
|
+
t.map((r) => /* @__PURE__ */ e("anchor", { id: r.slug }, r.slug)),
|
|
148
|
+
/* @__PURE__ */ e(T, { className: "tabbed posts", text: !0, children: /* @__PURE__ */ e(Y, { showLabels: o, posts: t, setActive: l, activeItem: n }) }),
|
|
149
|
+
/* @__PURE__ */ e(b, { className: "content-tab", style: { height: `${i}px` }, children: /* @__PURE__ */ e(S, { posts: t, activeItem: n }) })
|
|
150
150
|
] });
|
|
151
|
-
}, X = ({ posts: t, showLabels:
|
|
152
|
-
const [l,
|
|
153
|
-
return /* @__PURE__ */ e(
|
|
154
|
-
/* @__PURE__ */ e(J, { showIcons: i, showLabels:
|
|
155
|
-
/* @__PURE__ */ e(
|
|
151
|
+
}, X = ({ posts: t, showLabels: o, showIcons: i, height: n }) => {
|
|
152
|
+
const [l, r] = w(t ? t[0].slug : null);
|
|
153
|
+
return /* @__PURE__ */ e(I.Fragment, { children: /* @__PURE__ */ f(v, { stackable: !0, className: "tabbed posts", columns: t.length, style: { height: n + "px" }, children: [
|
|
154
|
+
/* @__PURE__ */ e(J, { showIcons: i, showLabels: o, posts: t, activeItem: l, setActive: r }),
|
|
155
|
+
/* @__PURE__ */ e(v.Row, { style: { height: `${n}px` }, children: /* @__PURE__ */ e(v.Column, { width: 16, className: "content", children: /* @__PURE__ */ e(b, { className: "content-tab", style: { height: `${n}px` }, children: /* @__PURE__ */ e(S, { className: "content-tab", posts: t, activeItem: l }) }) }) })
|
|
156
156
|
] }) });
|
|
157
157
|
}, Z = (t) => {
|
|
158
|
-
var
|
|
158
|
+
var N;
|
|
159
159
|
let {
|
|
160
|
-
"data-type":
|
|
160
|
+
"data-type": o,
|
|
161
161
|
"data-taxonomy": i,
|
|
162
162
|
"data-categories": n,
|
|
163
163
|
"data-items": l,
|
|
164
|
-
"data-theme":
|
|
165
|
-
"data-show-icons":
|
|
164
|
+
"data-theme": r = "light",
|
|
165
|
+
"data-show-icons": a,
|
|
166
166
|
"data-use-scrolls": d,
|
|
167
167
|
"data-show-labels": m,
|
|
168
168
|
"data-height": s,
|
|
169
169
|
"data-preview-mode": u = "Desktop",
|
|
170
|
-
pageModuleProps:
|
|
170
|
+
pageModuleProps: c,
|
|
171
171
|
parent: h,
|
|
172
|
-
editing:
|
|
172
|
+
editing: g,
|
|
173
173
|
unique: j
|
|
174
174
|
} = t;
|
|
175
|
-
|
|
176
|
-
const D = t.intl.locale, R = Array.isArray(n) ? n.join(",") : n,
|
|
177
|
-
return /* @__PURE__ */ e(
|
|
178
|
-
|
|
175
|
+
c != null && c.previewMode && (c != null && c.editing) && (u = c.previewMode, g = c.editing);
|
|
176
|
+
const D = t.intl.locale, R = Array.isArray(n) ? n.join(",") : n, p = d === "true", C = p ? s : void 0, { width: H } = U(), z = H <= 1024, B = u !== "Desktop" && g, F = z && !g;
|
|
177
|
+
return g && !o ? /* @__PURE__ */ e(b, { className: `viz tabbed posts ${g ? "editing" : ""} ${p ? "scrollable" : ""}`, fluid: !0 }) : /* @__PURE__ */ e(b, { className: `viz tabbed posts ${g ? "editing" : ""} ${p ? "scrollable" : ""}`, fluid: !0, children: /* @__PURE__ */ e(
|
|
178
|
+
q,
|
|
179
179
|
{
|
|
180
180
|
locale: D,
|
|
181
|
-
type:
|
|
181
|
+
type: o,
|
|
182
182
|
taxonomy: i,
|
|
183
183
|
categories: R,
|
|
184
184
|
store: `tabbedposts_${h}_${j}`,
|
|
185
185
|
page: 1,
|
|
186
186
|
perPage: l,
|
|
187
|
-
children: /* @__PURE__ */ e(
|
|
188
|
-
} }) :
|
|
187
|
+
children: /* @__PURE__ */ e(_, { children: /* @__PURE__ */ e(_, { children: F || B ? /* @__PURE__ */ e(K, { posts: l, activeItem: (N = l[0]) == null ? void 0 : N.slug, setActive: () => {
|
|
188
|
+
} }) : r === "light" ? /* @__PURE__ */ e(Q, { height: C, showLabels: m === "true" }) : /* @__PURE__ */ e(
|
|
189
189
|
X,
|
|
190
190
|
{
|
|
191
191
|
height: C,
|
|
192
192
|
showLabels: m === "true",
|
|
193
|
-
showIcons:
|
|
193
|
+
showIcons: a === "true"
|
|
194
194
|
}
|
|
195
195
|
) }) })
|
|
196
196
|
}
|
|
197
197
|
) });
|
|
198
|
-
}, ee = (t,
|
|
198
|
+
}, ee = (t, o) => {
|
|
199
199
|
const i = t.getIn([
|
|
200
200
|
"data",
|
|
201
201
|
"pageModuleProps"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devgateway/dvz-ui-react",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.11",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"vite-plugin-env-compatible": "^2.0.1",
|
|
126
126
|
"vite-plugin-eslint": "^1.8.1",
|
|
127
127
|
"vite-tsconfig-paths": "^5.1.4",
|
|
128
|
-
"@devgateway/wp-react-lib": "0.7.
|
|
128
|
+
"@devgateway/wp-react-lib": "0.7.1"
|
|
129
129
|
},
|
|
130
130
|
"peerDependencies": {
|
|
131
131
|
"react": "^18.3.1",
|