= {
- render: Template,
-};
diff --git a/apps/browser/src/autofill/content/components/notification/body.ts b/apps/browser/src/autofill/content/components/notification/body.ts
index 4d8019b0a55..b1ce7cdba63 100644
--- a/apps/browser/src/autofill/content/components/notification/body.ts
+++ b/apps/browser/src/autofill/content/components/notification/body.ts
@@ -4,11 +4,10 @@ import { html } from "lit";
import { Theme, ThemeTypes } from "@bitwarden/common/platform/enums";
import { NotificationType } from "../../../notification/abstractions/notification-bar";
-import { CipherItem } from "../cipher";
import { NotificationCipherData } from "../cipher/types";
import { I18n } from "../common-types";
import { scrollbarStyles, spacing, themes, typography } from "../constants/styles";
-import { ItemRow } from "../rows/item-row";
+import { CipherItemRow } from "../rows/cipher-item-row";
export const componentClassPrefix = "notification-body";
@@ -37,15 +36,12 @@ export function NotificationBody({
return html`
${ciphers.map((cipher) =>
- ItemRow({
+ CipherItemRow({
+ cipher,
theme,
- children: CipherItem({
- cipher,
- i18n,
- notificationType,
- theme,
- handleAction: handleEditOrUpdateAction,
- }),
+ i18n,
+ notificationType,
+ handleAction: handleEditOrUpdateAction,
}),
)}
diff --git a/apps/browser/src/autofill/content/components/rows/cipher-item-row.ts b/apps/browser/src/autofill/content/components/rows/cipher-item-row.ts
new file mode 100644
index 00000000000..0600fc9ac4b
--- /dev/null
+++ b/apps/browser/src/autofill/content/components/rows/cipher-item-row.ts
@@ -0,0 +1,78 @@
+import { css } from "@emotion/css";
+import { html } from "lit";
+
+import { Theme } from "@bitwarden/common/platform/enums";
+
+import { NotificationType } from "../../../notification/abstractions/notification-bar";
+import { CipherItem } from "../cipher/cipher-item";
+import { NotificationCipherData } from "../cipher/types";
+import { I18n } from "../common-types";
+import { spacing, themes, typography } from "../constants/styles";
+
+export type CipherItemRowProps = {
+ cipher: NotificationCipherData;
+ i18n: I18n;
+ notificationType?: NotificationType;
+ theme: Theme;
+ handleAction: (e: Event) => void;
+};
+
+export function CipherItemRow({
+ cipher,
+ i18n,
+ notificationType,
+ theme,
+ handleAction,
+}: CipherItemRowProps) {
+ return html`
+
+ ${CipherItem({
+ cipher,
+ i18n,
+ notificationType,
+ theme,
+ handleAction,
+ })}
+
+ `;
+}
+
+const cipherItemRowStyles = ({ theme }: { theme: Theme }) => css`
+ ${typography.body1}
+
+ gap: ${spacing["2"]};
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ border-width: 0 0 0.5px 0;
+ border-style: solid;
+ border-radius: ${spacing["2"]};
+ border-color: ${themes[theme].secondary["300"]};
+ background-color: ${themes[theme].background.DEFAULT};
+ padding: ${spacing["2"]} ${spacing["3"]};
+ min-height: min-content;
+ max-height: 52px;
+ overflow-x: hidden;
+ white-space: nowrap;
+ color: ${themes[theme].text.main};
+ font-weight: 400;
+
+ > div {
+ :first-child {
+ flex: 3 3 75%;
+ min-width: 25%;
+ }
+
+ :not(:first-child) {
+ display: flex;
+ flex-direction: row;
+ flex-wrap: nowrap;
+ justify-content: flex-end;
+ max-width: 25%;
+
+ > button {
+ max-width: min-content;
+ }
+ }
+ }
+`;
diff --git a/apps/browser/src/autofill/content/components/rows/item-row.ts b/apps/browser/src/autofill/content/components/rows/item-row.ts
deleted file mode 100644
index 8e9a870002e..00000000000
--- a/apps/browser/src/autofill/content/components/rows/item-row.ts
+++ /dev/null
@@ -1,55 +0,0 @@
-import { css } from "@emotion/css";
-import { html, TemplateResult } from "lit";
-
-import { Theme, ThemeTypes } from "@bitwarden/common/platform/enums";
-
-import { spacing, themes, typography } from "../../../content/components/constants/styles";
-
-export type ItemRowProps = {
- theme: Theme;
- children: TemplateResult | TemplateResult[];
-};
-
-export function ItemRow({ theme = ThemeTypes.Light, children }: ItemRowProps) {
- return html` ${children}
`;
-}
-
-export const itemRowStyles = ({ theme }: { theme: Theme }) => css`
- ${typography.body1}
-
- gap: ${spacing["2"]};
- display: flex;
- align-items: center;
- justify-content: space-between;
- border-width: 0 0 0.5px 0;
- border-style: solid;
- border-radius: ${spacing["2"]};
- border-color: ${themes[theme].secondary["300"]};
- background-color: ${themes[theme].background.DEFAULT};
- padding: ${spacing["2"]} ${spacing["3"]};
- min-height: min-content;
- max-height: 52px;
- overflow-x: hidden;
- white-space: nowrap;
- color: ${themes[theme].text.main};
- font-weight: 400;
-
- > div {
- :first-child {
- flex: 3 3 75%;
- min-width: 25%;
- }
-
- :not(:first-child) {
- display: flex;
- flex-direction: row;
- flex-wrap: nowrap;
- justify-content: flex-end;
- max-width: 25%;
-
- > button {
- max-width: min-content;
- }
- }
- }
-`;