mirror of
https://github.com/mue/mue.git
synced 2026-07-17 05:54:14 +02:00
feat: warning if item uses third-party API
- scrollbar accessibility improvements
This commit is contained in:
@@ -11,9 +11,21 @@
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
border-radius: 25px;
|
||||
|
||||
@include themed {
|
||||
background: t($modal-sidebarActive);
|
||||
}
|
||||
|
||||
border-radius: 12px;
|
||||
}
|
||||
&:hover {
|
||||
@include themed {
|
||||
background: t($btn-backgroundHover);
|
||||
}
|
||||
}
|
||||
|
||||
&:active {
|
||||
@include themed {
|
||||
background: t($btn-backgroundHover);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -136,6 +136,18 @@ class Item extends PureComponent {
|
||||
);
|
||||
}
|
||||
|
||||
if (this.props.data.data.image_api === true) {
|
||||
itemWarning = (
|
||||
<div className="itemWarning">
|
||||
<MdOutlineWarning />
|
||||
<div className="text">
|
||||
<span className="header">Warning</span>
|
||||
<span>{variables.getMessage('modals.main.marketplace.product.third_party_api')}</span>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
const moreInfoItem = (icon, header, text) => (
|
||||
<div className="infoItem">
|
||||
{icon}
|
||||
|
||||
@@ -550,6 +550,7 @@
|
||||
"report": "Report"
|
||||
},
|
||||
"not_in_language": "This add-on is not in your language",
|
||||
"third_party_api": "This add-on uses a third-party API",
|
||||
"setting": "Setting",
|
||||
"value": "Value"
|
||||
},
|
||||
|
||||
@@ -550,6 +550,7 @@
|
||||
"report": "Melden"
|
||||
},
|
||||
"not_in_language": "This add-on is not in your language",
|
||||
"third_party_api": "This add-on uses a third-party API",
|
||||
"setting": "Einstellung",
|
||||
"value": "Wert"
|
||||
},
|
||||
|
||||
@@ -550,6 +550,7 @@
|
||||
"report": "Report"
|
||||
},
|
||||
"not_in_language": "This add-on is not in your language",
|
||||
"third_party_api": "This add-on uses a third-party API",
|
||||
"setting": "Setting",
|
||||
"value": "Value"
|
||||
},
|
||||
|
||||
@@ -550,6 +550,7 @@
|
||||
"report": "Report"
|
||||
},
|
||||
"not_in_language": "This add-on is not in your language",
|
||||
"third_party_api": "This add-on uses a third-party API",
|
||||
"setting": "Setting",
|
||||
"value": "Value"
|
||||
},
|
||||
|
||||
@@ -550,6 +550,7 @@
|
||||
"report": "Informe"
|
||||
},
|
||||
"not_in_language": "This add-on is not in your language",
|
||||
"third_party_api": "This add-on uses a third-party API",
|
||||
"setting": "Ajustes",
|
||||
"value": "Valor"
|
||||
},
|
||||
|
||||
@@ -550,6 +550,7 @@
|
||||
"report": "Report"
|
||||
},
|
||||
"not_in_language": "This add-on is not in your language",
|
||||
"third_party_api": "This add-on uses a third-party API",
|
||||
"setting": "Setting",
|
||||
"value": "Value"
|
||||
},
|
||||
|
||||
@@ -550,6 +550,7 @@
|
||||
"report": "Report"
|
||||
},
|
||||
"not_in_language": "This add-on is not in your language",
|
||||
"third_party_api": "This add-on uses a third-party API",
|
||||
"setting": "Setting",
|
||||
"value": "Value"
|
||||
},
|
||||
|
||||
@@ -550,6 +550,7 @@
|
||||
"report": "Report"
|
||||
},
|
||||
"not_in_language": "This add-on is not in your language",
|
||||
"third_party_api": "This add-on uses a third-party API",
|
||||
"setting": "Setting",
|
||||
"value": "Value"
|
||||
},
|
||||
|
||||
@@ -550,6 +550,7 @@
|
||||
"report": "Rapporteer"
|
||||
},
|
||||
"not_in_language": "This add-on is not in your language",
|
||||
"third_party_api": "This add-on uses a third-party API",
|
||||
"setting": "Instelling",
|
||||
"value": "Waarde"
|
||||
},
|
||||
|
||||
@@ -550,6 +550,7 @@
|
||||
"report": "Report"
|
||||
},
|
||||
"not_in_language": "This add-on is not in your language",
|
||||
"third_party_api": "This add-on uses a third-party API",
|
||||
"setting": "Setting",
|
||||
"value": "Value"
|
||||
},
|
||||
|
||||
@@ -550,6 +550,7 @@
|
||||
"report": "Reportar"
|
||||
},
|
||||
"not_in_language": "This add-on is not in your language",
|
||||
"third_party_api": "This add-on uses a third-party API",
|
||||
"setting": "Configuração",
|
||||
"value": "Valor"
|
||||
},
|
||||
|
||||
@@ -550,6 +550,7 @@
|
||||
"report": "Reportar"
|
||||
},
|
||||
"not_in_language": "This add-on is not in your language",
|
||||
"third_party_api": "This add-on uses a third-party API",
|
||||
"setting": "Configuração",
|
||||
"value": "Valor"
|
||||
},
|
||||
|
||||
@@ -550,6 +550,7 @@
|
||||
"report": "Жалоба"
|
||||
},
|
||||
"not_in_language": "This add-on is not in your language",
|
||||
"third_party_api": "This add-on uses a third-party API",
|
||||
"setting": "Параметр",
|
||||
"value": "Цена"
|
||||
},
|
||||
|
||||
@@ -550,6 +550,7 @@
|
||||
"report": "Bildir/Raporla"
|
||||
},
|
||||
"not_in_language": "This add-on is not in your language",
|
||||
"third_party_api": "This add-on uses a third-party API",
|
||||
"setting": "Ayarlar",
|
||||
"value": "Değer"
|
||||
},
|
||||
|
||||
@@ -550,6 +550,7 @@
|
||||
"report": "Report"
|
||||
},
|
||||
"not_in_language": "This add-on is not in your language",
|
||||
"third_party_api": "This add-on uses a third-party API",
|
||||
"setting": "Setting",
|
||||
"value": "Value"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user