From 1824eacbf75cd1d3e7da307203c812ee3ac15eb2 Mon Sep 17 00:00:00 2001 From: dkmyta Date: Mon, 25 Nov 2024 18:33:33 +0000 Subject: [PATCH] ThreatModal: Update flow (#40214) * Add ThreatDetailsModal component and stories * changelog * Fix type error * Fix child component overflow-x styling * Update scan package changelog * Add util for fixerState and separate subcomponents * Add user connection gate * Add credentials gate * Fix stories * Fix stories * Fix credentials type * Update content flow * Improve organization * Separation and reorg * Improve * Remove redundant code * Adjust modal content * Generalize component name * Updates after renaming * Ensure close button exists for vulns modal * changelog * Updates/fixes * Add detailed action * changelog * Add actionToConfirm flag for rendering conditional content based on action selected * Update approach to single view * Move notices to ThreatActions * Add fixer notices * Fix styling * Additional improvements * Fix gap * Remove actionToConfirm flag, to be readded in integration * Early return on ThreatActions for fixed threats * Make threat status check optional * Use custom button for threat details toggle (#40298) * Use Button and override internal styles * Fix classes * Move fixerState comp to ThreatFixConfirmation * Rely heavily on context provider * Fix styles --------- Co-authored-by: Nate Weller Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12016314564 Upstream-Ref: Automattic/jetpack@0f6c6cf0b19aaa4cf31b92809924457790f53932 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4295728..e3caa8e 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "dependencies": { "@automattic/jetpack-analytics": "^0.1.33", "@automattic/jetpack-api": "^0.17.19", - "@automattic/jetpack-components": "^0.62.0", + "@automattic/jetpack-components": "^0.63.0-alpha", "@automattic/jetpack-config": "^0.1.27", "@automattic/jetpack-script-data": "^0.1.5", "@wordpress/base-styles": "5.12.0",