@topconsultnpm/sdkui-react-beta 6.8.74 → 6.8.76
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.
|
@@ -9,7 +9,7 @@ const TMVilViewer = ({ vil = [] }) => {
|
|
|
9
9
|
let errItems = [];
|
|
10
10
|
let sortedVil = vil.sort((a, b) => a.ResultType.localeCompare(b.ResultType));
|
|
11
11
|
for (let i = 0; i < sortedVil.length; i++) {
|
|
12
|
-
let viColor = sortedVil[i].ResultType == ResultTypes.ERROR ? TMColors.error : sortedVil[i].ResultType == ResultTypes.INFO ? TMColors.
|
|
12
|
+
let viColor = sortedVil[i].ResultType == ResultTypes.ERROR ? TMColors.error : sortedVil[i].ResultType == ResultTypes.INFO ? TMColors.primary : TMColors.tertiary;
|
|
13
13
|
let msg_prefix = sortedVil.length > 1 ? `${i + 1}) ` : '';
|
|
14
14
|
errItems.push(_jsx("div", { style: { color: viColor }, children: `${msg_prefix}${sortedVil[i].Message}` }, i));
|
|
15
15
|
}
|
|
@@ -75,8 +75,8 @@ const StyledContainer = styled.div ` width: 100%; overflow: auto; height: 100%;
|
|
|
75
75
|
const StyledHeaderText = styled.p ` padding-top: 15px; padding-bottom: 15px; font-size: 1.4rem; font-weight: bolder; color: ${TMColors.primary}; `;
|
|
76
76
|
const StyledOTPContainer = styled.div ` display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; margin-top: 30px; color: ${TMColors.primary}; `;
|
|
77
77
|
const StyledOTPInputContainer = styled.div ` display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 5px; `;
|
|
78
|
-
const StyledOTPInput = styled.input ` width: 40px; height: 40px; border-radius:
|
|
79
|
-
const StyledOTPWaitPanel = styled.div ` width: 265px; margin-top: 30px; color: ${TMColors.primary}; font-size: 0.
|
|
78
|
+
const StyledOTPInput = styled.input `font-weight:bold; width: 40px; height: 40px; border-radius: 7px; border: 1px solid; border-color: ${TMColors.primary}; padding-left: 5px; &::-webkit-inner-spin-button, ::-webkit-outer-spin-button{ -webkit-appearance: none; margin: 0; } `;
|
|
79
|
+
const StyledOTPWaitPanel = styled.div ` width: 265px; margin-top: 30px; color: ${TMColors.primary}; font-size: 0.9rem; display: flex; flex-direction: column; `;
|
|
80
80
|
const StyledOTPLabel = styled.p ` width: 265px; text-align: left; display :flex; justify-content: space-between; align-items: center; `;
|
|
81
81
|
const StyledLogoContainer = styled.div ` position: relative; width: ${props => props.$width}; height: ${props => props.$height}; top: ${props => props.$top}; background: transparent linear-gradient(90deg, #FFFFFF00 0%, #FFFFFFCF 25%, #FFFFFFE8 51%, #FFFFFFCF 75%, #FFFFFF00 100%) 0% 0% no-repeat padding-box; box-shadow: 0px 3px 10px #00000029; opacity: 1; `;
|
|
82
82
|
export const cultureIDsDataSource = [{ value: CultureIDs.It_IT, display: "Italiano" }, { value: CultureIDs.Fr_FR, display: "Française" }, { value: CultureIDs.Pt_PT, display: "Português" }, { value: CultureIDs.En_US, display: "English" }, { value: CultureIDs.Es_ES, display: "Español" }, { value: CultureIDs.De_DE, display: "Deutsch" },];
|