Skip to content

Commit b547ca8

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/stylelint-c5e2604df3
2 parents 86cf064 + 42732eb commit b547ca8

File tree

11 files changed

+248
-77
lines changed

11 files changed

+248
-77
lines changed

package-lock.json

Lines changed: 22 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@
7878
"@types/react": "19.2.7",
7979
"@types/react-dom": "19.2.3",
8080
"canvas-confetti": "^1.9.4",
81-
"ioredis": "^5.8.2",
81+
"ioredis": "^5.9.2",
8282
"jsdom": "^27.0.0",
83-
"jsonwebtoken": "^9.0.2",
83+
"jsonwebtoken": "^9.0.3",
8484
"jwk-to-pem": "^2.0.7",
8585
"knex": "^3.1.0",
8686
"lodash.isequal": "^4.5.0",
@@ -124,7 +124,7 @@
124124
"@types/lodash.isequal": "^4.5.8",
125125
"@types/mjml": "^4.7.4",
126126
"@types/mjml-browser": "^4.15.0",
127-
"@types/nodemailer": "^7.0.4",
127+
"@types/nodemailer": "^7.0.5",
128128
"@typescript-eslint/eslint-plugin": "^8.52.0",
129129
"@typescript-eslint/parser": "^8.32.1",
130130
"adm-zip": "^0.5.16",
@@ -139,7 +139,7 @@
139139
"eslint-plugin-jsdoc": "^62.0.0",
140140
"eslint-plugin-storybook": "10.1.11",
141141
"fast-check": "^4.5.3",
142-
"globals": "^16.5.0",
142+
"globals": "^17.0.0",
143143
"husky": "^9.1.7",
144144
"ioredis-mock": "^8.13.1",
145145
"jest": "^30.2.0",

src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/[type]/HighRiskDataBreach.stories.tsx

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,27 +135,55 @@ export const SsnStory: Story = {
135135
args: {
136136
type: "social-security-number",
137137
},
138+
parameters: {
139+
nextjs: {
140+
navigation: {
141+
pathname: "/fix/high-risk-data-breaches/social-security-number",
142+
},
143+
},
144+
},
138145
};
139146

140147
export const CreditCardStory: Story = {
141148
name: "2b. Credit card",
142149
args: {
143150
type: "credit-card",
144151
},
152+
parameters: {
153+
nextjs: {
154+
navigation: {
155+
pathname: "/fix/high-risk-data-breaches/credit-card",
156+
},
157+
},
158+
},
145159
};
146160

147161
export const BankAccountStory: Story = {
148162
name: "2c. Bank account",
149163
args: {
150164
type: "bank-account",
151165
},
166+
parameters: {
167+
nextjs: {
168+
navigation: {
169+
pathname: "/fix/high-risk-data-breaches/bank-account",
170+
},
171+
},
172+
},
152173
};
153174

154175
export const PinStory: Story = {
155176
name: "2d. PIN",
156177
args: {
157178
type: "pin",
158179
},
180+
parameters: {
181+
nextjs: {
182+
navigation: {
183+
pathname: "/fix/high-risk-data-breaches/pin",
184+
},
185+
},
186+
},
159187
};
160188

161189
export const HighRiskBreachDoneStory: Story = {
@@ -164,4 +192,11 @@ export const HighRiskBreachDoneStory: Story = {
164192
type: "done",
165193
nextUnresolvedBreachType: "None",
166194
},
195+
parameters: {
196+
nextjs: {
197+
navigation: {
198+
pathname: "/fix/high-risk-data-breaches/done",
199+
},
200+
},
201+
},
167202
};

src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/leaked-passwords/[type]/LeakedPasswords.stories.tsx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,27 @@ export const PasswordsStory: Story = {
122122
args: {
123123
type: "passwords",
124124
},
125+
parameters: {
126+
nextjs: {
127+
navigation: {
128+
pathname: "/fix/leaked-passwords/passwords",
129+
},
130+
},
131+
},
125132
};
126133

