File tree Expand file tree Collapse file tree 11 files changed +248
-77
lines changed
src/app/(proper_react)/(redesign)
(authenticated)/user/(dashboard)/dashboard/fix
high-risk-data-breaches/[type]
security-recommendations/[type] Expand file tree Collapse file tree 11 files changed +248
-77
lines changed Original file line number Diff line number Diff line change 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" ,
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" ,
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" ,
Original file line number Diff line number Diff 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
140147export 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
147161export 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
154175export 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
161189export 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} ;
Original file line number Diff line number Diff 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
127134export 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
134148export 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} ;
Original file line number Diff line number Diff 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
98105export 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
105119export 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
112133export 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} ;
Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff line change 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+ } ;
You can’t perform that action at this time.
0 commit comments