From 152d275e246d285e37892c6c53eee71bcde6a0c1 Mon Sep 17 00:00:00 2001 From: Ruchika Sinha Date: Fri, 17 Jul 2026 12:53:46 -0700 Subject: [PATCH 1/9] onboard new block for acrobat workflow --- .../workflow/workflow-acrobat/target-config.json | 14 ++++++++++++++ unitylibs/core/workflow/workflow.js | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/unitylibs/core/workflow/workflow-acrobat/target-config.json b/unitylibs/core/workflow/workflow-acrobat/target-config.json index 82691b039..4c1dd9c26 100644 --- a/unitylibs/core/workflow/workflow-acrobat/target-config.json +++ b/unitylibs/core/workflow/workflow-acrobat/target-config.json @@ -109,5 +109,19 @@ ".foreground": "upload", "#file-upload": "upload" } + }, + "verb-marquee-2": { + "selector": ".foreground", + "source": ".foreground .verb-marquee-2-container", + "target": ".foreground .verb-marquee-2-container", + "showSplashScreen": true, + "splashScreenConfig": { + "fragmentLink": "/dc-shared/fragments/shared-fragments/frictionless/splash-page/splashscreen", + "splashScreenParent": "body" + }, + "actionMap": { + ".foreground": "upload", + "#file-upload": "upload" + } } } diff --git a/unitylibs/core/workflow/workflow.js b/unitylibs/core/workflow/workflow.js index 62dde46b4..bb7559bee 100644 --- a/unitylibs/core/workflow/workflow.js +++ b/unitylibs/core/workflow/workflow.js @@ -306,7 +306,7 @@ class WfInitiator { getEnabledFeatures() { const { supportedFeatures, supportedTexts } = this.workflowCfg; - const verbWidget = this.el.closest('.section')?.querySelector('.verb-widget, .study-marquee, .verb-marquee, .verb-dropzone'); + const verbWidget = this.el.closest('.section')?.querySelector('.verb-widget, .study-marquee, .verb-marquee, .verb-marquee-2, .verb-dropzone'); if (verbWidget) { const verb = [...verbWidget.classList].find((cn) => supportedFeatures.has(cn)); if (verb) this.workflowCfg.enabledFeatures.push(verb); From 87006f2d2732eb52196fc9dfe14dcddfb896565d Mon Sep 17 00:00:00 2001 From: Ruchika Sinha Date: Tue, 21 Jul 2026 12:24:45 -0700 Subject: [PATCH 2/9] verb redesign support --- unitylibs/core/workflow/workflow-acrobat/target-config.json | 6 +++--- unitylibs/core/workflow/workflow.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/unitylibs/core/workflow/workflow-acrobat/target-config.json b/unitylibs/core/workflow/workflow-acrobat/target-config.json index 4c1dd9c26..6bf0b60e2 100644 --- a/unitylibs/core/workflow/workflow-acrobat/target-config.json +++ b/unitylibs/core/workflow/workflow-acrobat/target-config.json @@ -110,10 +110,10 @@ "#file-upload": "upload" } }, - "verb-marquee-2": { + "verb-redeign-test": { "selector": ".foreground", - "source": ".foreground .verb-marquee-2-container", - "target": ".foreground .verb-marquee-2-container", + "source": ".foreground .vm2-container", + "target": ".foreground .vm2-container", "showSplashScreen": true, "splashScreenConfig": { "fragmentLink": "/dc-shared/fragments/shared-fragments/frictionless/splash-page/splashscreen", diff --git a/unitylibs/core/workflow/workflow.js b/unitylibs/core/workflow/workflow.js index bb7559bee..4d8dbd2e3 100644 --- a/unitylibs/core/workflow/workflow.js +++ b/unitylibs/core/workflow/workflow.js @@ -306,7 +306,7 @@ class WfInitiator { getEnabledFeatures() { const { supportedFeatures, supportedTexts } = this.workflowCfg; - const verbWidget = this.el.closest('.section')?.querySelector('.verb-widget, .study-marquee, .verb-marquee, .verb-marquee-2, .verb-dropzone'); + const verbWidget = this.el.closest('.section')?.querySelector('.verb-widget, .study-marquee, .verb-marquee, .verb-redeign-test, .verb-dropzone'); if (verbWidget) { const verb = [...verbWidget.classList].find((cn) => supportedFeatures.has(cn)); if (verb) this.workflowCfg.enabledFeatures.push(verb); From 9f499a894809b4f17d104d7b3b5be4854d931d77 Mon Sep 17 00:00:00 2001 From: Ruchika Sinha Date: Tue, 21 Jul 2026 12:27:42 -0700 Subject: [PATCH 3/9] wip --- unitylibs/core/workflow/workflow-acrobat/target-config.json | 2 +- unitylibs/core/workflow/workflow.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/unitylibs/core/workflow/workflow-acrobat/target-config.json b/unitylibs/core/workflow/workflow-acrobat/target-config.json index 6bf0b60e2..fab7e5bff 100644 --- a/unitylibs/core/workflow/workflow-acrobat/target-config.json +++ b/unitylibs/core/workflow/workflow-acrobat/target-config.json @@ -110,7 +110,7 @@ "#file-upload": "upload" } }, - "verb-redeign-test": { + "verb-redesign-test": { "selector": ".foreground", "source": ".foreground .vm2-container", "target": ".foreground .vm2-container", diff --git a/unitylibs/core/workflow/workflow.js b/unitylibs/core/workflow/workflow.js index 4d8dbd2e3..dd891bc17 100644 --- a/unitylibs/core/workflow/workflow.js +++ b/unitylibs/core/workflow/workflow.js @@ -306,7 +306,7 @@ class WfInitiator { getEnabledFeatures() { const { supportedFeatures, supportedTexts } = this.workflowCfg; - const verbWidget = this.el.closest('.section')?.querySelector('.verb-widget, .study-marquee, .verb-marquee, .verb-redeign-test, .verb-dropzone'); + const verbWidget = this.el.closest('.section')?.querySelector('.verb-widget, .study-marquee, .verb-marquee, .verb-redesign-test, .verb-dropzone'); if (verbWidget) { const verb = [...verbWidget.classList].find((cn) => supportedFeatures.has(cn)); if (verb) this.workflowCfg.enabledFeatures.push(verb); From 943d01dea75853dc9f0583c6bb0418049bb84d19 Mon Sep 17 00:00:00 2001 From: shyamr Date: Mon, 31 Aug 2026 10:32:02 +0530 Subject: [PATCH 4/9] Initial commit --- unitylibs/core/widgets/prompt-bar/prompt-bar.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/unitylibs/core/widgets/prompt-bar/prompt-bar.css b/unitylibs/core/widgets/prompt-bar/prompt-bar.css index a1b36e662..cd0ac1ace 100644 --- a/unitylibs/core/widgets/prompt-bar/prompt-bar.css +++ b/unitylibs/core/widgets/prompt-bar/prompt-bar.css @@ -636,6 +636,19 @@ color: var(--color-black); } +/* MWPW-204848 Firefly site-redesign theme (additive) — blue Generate button.*/ +:root:has(meta[name="theme"][content="firefly-redesign"], .theme-firefly-redesign) .unity-enabled .interactive-area .ex-unity-wrap .ex-unity-widget .act-wrap .gen-btn { + background: #1473E6; +} + +:root:has(meta[name="theme"][content="firefly-redesign"], .theme-firefly-redesign) .unity-enabled .interactive-area .ex-unity-wrap .ex-unity-widget .act-wrap .gen-btn:hover { + background: #0D66D0; +} + +:root:has(meta[name="theme"][content="firefly-redesign"], .theme-firefly-redesign) .unity-enabled .interactive-area .ex-unity-wrap .ex-unity-widget .act-wrap .gen-btn .btn-txt { + color: var(--color-white); +} + .unity-enabled .interactive-area .ex-unity-wrap .ex-unity-widget .drop { background: linear-gradient(0deg, rgba(255 255 255 / 100%) 0%, rgba(255 255 255 / 100%) 100%), linear-gradient(89deg, rgba(255 255 255 / 80%) 1.01%, rgba(255 255 255 / 20%) 111.14%); box-shadow: 0 2px 8px 0 rgba(0 0 0 / 16%); @@ -1315,4 +1328,4 @@ .upload-marquee.unity-enabled .interactive-area .ex-unity-wrap:not(.sticky) .ex-unity-widget { padding: 0px; } -} \ No newline at end of file +} From 1391240e2b2efb34b0f3953c00f5d96df6656954 Mon Sep 17 00:00:00 2001 From: shyamr Date: Wed, 2 Sep 2026 15:22:32 +0530 Subject: [PATCH 5/9] Initial commit --- .../core/widgets/prompt-bar/prompt-bar.css | 490 +++++++++++++++++- .../core/widgets/prompt-bar/prompt-bar.js | 51 +- .../workflow-firefly/target-config.json | 6 + 3 files changed, 531 insertions(+), 16 deletions(-) diff --git a/unitylibs/core/widgets/prompt-bar/prompt-bar.css b/unitylibs/core/widgets/prompt-bar/prompt-bar.css index cd0ac1ace..25bbf860b 100644 --- a/unitylibs/core/widgets/prompt-bar/prompt-bar.css +++ b/unitylibs/core/widgets/prompt-bar/prompt-bar.css @@ -636,19 +636,6 @@ color: var(--color-black); } -/* MWPW-204848 Firefly site-redesign theme (additive) — blue Generate button.*/ -:root:has(meta[name="theme"][content="firefly-redesign"], .theme-firefly-redesign) .unity-enabled .interactive-area .ex-unity-wrap .ex-unity-widget .act-wrap .gen-btn { - background: #1473E6; -} - -:root:has(meta[name="theme"][content="firefly-redesign"], .theme-firefly-redesign) .unity-enabled .interactive-area .ex-unity-wrap .ex-unity-widget .act-wrap .gen-btn:hover { - background: #0D66D0; -} - -:root:has(meta[name="theme"][content="firefly-redesign"], .theme-firefly-redesign) .unity-enabled .interactive-area .ex-unity-wrap .ex-unity-widget .act-wrap .gen-btn .btn-txt { - color: var(--color-white); -} - .unity-enabled .interactive-area .ex-unity-wrap .ex-unity-widget .drop { background: linear-gradient(0deg, rgba(255 255 255 / 100%) 0%, rgba(255 255 255 / 100%) 100%), linear-gradient(89deg, rgba(255 255 255 / 80%) 1.01%, rgba(255 255 255 / 20%) 111.14%); box-shadow: 0 2px 8px 0 rgba(0 0 0 / 16%); @@ -1329,3 +1316,480 @@ padding: 0px; } } + +/* ========================================================================== + MWPW-204848 Firefly site-redesign — verb-as-title prompt widget + Additive: applies only when JS adds .pb-redesign to .autocomplete + (i.e. the firefly-redesign theme is active). Selectors use the full base + chain so they override base rules. Values from Figma PDF export (1440 @ 1:1). + ========================================================================== */ + +/* --- Parent .interactive-area: clear its own opaque white+checkerboard base + background (unitylibs/core/styles/styles.css) when it hosts our redesigned + widget. Without this, our card's backdrop-blur only samples that opaque + parent layer instead of the real page background behind it — this was the + actual cause of the washed-out grey card, not a section/background-media bug. */ +.unity-enabled .interactive-area:has(.pb-redesign) { + background-color: transparent !important; + background-image: none !important; +} + +/* --- Card (the autocomplete wrapper) --- */ +/* Values confirmed via Figma MCP get_design_context (node 20353:172009), not screenshots: + frosted glass card — 3% white fill + 125px backdrop blur, 2px 5%-white border, 32px radius, + plus the widget's own ambient drop-shadow (previously suppressed while removing the page's + unrelated max25 theme glow — that glow is gone, this shadow is real and wanted). */ +.unity-enabled .interactive-area .ex-unity-wrap .ex-unity-widget .autocomplete.pb-redesign, +.unity-enabled .interactive-area.dark .ex-unity-wrap .ex-unity-widget .autocomplete.pb-redesign, +.unity-enabled .interactive-area .ex-unity-wrap .ex-unity-widget .autocomplete.pb-redesign:hover, +.unity-enabled .interactive-area .ex-unity-wrap .ex-unity-widget .autocomplete.pb-redesign:focus-within { + display: flex; + flex-direction: column; + gap: 8px; + padding: 8px; + background-color: rgba(255 255 255 / 3%) !important; + background-image: none !important; + backdrop-filter: blur(125px) !important; + border: 2px solid rgba(255 255 255 / 5%) !important; + border-radius: 32px !important; + box-shadow: + 0 132px 63.5px rgba(0 0 0 / 45%), + 0 55.146px 26.529px rgba(0 0 0 / 32%), + 0 29.484px 14.184px rgba(0 0 0 / 27%), + 0 16.528px 7.951px rgba(0 0 0 / 22%), + 0 8.778px 4.223px rgba(0 0 0 / 18%), + 0 3.653px 1.757px rgba(0 0 0 / 13%) !important; + box-sizing: border-box; +} + +/* Figma specs a separate, lighter 32px blur on this header row, but since it + never spans exactly edge-to-edge with the card, it creates a visible pill + seam against the card's own 125px blur. Dropped — the card's blur already + covers this area, and removing the seam matters more than the subtle + blur-intensity difference here. */ + +/* Inner prompt box: 50% black fill + subtle 15%-black border, 24px radius (Figma). */ +.unity-enabled .interactive-area .ex-unity-wrap .ex-unity-widget .autocomplete.pb-redesign .inp-wrap { + background: rgba(0 0 0 / 50%) !important; + border: 1px solid rgba(0 0 0 / 15%) !important; + border-radius: 24px !important; + padding: 12px 16px 16px 18px !important; +} + +/* --- Header: verb selector as a title --- */ +.unity-enabled .interactive-area .ex-unity-wrap .ex-unity-widget .autocomplete.pb-redesign > .verbs-container { + position: relative; + display: flex; + align-items: center; + width: 100%; + /* Base .verb-options state caps this at max-width:114px (footer pill trigger) — + that doesn't apply to our header-title layout, so lift it explicitly. */ + max-width: none; + box-sizing: border-box; + margin: 0; + padding: 8px 12px; +} + +.unity-enabled .interactive-area .ex-unity-wrap .ex-unity-widget .autocomplete.pb-redesign .selected-verb { + /* Reset native