@ssplib/react-components 0.0.241 → 0.0.242
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.
|
@@ -54,7 +54,8 @@ function removePunctuationAndAccents(text) {
|
|
|
54
54
|
return cleanedText;
|
|
55
55
|
}
|
|
56
56
|
function formatarString(str) {
|
|
57
|
-
|
|
57
|
+
const value = typeof str !== 'string' ? str.toString() : str;
|
|
58
|
+
return value
|
|
58
59
|
.normalize('NFD')
|
|
59
60
|
.replace(/[\u0300-\u036f]/g, '')
|
|
60
61
|
.toLowerCase()
|
|
@@ -693,7 +694,7 @@ hideTitleCSV = false, csvExcludeUpper = [], multipleDataPath = '', expandTextMax
|
|
|
693
694
|
react_1.default.createElement(Typography_1.default, { fontSize: 24, textAlign: 'center', fontFamily: 'Inter' },
|
|
694
695
|
error.status === 403 && 'Acesso negado',
|
|
695
696
|
error.status === 500 && (react_1.default.createElement(material_1.Box, { fontWeight: 500, textAlign: 'center' },
|
|
696
|
-
react_1.default.createElement(icons_material_1.ReportProblemRounded, { sx: { transform: 'scale(2)',
|
|
697
|
+
react_1.default.createElement(icons_material_1.ReportProblemRounded, { sx: { transform: 'scale(2)', marginY: 1, fill: '#3e3129' } }),
|
|
697
698
|
react_1.default.createElement(material_1.Box, null, customErrorMsg ? (customErrorMsg) : (react_1.default.createElement(react_1.default.Fragment, null,
|
|
698
699
|
"N\u00E3o foi poss\u00EDvel se conectar ao servidor no momento. Por favor, aguarde alguns instantes e tente de novo.",
|
|
699
700
|
react_1.default.createElement("br", null),
|