gf-components 0.1.173 → 0.1.175
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/index.cjs.js +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +25 -21
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -40818,7 +40818,7 @@ const za = 12, u1 = 14, Rs = Wt.tspan`
|
|
|
40818
40818
|
raw: "#92DAE1"
|
|
40819
40819
|
},
|
|
40820
40820
|
legend: {
|
|
40821
|
-
raw: "
|
|
40821
|
+
raw: "Grondstoffengebruik"
|
|
40822
40822
|
},
|
|
40823
40823
|
text: "Doel 2035: Verlagen met 15% ten op zichte van 2016",
|
|
40824
40824
|
targets: [
|
|
@@ -41677,6 +41677,9 @@ const za = 12, u1 = 14, Rs = Wt.tspan`
|
|
|
41677
41677
|
{
|
|
41678
41678
|
gap: 8,
|
|
41679
41679
|
vertical: !0,
|
|
41680
|
+
style: {
|
|
41681
|
+
flexGrow: 1
|
|
41682
|
+
},
|
|
41680
41683
|
children: [
|
|
41681
41684
|
/* @__PURE__ */ m.jsxs(
|
|
41682
41685
|
Mt,
|
|
@@ -41689,7 +41692,7 @@ const za = 12, u1 = 14, Rs = Wt.tspan`
|
|
|
41689
41692
|
{
|
|
41690
41693
|
style: {
|
|
41691
41694
|
color: "#1D2939",
|
|
41692
|
-
textAlign: "
|
|
41695
|
+
textAlign: "left",
|
|
41693
41696
|
fontSize: 16,
|
|
41694
41697
|
fontWeight: 500,
|
|
41695
41698
|
lineHeight: "24px"
|
|
@@ -41871,35 +41874,36 @@ const n7e = ({
|
|
|
41871
41874
|
curr: t,
|
|
41872
41875
|
legend: n
|
|
41873
41876
|
}) => {
|
|
41874
|
-
var
|
|
41875
|
-
|
|
41876
|
-
|
|
41877
|
-
|
|
41878
|
-
|
|
41877
|
+
var o;
|
|
41878
|
+
e == null || e.unit;
|
|
41879
|
+
const r = (o = n == null ? void 0 : n.filter((a) => a.key !== "reduction")) == null ? void 0 : o.length, i = 8;
|
|
41880
|
+
return /* @__PURE__ */ m.jsx(Mt, { children: n == null ? void 0 : n.map((a, s) => {
|
|
41881
|
+
var d;
|
|
41882
|
+
const l = ((d = e == null ? void 0 : e.value) == null ? void 0 : d[a == null ? void 0 : a.key]) / 100 * 100, c = (a == null ? void 0 : a.arrow) && !t && l > i, u = i / l * 100;
|
|
41879
41883
|
return /* @__PURE__ */ m.jsxs(je.Fragment, { children: [
|
|
41880
|
-
(
|
|
41884
|
+
(a == null ? void 0 : a.key) !== "reduction" && /* @__PURE__ */ m.jsx(
|
|
41881
41885
|
"div",
|
|
41882
41886
|
{
|
|
41883
41887
|
style: {
|
|
41884
|
-
width: `${
|
|
41888
|
+
width: `${l}%`,
|
|
41885
41889
|
height: 16,
|
|
41886
41890
|
position: "relative",
|
|
41887
|
-
borderRadius:
|
|
41888
|
-
borderRight:
|
|
41889
|
-
background:
|
|
41891
|
+
borderRadius: r === 1 ? 12 : s === 0 ? "12px 0 0 12px" : s === r - 1 ? "0 12px 12px 0" : 0,
|
|
41892
|
+
borderRight: r !== 1 && s < r - 1 ? "1px solid #FFF" : "none",
|
|
41893
|
+
background: !t && !(a != null && a.hide) ? `repeating-linear-gradient(
|
|
41890
41894
|
-60deg,
|
|
41891
|
-
rgba(255,255,255,0.
|
|
41892
|
-
rgba(255,255,255,0.
|
|
41895
|
+
rgba(255,255,255,0.35) 0px,
|
|
41896
|
+
rgba(255,255,255,0.35) 1px,
|
|
41893
41897
|
transparent 1px,
|
|
41894
41898
|
transparent 3px
|
|
41895
|
-
), ${
|
|
41899
|
+
), ${a == null ? void 0 : a.color}` : a == null ? void 0 : a.color
|
|
41896
41900
|
},
|
|
41897
|
-
children:
|
|
41901
|
+
children: c && /* @__PURE__ */ m.jsx(
|
|
41898
41902
|
Mt,
|
|
41899
41903
|
{
|
|
41900
41904
|
align: "center",
|
|
41901
41905
|
style: {
|
|
41902
|
-
width: `${
|
|
41906
|
+
width: `${u}%`,
|
|
41903
41907
|
height: "100%"
|
|
41904
41908
|
},
|
|
41905
41909
|
children: /* @__PURE__ */ m.jsx(rb, {})
|
|
@@ -41907,12 +41911,12 @@ const n7e = ({
|
|
|
41907
41911
|
)
|
|
41908
41912
|
}
|
|
41909
41913
|
),
|
|
41910
|
-
(
|
|
41914
|
+
(a == null ? void 0 : a.key) === "reduction" && l > 0 && /* @__PURE__ */ m.jsx(
|
|
41911
41915
|
Mt,
|
|
41912
41916
|
{
|
|
41913
41917
|
align: "center",
|
|
41914
41918
|
style: {
|
|
41915
|
-
width: `${
|
|
41919
|
+
width: `${l}%`,
|
|
41916
41920
|
height: "100%"
|
|
41917
41921
|
},
|
|
41918
41922
|
children: /* @__PURE__ */ m.jsx(
|
|
@@ -41926,7 +41930,7 @@ const n7e = ({
|
|
|
41926
41930
|
)
|
|
41927
41931
|
}
|
|
41928
41932
|
)
|
|
41929
|
-
] },
|
|
41933
|
+
] }, s);
|
|
41930
41934
|
}) });
|
|
41931
41935
|
}, ib = ({
|
|
41932
41936
|
title: e = "",
|
|
@@ -41980,7 +41984,7 @@ const n7e = ({
|
|
|
41980
41984
|
/* @__PURE__ */ m.jsx(
|
|
41981
41985
|
ib,
|
|
41982
41986
|
{
|
|
41983
|
-
title: n ? "
|
|
41987
|
+
title: n ? "Beginpunt (2016)" : "Doel (2030)",
|
|
41984
41988
|
data: {
|
|
41985
41989
|
value: e == null ? void 0 : e.begin,
|
|
41986
41990
|
unit: e == null ? void 0 : e.unit
|