+
TO
({
+ buttonSelectText: css({
+ color: theme.colors.primary.text,
+ fontSize: theme.typography.bodySmall.fontSize,
+ textTransform: 'uppercase',
+ padding: `0 ${theme.spacing(1)}`,
+ }),
condition: {
wrapper: css({
display: 'flex',
@@ -231,11 +242,32 @@ const getStyles = (theme: GrafanaTheme2) => ({
height: 'fit-content',
borderRadius: theme.shape.radius.default,
}),
+ container: css({
+ display: 'flex',
+ flexDirection: 'row',
+ padding: theme.spacing(1),
+ flex: 1,
+ width: '100%',
+ }),
header: css({
background: theme.colors.background.secondary,
padding: `${theme.spacing(0.5)} ${theme.spacing(1)}`,
borderBottom: `solid 1px ${theme.colors.border.weak}`,
flex: 1,
}),
+ button: css({
+ height: '32px',
+ color: theme.colors.primary.text,
+ fontSize: theme.typography.bodySmall.fontSize,
+ textTransform: 'uppercase',
+ display: 'flex',
+ alignItems: 'center',
+ borderRadius: theme.shape.radius.default,
+ fontWeight: theme.typography.fontWeightBold,
+ border: `1px solid ${theme.colors.border.medium}`,
+ whiteSpace: 'nowrap',
+ padding: `0 ${theme.spacing(1)}`,
+ backgroundColor: theme.colors.background.primary,
+ }),
},
});
diff --git a/public/locales/en-US/grafana.json b/public/locales/en-US/grafana.json
index edc47d01564..310d59feacb 100644
--- a/public/locales/en-US/grafana.json
+++ b/public/locales/en-US/grafana.json
@@ -216,6 +216,13 @@
"badge-tooltip-provenance": "This resource has been provisioned via {{provenance}} and cannot be edited through the UI",
"badge-tooltip-standard": "This resource has been provisioned and cannot be edited through the UI"
},
+ "queryAndExpressionsStep": {
+ "disableAdvancedOptions": {
+ "text": "The selected queries and expressions cannot be converted to default. If you deactivate advanced options, your query and condition will be reset to default settings."
+ },
+ "preview": "Preview",
+ "previewCondition": "Preview alert rule condition"
+ },
"rule-groups": {
"delete": {
"success": "Successfully deleted rule group"
diff --git a/public/locales/pseudo-LOCALE/grafana.json b/public/locales/pseudo-LOCALE/grafana.json
index a1be240c152..b8107773274 100644
--- a/public/locales/pseudo-LOCALE/grafana.json
+++ b/public/locales/pseudo-LOCALE/grafana.json
@@ -216,6 +216,13 @@
"badge-tooltip-provenance": "Ŧĥįş řęşőūřčę ĥäş þęęʼn přővįşįőʼnęđ vįä {{provenance}} äʼnđ čäʼnʼnőŧ þę ęđįŧęđ ŧĥřőūģĥ ŧĥę ŮĨ",
"badge-tooltip-standard": "Ŧĥįş řęşőūřčę ĥäş þęęʼn přővįşįőʼnęđ äʼnđ čäʼnʼnőŧ þę ęđįŧęđ ŧĥřőūģĥ ŧĥę ŮĨ"
},
+ "queryAndExpressionsStep": {
+ "disableAdvancedOptions": {
+ "text": "Ŧĥę şęľęčŧęđ qūęřįęş äʼnđ ęχpřęşşįőʼnş čäʼnʼnőŧ þę čőʼnvęřŧęđ ŧő đęƒäūľŧ. Ĩƒ yőū đęäčŧįväŧę äđväʼnčęđ őpŧįőʼnş, yőūř qūęřy äʼnđ čőʼnđįŧįőʼn ŵįľľ þę řęşęŧ ŧő đęƒäūľŧ şęŧŧįʼnģş."
+ },
+ "preview": "Přęvįęŵ",
+ "previewCondition": "Přęvįęŵ äľęřŧ řūľę čőʼnđįŧįőʼn"
+ },
"rule-groups": {
"delete": {
"success": "Ŝūččęşşƒūľľy đęľęŧęđ řūľę ģřőūp"