diff --git a/apis/locale/locales/en-US.json b/apis/locale/locales/en-US.json index add70cab7..cfbc75744 100644 --- a/apis/locale/locales/en-US.json +++ b/apis/locale/locales/en-US.json @@ -47,6 +47,22 @@ "value": "Excluded lock", "comment": "Excluded lock state of an item in listbox(buy20180905)" }, + "Object.FilterLabel.All": { + "value": "ALL", + "comment": "Label for when a chart filter has been set to exclude global selections in a field, meaning all field values will be included. (tew 220411)" + }, + "Object.FilterLabel.Exclude": { + "value": "NOT", + "comment": "Label for when a chart filter has been set to exclude the filter values. (tew 220411)" + }, + "Object.FilterLabel.Unknown": { + "value": "Unknown", + "comment": "Label for when a chart filter could not be labeled. (tew 220411)" + }, + "Object.FiltersApplied": { + "value": "Filters applied:", + "comment": "Title for applied filters on a chart. (tew 220411)" + }, "Listbox.Search": { "value": "Search in listbox", "comment": "Action text to search in listbox" diff --git a/apis/nucleus/src/components/Cell.jsx b/apis/nucleus/src/components/Cell.jsx index 1a3230ac3..93e52c0cb 100644 --- a/apis/nucleus/src/components/Cell.jsx +++ b/apis/nucleus/src/components/Cell.jsx @@ -584,6 +584,7 @@ const Cell = forwardRef( ); } + const isCardTheme = !!halo.public.theme?.getStyle('', '', '_cards'); const flags = halo.public.galaxy?.flags; let useOldCellPadding; let bodyPadding; @@ -594,13 +595,13 @@ const Cell = forwardRef( useOldCellPadding = true; bodyPadding = undefined; } else { - const senseTheme = halo.public.theme; useOldCellPadding = false; bodyPadding = getPadding({ layout, isError: state.error, - senseTheme, + isCardTheme, titleStyles, + translator, }); } @@ -667,7 +668,15 @@ const Cell = forwardRef( > {Content} - {cellNode && layout && state.sn &&