@treely/strapi-slices 5.13.0 → 5.15.0
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/portfolio/ProjectInfo/messages.de.d.ts +1 -0
- package/dist/components/portfolio/ProjectInfo/messages.en.d.ts +1 -0
- package/dist/rootMessages.de.d.ts +1 -0
- package/dist/rootMessages.en.d.ts +1 -0
- package/dist/strapi-slices.cjs.development.js +8 -2
- package/dist/strapi-slices.cjs.development.js.map +1 -1
- package/dist/strapi-slices.cjs.production.min.js +1 -1
- package/dist/strapi-slices.cjs.production.min.js.map +1 -1
- package/dist/strapi-slices.esm.js +9 -3
- package/dist/strapi-slices.esm.js.map +1 -1
- package/dist/utils/getMessages.d.ts +2 -0
- package/package.json +1 -1
- package/src/components/portfolio/ProjectInfo/ProjectInfo.test.tsx +25 -1
- package/src/components/portfolio/ProjectInfo/ProjectInfo.tsx +27 -20
- package/src/components/portfolio/ProjectInfo/messages.de.ts +2 -0
- package/src/components/portfolio/ProjectInfo/messages.en.ts +2 -0
- package/src/slices/TextCardGrid/TextCardGrid.tsx +2 -1
|
@@ -9,6 +9,7 @@ declare const messagesDe: {
|
|
|
9
9
|
'features.projectInfo.properties.verificationStandard.label': string;
|
|
10
10
|
'features.projectInfo.properties.verificationStandard.value.SilvaconsultFCSISO14': string;
|
|
11
11
|
'features.projectInfo.properties.verificationStandard.value.MfKWCH': string;
|
|
12
|
+
'features.projectInfo.properties.forecastedAmountYear.toolTip': string;
|
|
12
13
|
'features.projectInfo.properties.forecastedAmountYear.label': string;
|
|
13
14
|
'features.projectInfo.properties.riskBuffer': string;
|
|
14
15
|
'features.projectInfo.properties.year': string;
|
|
@@ -10,6 +10,7 @@ declare const messagesEn: {
|
|
|
10
10
|
'features.projectInfo.properties.verificationStandard.value.SilvaconsultFCSISO14': string;
|
|
11
11
|
'features.projectInfo.properties.verificationStandard.value.MfKWCH': string;
|
|
12
12
|
'features.projectInfo.properties.forecastedAmountYear.label': string;
|
|
13
|
+
'features.projectInfo.properties.forecastedAmountYear.toolTip': string;
|
|
13
14
|
'features.projectInfo.properties.riskBuffer': string;
|
|
14
15
|
'features.projectInfo.properties.year': string;
|
|
15
16
|
};
|
|
@@ -55,6 +55,7 @@ declare const rootMessagesDe: {
|
|
|
55
55
|
'features.projectInfo.properties.verificationStandard.label': string;
|
|
56
56
|
'features.projectInfo.properties.verificationStandard.value.SilvaconsultFCSISO14': string;
|
|
57
57
|
'features.projectInfo.properties.verificationStandard.value.MfKWCH': string;
|
|
58
|
+
'features.projectInfo.properties.forecastedAmountYear.toolTip': string;
|
|
58
59
|
'features.projectInfo.properties.forecastedAmountYear.label': string;
|
|
59
60
|
'features.projectInfo.properties.riskBuffer': string;
|
|
60
61
|
'features.projectInfo.properties.year': string;
|
|
@@ -56,6 +56,7 @@ declare const rootMessagesEn: {
|
|
|
56
56
|
'features.projectInfo.properties.verificationStandard.value.SilvaconsultFCSISO14': string;
|
|
57
57
|
'features.projectInfo.properties.verificationStandard.value.MfKWCH': string;
|
|
58
58
|
'features.projectInfo.properties.forecastedAmountYear.label': string;
|
|
59
|
+
'features.projectInfo.properties.forecastedAmountYear.toolTip': string;
|
|
59
60
|
'features.projectInfo.properties.riskBuffer': string;
|
|
60
61
|
'features.projectInfo.properties.year': string;
|
|
61
62
|
'components.portfolioProjectCard.text.yes': string;
|
|
@@ -2190,7 +2190,7 @@ var variants = {
|
|
|
2190
2190
|
shape: {
|
|
2191
2191
|
padding: ['6', null, null, '8'],
|
|
2192
2192
|
positionIcon: function positionIcon(index) {
|
|
2193
|
-
return shapePositions[index];
|
|
2193
|
+
return shapePositions[index % shapePositions.length];
|
|
2194
2194
|
},
|
|
2195
2195
|
width: '40',
|
|
2196
2196
|
height: '40',
|
|
@@ -2395,6 +2395,7 @@ var messagesDe$6 = {
|
|
|
2395
2395
|
'features.projectInfo.properties.verificationStandard.label': 'Verifizierungsstandard',
|
|
2396
2396
|
'features.projectInfo.properties.verificationStandard.value.SilvaconsultFCSISO14': 'SILVACONSULT® Forest Carbon Standard, ISO 14064-2',
|
|
2397
2397
|
'features.projectInfo.properties.verificationStandard.value.MfKWCH': 'Methodik für Klimaschutzprojekte im Wald für die Schweiz',
|
|
2398
|
+
'features.projectInfo.properties.forecastedAmountYear.toolTip': 'Dies ist das jährliche Projekt-Senkenvolumen gemäß dem TÜV-geprüften PDD, dieser Wert stellt nicht die aktuellen Verfügbarkeiten dar.',
|
|
2398
2399
|
'features.projectInfo.properties.forecastedAmountYear.label': 'Projektvolumen',
|
|
2399
2400
|
'features.projectInfo.properties.riskBuffer': 'Anteil Risikopuffer',
|
|
2400
2401
|
'features.projectInfo.properties.year': '{years} {years, plural, one {Jahr} other {Jahre} }'
|
|
@@ -2515,6 +2516,7 @@ var messagesEn$4 = {
|
|
|
2515
2516
|
'features.projectInfo.properties.verificationStandard.value.SilvaconsultFCSISO14': 'SILVACONSULT® Forest Carbon Standard, ISO 14064-2',
|
|
2516
2517
|
'features.projectInfo.properties.verificationStandard.value.MfKWCH': 'Methodik für Klimaschutzprojekte im Wald für die Schweiz',
|
|
2517
2518
|
'features.projectInfo.properties.forecastedAmountYear.label': 'Project Volume',
|
|
2519
|
+
'features.projectInfo.properties.forecastedAmountYear.toolTip': "This is the yearly project sink volume according to the TÜV-verified PDD, this value doesn't represent current availabilities.",
|
|
2518
2520
|
'features.projectInfo.properties.riskBuffer': 'Risk Buffer Share',
|
|
2519
2521
|
'features.projectInfo.properties.year': '{years} {years, plural, one {year} other {years} }'
|
|
2520
2522
|
};
|
|
@@ -4879,6 +4881,10 @@ var ProjectInfo = function ProjectInfo(_ref) {
|
|
|
4879
4881
|
columns: [1, null, null, 2],
|
|
4880
4882
|
spacingX: "10",
|
|
4881
4883
|
spacingY: "8"
|
|
4884
|
+
}, React__default.default.createElement(boemly.Tooltip, {
|
|
4885
|
+
label: formatMessage({
|
|
4886
|
+
id: 'features.projectInfo.properties.forecastedAmountYear.toolTip'
|
|
4887
|
+
})
|
|
4882
4888
|
}, React__default.default.createElement(boemly.Box, null, React__default.default.createElement(boemly.LabelTextPair, {
|
|
4883
4889
|
label: formatMessage({
|
|
4884
4890
|
id: 'features.projectInfo.properties.forecastedAmountYear.label'
|
|
@@ -4891,7 +4897,7 @@ var ProjectInfo = function ProjectInfo(_ref) {
|
|
|
4891
4897
|
})
|
|
4892
4898
|
}),
|
|
4893
4899
|
caption: subtitles.forecastedAmountSubtitle
|
|
4894
|
-
})), React__default.default.createElement(boemly.Box, null, React__default.default.createElement(boemly.LabelTextPair, {
|
|
4900
|
+
}))), React__default.default.createElement(boemly.Box, null, React__default.default.createElement(boemly.LabelTextPair, {
|
|
4895
4901
|
label: formatMessage({
|
|
4896
4902
|
id: 'features.projectInfo.properties.riskBuffer'
|
|
4897
4903
|
}),
|