127134
export const SecurityQuestionsStory: Story = {
128135
name: "3b. Security questions",
129136
args: {
130137
type: "security-questions",
131138
},
139+
parameters: {
140+
nextjs: {
141+
navigation: {
142+
pathname: "/fix/leaked-passwords/security-questions",
143+
},
144+
},
145+
},
132146
};
133147

134148
export const LeakedPasswordsDoneStory: Story = {
@@ -137,4 +151,11 @@ export const LeakedPasswordsDoneStory: Story = {
137151
type: "passwords-done",
138152
nextUnresolvedBreachType: "None",
139153
},
154+
parameters: {
155+
nextjs: {
156+
navigation: {
157+
pathname: "/fix/leaked-passwords/done",
158+
},
159+
},
160+
},
140161
};

src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/security-recommendations/[type]/SecurityRecommendations.stories.tsx

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,25 +93,53 @@ export const PhoneStory: Story = {
9393
args: {
9494
type: "phone",
9595
},
96+
parameters: {
97+
nextjs: {
98+
navigation: {
99+
pathname: "/fix/security-recommendations/phone",
100+
},
101+
},
102+
},
96103
};
97104

98105
export const EmailStory: Story = {
99106
name: "4b. Email address",
100107
args: {
101108
type: "email",
102109
},
110+
parameters: {
111+
nextjs: {
112+
navigation: {
113+
pathname: "/fix/security-recommendations/email",
114+
},
115+
},
116+
},
103117
};
104118

105119
export const IpStory: Story = {
106120
name: "4c. IP address",
107121
args: {
108122
type: "ip",
109123
},
124+
parameters: {
125+
nextjs: {
126+
navigation: {
127+
pathname: "/fix/security-recommendations/ip",
128+
},
129+
},
130+
},
110131
};
111132

112133
export const DoneStory: Story = {
113134
name: "4d. Done",
114135
args: {
115136
type: "done",
116137
},
138+
parameters: {
139+
nextjs: {
140+
navigation: {
141+
pathname: "/fix/security-recommendations/done",
142+
},
143+
},
144+
},
117145
};
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
@use "../../../tokens";
2+
3+
.homeLink {
4+
display: none;
5+
6+
@media screen and (min-width: tokens.$screen-md) {
7+
align-items: center;
8+
display: flex;
9+
height: tokens.$tab-bar-height;
10+
padding: 0 tokens.$spacing-lg;
11+
12+
img {
13+
display: block;
14+
max-width: 100%;
15+
}
16+
17+
&:focus {
18+
outline-offset: calc(-1 * tokens.$border-focus-width);
19+
outline: tokens.$border-focus-width solid tokens.$color-purple-10;
20+
}
21+
22+
&.isOnDashboard {
23+
background: tokens.$color-white;
24+
border-bottom: 1px solid tokens.$color-grey-20;
25+
box-shadow: tokens.$box-shadow-xs;
26+
}
27+
}
28+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/* This Source Code Form is subject to the terms of the Mozilla Public
2+
* License, v. 2.0. If a copy of the MPL was not distributed with this
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
5+
import type { Meta, StoryObj } from "@storybook/nextjs";
6+
import { MonitorLogo } from "./MonitorLogo";
7+
8+
const meta: Meta<typeof MonitorLogo> = {
9+
title: "Layout/Navigation/Monitor Logo",
10+
component: MonitorLogo,
11+
};
12+
13+
export default meta;
14+
type Story = StoryObj<typeof MonitorLogo>;
15+
16+
export const MonitorLogoFixFlow: Story = {
17+
args: {},
18+
parameters: {
19+
nextjs: {
20+
navigation: {
21+
pathname: "/fix/leaked-passwords/passwords",
22+
},
23+
},
24+
},
25+
};
26+
27+
export const MonitorLogoActionNeeded: Story = {
28+
args: {},
29+
parameters: {
30+
nextjs: {
31+
navigation: {
32+
pathname: "/action-needed",
33+
},
34+
},
35+
},
36+
};

0 commit comments

Comments
 (0)