Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release into Prod 20240129 #13

Merged
merged 231 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
231 commits
Select commit Hold shift + click to select a range
f2acee3
Product Family detail page - authored content
Dec 22, 2023
f181f97
lint errors fix
Dec 22, 2023
745f6ba
psi checks
Dec 22, 2023
fd67814
psi checks
Dec 22, 2023
91b3b2e
updated css changes
Dec 22, 2023
dc38bd2
Merge branch 'main' into 619-product-spec-attributes-ui
sharanagoudapatil Dec 29, 2023
c69ea84
css changes
Dec 29, 2023
33228a4
css changes
Dec 29, 2023
d6bd7f1
moved google-fonts url to fonts.css
Jan 2, 2024
fcfd096
added font-weight 800
Jan 2, 2024
130ceed
Initial commits for child products
rgravitvl Jan 5, 2024
a96e6a8
css changes
Jan 5, 2024
5438916
Merge branch '620-product-detail-res-tab' into 620-product-detail-chi…
rgravitvl Jan 5, 2024
09f7816
Merge branch 'main' into 619-product-spec-attributes-ui
sharanagoudapatil Jan 5, 2024
e7cf2a1
lint error fixes
Jan 5, 2024
f61c658
updated products
rgravitvl Jan 5, 2024
2847d77
Merge branch '620-product-detail-res-tab' into 620-product-detail-chi…
rgravitvl Jan 5, 2024
bad80ad
Merge branch 'main' into 619-product-spec-attributes-ui
rgravitvl Jan 8, 2024
5e6a907
initial commit
Jan 8, 2024
8494608
Product tile custom element in atomic result template
Jan 8, 2024
18c281f
updated for feature section card left aligned
rgravitvl Jan 9, 2024
e10aff9
removed unwanted divs
rgravitvl Jan 9, 2024
130fc3e
product specification attributes changes
Jan 9, 2024
8229648
updated for pagination
rgravitvl Jan 9, 2024
0dc2f26
Merge branch '620-product-detail-res-tab' into 620-product-detail-chi…
rgravitvl Jan 9, 2024
23333e5
updated response from scripts
rgravitvl Jan 9, 2024
e1657d3
Merge branch 'main' into 620-product-detail-child-prod-tab
rgravitvl Jan 9, 2024
a3cf494
removed conditions
Jan 9, 2024
962b964
Merge branch 'main' into 643-product-spec-attributes
rgravitvl Jan 9, 2024
20d3531
Merge branch 'main' of https://github.com/hlxsites/danaher-ls-aem int…
Jan 9, 2024
183da4a
Merge branch '643-product-spec-attributes' of https://github.com/hlxs…
Jan 9, 2024
7bdc533
method call - getProductResponse()
Jan 9, 2024
f70e06b
updated the local storage condition
rgravitvl Jan 9, 2024
6d7a45d
addressed review comments
Jan 9, 2024
edd2a36
lint errors fix
Jan 9, 2024
3062b38
Merge branch 'main' into 619-product-spec-attributes-ui
rgravitvl Jan 9, 2024
ff53c1f
Merge branch '619-product-spec-attributes-ui' of https://github.com/h…
rgravitvl Jan 9, 2024
bfca616
lint error fixes
Jan 9, 2024
6d85573
Merge branch 'main' into 620-product-detail-child-prod-tab
rgravitvl Jan 9, 2024
9188657
Merge branch 'main' of https://github.com/hlxsites/danaher-ls-aem int…
Jan 10, 2024
b51f446
Merge branch 'main' into 620-product-detail-child-prod-tab
rgravitvl Jan 10, 2024
40b3620
Addressed review comments
Jan 10, 2024
861565c
minor changes
Jan 10, 2024
2a1b87d
minor changes
Jan 10, 2024
a8a980d
Merge branch 'main' of https://github.com/hlxsites/danaher-ls-aem int…
Jan 10, 2024
e50d743
added the picdiv to differentiate the divs
Jan 10, 2024
39a16dc
reverted the changes
Jan 10, 2024
015327c
added toast notofication
rgravitvl Jan 10, 2024
254fbf2
updated for show/hide products
rgravitvl Jan 10, 2024
ba8618b
updated quote
rgravitvl Jan 10, 2024
22d76d7
updated css changes
Jan 11, 2024
044db7a
added field called "unit" in the table
Jan 11, 2024
f6408b2
initial commit
Jan 11, 2024
61807f1
feat: implement product tab switcher
duynguyen Jan 11, 2024
1bee281
fix: lint errors
duynguyen Jan 11, 2024
90b3598
fix: icon color
duynguyen Jan 11, 2024
d638ffd
Merge branch 'main' of https://github.com/hlxsites/danaher-ls-aem int…
Jan 12, 2024
a71a699
review comments changes
Jan 12, 2024
249ed6d
Merge branch 'main' of https://github.com/hlxsites/danaher-ls-aem int…
Jan 12, 2024
82e1910
product citations changes
Jan 12, 2024
d9987da
Merge branch 'main' into 618
duynguyen Jan 12, 2024
b737a3a
Merge branch 'main' of https://github.com/hlxsites/danaher-ls-aem int…
Jan 12, 2024
155a016
removed unnecerary ifs
Jan 12, 2024
af3688b
Merge branch 'main' of https://github.com/hlxsites/danaher-ls-aem int…
Jan 12, 2024
f567211
changed spec table heading from h1 to h2
Jan 12, 2024
a6b15f5
minor changes
Jan 12, 2024
74542cb
minor logic change
Jan 12, 2024
97ec1e8
lint fix
Jan 12, 2024
b5dc6bd
minor changes
Jan 12, 2024
314427a
fix: low LHS on products sku pages
duynguyen Jan 15, 2024
fa02c08
chore: adjust image gallery height
duynguyen Jan 15, 2024
844c40f
Merge pull request #657 from hlxsites/fix-product-cls
duynguyen Jan 15, 2024
87bd845
Merge branch 'main' into 618
duynguyen Jan 15, 2024
3d1eb09
Merge branch 'main' into 619-product-spec-attributes-ui
duynguyen Jan 15, 2024
43c8930
Merge branch 'main' into 643-product-spec-attributes
duynguyen Jan 15, 2024
585b8f3
Merge branch 'main' into 620-product-detail-child-prod-tab
duynguyen Jan 15, 2024
feb582e
Merge branch 'main' into 641-product-citations-embeds
duynguyen Jan 15, 2024
13fa2a1
used dom-builder to construct block
Jan 15, 2024
b07a007
review comments changes
Jan 15, 2024
f37628e
Update util.js
davenichols-DHLS Jan 15, 2024
8be22fa
feat: add page tabs styling when scrolled down
duynguyen Jan 15, 2024
c7c80ed
fix: lint errors
duynguyen Jan 15, 2024
a6a69b6
Merge pull request #644 from hlxsites/643-product-spec-attributes
davenichols-DHLS Jan 16, 2024
ae1045b
Merge pull request #627 from hlxsites/619-product-spec-attributes-ui
davenichols-DHLS Jan 16, 2024
2c1d928
fix: js error
duynguyen Jan 17, 2024
0fdbc4e
Merge branch 'main' into 618
duynguyen Jan 17, 2024
ded1005
Merge pull request #653 from hlxsites/618
davenichols-DHLS Jan 17, 2024
46a7a46
Merge branch 'main' into 641-product-citations-embeds
duynguyen Jan 17, 2024
b2e6ea3
Merge branch 'main' into 620-product-detail-child-prod-tab
duynguyen Jan 17, 2024
21b6c65
Merge branch 'main' of https://github.com/hlxsites/danaher-ls-aem int…
Jan 17, 2024
9340438
Merge branch '641-product-citations-embeds' of https://github.com/hlx…
Jan 17, 2024
376e307
alt attribute added for image
Jan 17, 2024
105b683
chore: load bioz scripts async
duynguyen Jan 17, 2024
acf93a2
minor change
Jan 17, 2024
1e73f47
updated for table in converter
rgravitvl Jan 17, 2024
42ce301
updated for review comments
rgravitvl Jan 17, 2024
6c48bf7
Merge branch '620-product-detail-child-prod-tab' of https://github.co…
rgravitvl Jan 17, 2024
a7aaad0
reverted the condition
Jan 17, 2024
61ff3c9
removed image component
rgravitvl Jan 17, 2024
829ac35
test updated for blog4.html
rgravitvl Jan 17, 2024
f198047
Updated pages to fix converter tests
dave-nichols Jan 17, 2024
8e653e1
Fixing the converter tests
dave-nichols Jan 17, 2024
8215d36
moved image component to script folder
rgravitvl Jan 17, 2024
d9a6d7f
Merge pull request #659 from hlxsites/658-bug-utiljs-spaces
davenichols-DHLS Jan 17, 2024
015d163
updated image component reference
rgravitvl Jan 17, 2024
ed7db3d
Merge pull request #656 from hlxsites/641-product-citations-embeds
davenichols-DHLS Jan 17, 2024
5d5d119
Merge pull request #646 from hlxsites/620-product-detail-child-prod-tab
rgravitvl Jan 17, 2024
61a18c5
Merge branch 'main' into 665-handle-table-for-products
rgravitvl Jan 17, 2024
4d27da8
updated to coveo events, query, and pdp
davidzochowski Jan 17, 2024
62c34ba
lint fixes
davidzochowski Jan 17, 2024
f2807fb
Merge branch 'main' into 664-coveo-coveo-api-updates
davidzochowski Jan 17, 2024
83626de
updated for product overview block
rgravitvl Jan 18, 2024
d894573
added the check
rgravitvl Jan 18, 2024
f92709c
updated for product not found page
rgravitvl Jan 18, 2024
37dc86a
Updated document title
rgravitvl Jan 18, 2024
87a99ee
Merge pull request #671 from hlxsites/666-product-coveo-overview
mhaack Jan 18, 2024
9d6ee37
Merge branch 'main' into 672-routing-404-if-product-not-exist
rgravitvl Jan 18, 2024
cdc1bb1
used build block for product not found
rgravitvl Jan 18, 2024
da427b4
fixed lint issues
rgravitvl Jan 18, 2024
c496711
initial commit
Jan 18, 2024
097ad78
optimized image
rgravitvl Jan 18, 2024
d2dc473
Updated CSS Changes for LHS and UX
dave-nichols Jan 18, 2024
ac549de
Merge branch 'main' of https://github.com/hlxsites/danaher-ls-aem int…
Jan 18, 2024
69c06be
sorted button styling as well for hero
dave-nichols Jan 18, 2024
e7f6111
Merge pull request #674 from hlxsites/669-product-styling
davenichols-DHLS Jan 18, 2024
56ce829
Merge branch 'main' of https://github.com/hlxsites/danaher-ls-aem int…
Jan 18, 2024
67adad8
updated table for products
rgravitvl Jan 18, 2024
8182e4e
Merge branch 'main' into 665-handle-table-for-products
rgravitvl Jan 18, 2024
4662d06
updated 404 redirect
rgravitvl Jan 18, 2024
c26b3b7
Danaher Purple 500 for the highlight colour
Jan 18, 2024
3d99dda
removed block js
rgravitvl Jan 18, 2024
5678993
Merge branch 'main' into 665-handle-table-for-products
rgravitvl Jan 18, 2024
7e67b1d
fixed lint issues
rgravitvl Jan 18, 2024
7f78ab5
added additional test product
rgravitvl Jan 19, 2024
a68c4e5
Updated bundle information to product hero
rgravitvl Jan 19, 2024
8b8d26d
added check for brand name
rgravitvl Jan 19, 2024
16a78fd
CSS changes for tabs
Jan 19, 2024
7a8f029
Image viewer should be square
Jan 19, 2024
54fecb9
Merge pull request #678 from hlxsites/166-extnt-product-detail-for-bu…
rgravitvl Jan 19, 2024
aa53105
Merge branch 'main' into 665-handle-table-for-products
rgravitvl Jan 19, 2024
8f67933
Merge branch 'main' into 672-routing-404-if-product-not-exist
rgravitvl Jan 19, 2024
d0af6ae
product-hero-container padding alignment
Jan 19, 2024
939f0c7
Merge branch 'main' into 668-prod-tab-block-layout
sharanagoudapatil Jan 19, 2024
422d0b4
feat: add embed fragments
duynguyen Jan 19, 2024
df0fa92
removed unused code
Jan 19, 2024
7913dc7
fix: hover issues on page tabs
duynguyen Jan 19, 2024
a398c6c
UI for bundle product parts tab
rgravitvl Jan 19, 2024
8ea0847
updated for review comments
rgravitvl Jan 19, 2024
3f3a5e7
feat: add scroll to tabs when changed tab
duynguyen Jan 19, 2024
56f83fe
updated product parts tab
rgravitvl Jan 19, 2024
8be397e
fixed lint issues
rgravitvl Jan 19, 2024
2c8e37f
Merge pull request #675 from hlxsites/668-prod-tab-block-layout
rgravitvl Jan 19, 2024
372f956
Merge branch 'main' into 679-ui-bundle-product-detail-tab
rgravitvl Jan 19, 2024
5f31406
Merge branch 'main' into 660
duynguyen Jan 19, 2024
c5f4267
feat: add styling for product menu
duynguyen Jan 19, 2024
fbaf15c
chore: remove redundant code
duynguyen Jan 19, 2024
fb35820
Merge pull request #676 from hlxsites/665-handle-table-for-products
rgravitvl Jan 19, 2024
0a079dc
updated document title for product page
rgravitvl Jan 19, 2024
fac3bac
reverted the changes
rgravitvl Jan 19, 2024
e78a961
Merge branch 'main' into 679-ui-bundle-product-detail-tab
rgravitvl Jan 19, 2024
fa82602
Merge pull request #684 from hlxsites/660
duynguyen Jan 19, 2024
654b39e
removed unwanted check
rgravitvl Jan 22, 2024
6f177da
Merge pull request #683 from hlxsites/679-ui-bundle-product-detail-tab
rgravitvl Jan 22, 2024
7c4f39f
removing metadata for default product page
rgravitvl Jan 22, 2024
d89d3f4
fixed lint issues
rgravitvl Jan 22, 2024
1c4c0a8
fixed lint issues
rgravitvl Jan 22, 2024
d13d03e
Merge pull request #686 from hlxsites/681-default-prod-pages-no-aem-m…
rgravitvl Jan 23, 2024
192ee90
chore: extend page tab load delay
duynguyen Jan 23, 2024
040cefd
updated tabs based on coveo call
rgravitvl Jan 23, 2024
12007bf
Merge branch 'main' into 662-show-tabs-based-on-coveo
rgravitvl Jan 23, 2024
7a86bdd
chore: reduce delay load to 5s
duynguyen Jan 23, 2024
89541fb
chore: request quote button fixed width
duynguyen Jan 23, 2024
4cb5a9e
chore: clean up product hero styles
duynguyen Jan 23, 2024
afcf0f8
test: remove image gallery
duynguyen Jan 23, 2024
ed8a884
Revert "test: remove image gallery"
duynguyen Jan 23, 2024
ea9fbab
chore: eager loading hero image
duynguyen Jan 23, 2024
4451cf7
updated variable declaration
rgravitvl Jan 23, 2024
9554e3b
Merge branch 'main' into 672-routing-404-if-product-not-exist
rgravitvl Jan 23, 2024
d59439b
fix: lint error
duynguyen Jan 23, 2024
3ab3122
initial commit
Jan 23, 2024
a200ef6
added eventListener to dropdown
Jan 23, 2024
040db17
changed the logic as per review comments
rgravitvl Jan 23, 2024
9ea7cd3
Merge pull request #689 from hlxsites/fix-product-tbt
davenichols-DHLS Jan 23, 2024
e3103ea
Merge pull request #688 from hlxsites/662-show-tabs-based-on-coveo
davenichols-DHLS Jan 23, 2024
27e0d72
updated to use metadata template instead of page path
davidzochowski Jan 23, 2024
f49ca1e
adding lib-franklin import, removing .hlx.page conditional so it fire…
davidzochowski Jan 23, 2024
5042612
Merge branch 'main' into 664-coveo-coveo-api-updates
davidzochowski Jan 23, 2024
5499fd6
reverting back to original conditional
davidzochowski Jan 23, 2024
4926ef3
Merge pull request #673 from hlxsites/672-routing-404-if-product-not-…
davenichols-DHLS Jan 23, 2024
90e650e
Product tile fixes in the product family pages
Jan 23, 2024
44f25d4
Check for the tab Product Details
Jan 23, 2024
9cc0a7f
Merge branch 'main' of https://github.com/hlxsites/danaher-ls-aem int…
Jan 24, 2024
d942bb3
review comments changes
Jan 24, 2024
5089f2c
Merge pull request #690 from hlxsites/682-page-tabs-on-mobile
davenichols-DHLS Jan 24, 2024
134401f
Merge pull request #692 from hlxsites/691-product-product-tile-fixes
davenichols-DHLS Jan 24, 2024
d1e936d
chore: improve product detail image
mhaack Jan 24, 2024
155fcaa
initial commit
Jan 24, 2024
e559dde
fix: lint issues
mhaack Jan 24, 2024
64a4399
chore: move createOptimizedS7Picture to scripts.js
mhaack Jan 24, 2024
de4e25a
Slot warning fix to the atomic result link and layout fixes
Jan 24, 2024
85d83b1
Pagination spacing fix
Jan 24, 2024
6b19681
Merge pull request #696 from hlxsites/product-img-695
davenichols-DHLS Jan 24, 2024
8b85f95
Updated card list UX for pill buttons
dave-nichols Jan 24, 2024
0d401d3
Merge pull request #699 from hlxsites/694-ux-pill-states
davenichols-DHLS Jan 24, 2024
f81c8e7
Merge branch 'main' into 691-product-product-tile-fixes
rgravitvl Jan 25, 2024
5b3abab
Merge branch 'main' of https://github.com/hlxsites/danaher-ls-aem int…
Jan 25, 2024
f4c6a0d
removed export
Jan 25, 2024
253ec61
Product Page - Host Name in DanaherConfig
Jan 25, 2024
44b9d20
Merge pull request #702 from hlxsites/701-host-name-in-config
davenichols-DHLS Jan 25, 2024
dd6b035
Merge pull request #700 from hlxsites/691-product-product-tile-fixes
davenichols-DHLS Jan 25, 2024
cce4d51
Merge pull request #698 from hlxsites/687-link-new-same-window
davenichols-DHLS Jan 25, 2024
a742b82
chore: fix default image loading
mhaack Jan 25, 2024
0b46d71
Merge pull request #704 from hlxsites/image-fix
davenichols-DHLS Jan 25, 2024
7c1db9f
added rfq pop for carousel
rgravitvl Jan 25, 2024
325ecef
Merge pull request #707 from hlxsites/703-rfq-button-carousel-not-work
davenichols-DHLS Jan 25, 2024
392e06d
Merge branch 'main' into 664-coveo-coveo-api-updates
davidzochowski Jan 25, 2024
d861400
Merge pull request #670 from hlxsites/664-coveo-coveo-api-updates
davenichols-DHLS Jan 25, 2024
e2111af
Fix to the bundle product add to quote from product hero section
Jan 25, 2024
a540770
Fix to the review comments
Jan 26, 2024
0703038
Updated to limit 20 before pagination
dave-nichols Jan 26, 2024
3794aba
Fix to the review comments
Jan 26, 2024
4049018
Updating all files
dave-nichols Jan 26, 2024
61b1643
fix: image metadata extraction
mhaack Jan 26, 2024
0d3ab92
Updated to temp fix width on Resouces tab
dave-nichols Jan 26, 2024
25624f5
Fixed to MIN media width
dave-nichols Jan 26, 2024
4877247
Merge pull request #714 from hlxsites/713-product-items-limit
davenichols-DHLS Jan 26, 2024
49a0402
reverting back to 48 as no pagination on family pages.
dave-nichols Jan 26, 2024
23a1387
Merge pull request #716 from hlxsites/713-product-items-limit
davenichols-DHLS Jan 26, 2024
5c141ed
fix: converter tests
mhaack Jan 26, 2024
35c15ef
Merge pull request #715 from hlxsites/meta-img-711
davenichols-DHLS Jan 26, 2024
bfea526
Merge pull request #709 from hlxsites/bundle-addto-quote
davenichols-DHLS Jan 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
<div class="relative sm:pt-8 lg:pt-14 pt-12 md:pb-24 lg:pb-80 xl:col-start-1">
<h2 class="text-sm font-semibold text-indigo-300 tracking-wide uppercase"></h2>
<p class="text-sm font-semibold text-danaherblue-600 uppercase tracking-wide">404 error</p>
<h1 class="mt-2 text-4xl font-extrabold text-gray-900 tracking-tight sm:text-5xl">Page not found</h1>
<p class="mt-2 text-base text-gray-500">Sorry, we couldn’t find the page you’re looking for.</p>
<h1 class="heading-text mt-2 text-4xl font-extrabold text-gray-900 tracking-tight sm:text-5xl">Page not found</h1>
<p class="description-text mt-2 text-base text-gray-500">Sorry, we couldn’t find the page you’re looking for.</p>
<div class="mt-6">
<a href="https://lifesciences.danaher.com" title="Go back" class="group inline-flex items-center font-medium text-danaherblue-600 hover:text-danaherblue-500">Go back home
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 ml-2 group-hover:translate-x-1 group-hover:tracking-wide group-hover:font-semibold transition" fill="currentColor" viewBox="0 0 16 16">
Expand All @@ -58,4 +58,10 @@ <h1 class="mt-2 text-4xl font-extrabold text-gray-900 tracking-tight sm:text-5xl
</main>
<footer></footer>
</body>
<script type="text/javascript">
if(window.location.pathname === '/us/en/products/product-not-found'){
document.querySelector("h1.heading-text").innerHTML = 'Product not found';
document.querySelector("p.description-text").innerHTML = 'Sorry, we couldn’t find the product you’re looking for.';
}
</script>
</html>
4 changes: 2 additions & 2 deletions blocks/card-list/card-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const createFilters = (articles, activeTag) => {
a(
{
class:
'text-center my-2 inline-block rounded-full px-4 py-2 font-semibold bg-d text-danaherpurple-500 bg-danaherpurple-50 hover:bg-gray-100 hover:text-gray-500',
'text-center my-2 inline-block rounded-full px-4 py-1 font-semibold bg-d text-danaherpurple-500 bg-danaherpurple-50 hover:bg-white hover:text-danaherpurple-500 border hover:border-danaherpurple-500',
href: newUrl.toString(),
},
'View All',
Expand All @@ -95,7 +95,7 @@ const createFilters = (articles, activeTag) => {
const tagAnchor = a(
{
class:
'text-center my-2 inline-block rounded-full px-4 py-2 font-semibold bg-d hover:bg-gray-100 hover:text-gray-500',
'text-center my-2 inline-block rounded-full px-4 py-1 font-semibold bg-d hover:bg-white hover:text-danaherpurple-500 border hover:border-danaherpurple-500',
href: newUrl.toString(),
},
keyword,
Expand Down
13 changes: 11 additions & 2 deletions blocks/carousel/carousel.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { button, div, span } from '../../scripts/dom-builder.js';
import { decorateModals } from '../../scripts/scripts.js';

/* eslint no-underscore-dangle: 0 */
const DEFAULT = {
Expand Down Expand Up @@ -259,7 +260,7 @@ export default function decorate(block) {
content.classList.add(...'lg:w-1/2 px-4 lg:px-8 xl:pr-10 pb-10 pt-6 md:pt-4 lg:py-20'.split(' '));
const heading = content.querySelector('h2');
const paragraphs = content.querySelectorAll('p:not(.button-container)');
const allBtns = content.querySelectorAll('p.button-container .btn, a[title="link"]');
const allBtns = content.querySelectorAll('p.button-container');
if (heading) heading.classList.add(...'text-2xl md:text-4xl tracking-wide md:tracking-tight m-0 font-medium md:font-normal leading-8 md:leading-[55px]'.split(' '));
paragraphs.forEach((paragraph) => {
if (!paragraph.querySelector('a[title="link"]')) {
Expand All @@ -275,7 +276,14 @@ export default function decorate(block) {
elBtn.innerHTML += `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="w-5 h-5 transition group-hover:translate-x-1" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8"/>
</svg>`;
} else elBtn.className = `btn btn-lg ${(changedBtn === 0) ? 'btn-primary-purple' : 'btn-outline-trending-brand'} rounded-full px-6`;
} else {
elBtn.querySelector('a')?.classList.remove(...'btn btn-outline-primary'.split(' '));
elBtn.className = `btn btn-lg ${(changedBtn === 0) ? 'btn-primary-purple' : 'btn-outline-trending-brand'} rounded-full px-6`;
if (elBtn.querySelector('a[href="#request-quote"]')) {
const anc = elBtn.querySelector('a[href="#request-quote"]');
anc.parentElement.classList.add('show-modal-btn');
}
}
actions.append(elBtn);
elBtn.parentElement.remove();
changedBtn = 1;
Expand All @@ -289,6 +297,7 @@ export default function decorate(block) {
carouselSlider.append(picture);
}
changedBtn = 0;
decorateModals(carouselSlider);
block.append(carouselSlider);
return { position: parseInt(eleIndex, 10), el: carouselSlider };
}).filter((item) => item);
Expand Down
2 changes: 1 addition & 1 deletion blocks/category-family/category-family.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export default async function decorate(block) {
block.innerHTML = categoryFamily;
await import('https://static.cloud.coveo.com/atomic/v2/atomic.esm.js');
await customElements.whenDefined('atomic-search-interface');
loadScript('/blocks/category-family/image-component.js');
loadScript('/../../scripts/image-component.js');

const categorySearchInterface = document.querySelector('atomic-search-interface.category-search');

Expand Down
47 changes: 46 additions & 1 deletion blocks/columns/columns.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@apply my-0 lg:my-4 font-medium text-4xl2 inline-flex leading-10 text-danahergray-900;
}

.columns > div div > p:not(.button-container) {
.columns:not(.columns-2-cols) > div div > p:not(.button-container) {
@apply text-lg block leading-5;
}

Expand Down Expand Up @@ -72,6 +72,51 @@ main .top-border > div.columns-wrapper:first-child {
@apply py-2 px-6 !text-white;
}

/* productdetail changes from here */

.productdetail main .columns p.embed-vimeo {
@apply my-2;
}

.productdetail main .columns.columns-2-cols .picdiv p:not(picture) + p:last-child,
.productdetail main .columns p.embed-vimeo~p {
@apply text-sm leading-5 text-gray-300;
}

.productdetail main .columns p > strong{
@apply !font-medium !text-lg !leading-5 !text-gray-900;
}

.productdetail main .columns p {
@apply pt-2 !text-base text-danahergray-700;
}

.productdetail main .columns.columns-2-cols .h-full {
@apply text-base text-danahergray-700 py-2;
}

.productdetail main .columns.columns-3-cols {
@apply text-center mb-3;
}

.productdetail main .default-content-wrapper > p {
@apply w-3/4;
}

.productdetail main .default-content-wrapper > h2:only-child {
@apply text-center;
}

.columns.features-card-left > div > div.h-full > .card {
@apply flex flex-row pb-6;
}

.columns.features-card-left > div > div.h-full > div.card > .left-content {
@apply pr-3;
}

/* productdetail changes till here */

.blog main .section.default-content-wrapper > p {
@apply mt-3 leading-7 text-base text-danahergray-700;
}
Expand Down
41 changes: 41 additions & 0 deletions blocks/columns/columns.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import {
div,
} from '../../scripts/dom-builder.js';

export default function decorate(block) {
if (block.parentElement.parentElement.className.includes('columns-container')) {
block.parentElement.parentElement.classList.add(...'px-0 lg:px-8 !py-4 md:!py-10'.split(' '));
Expand Down Expand Up @@ -25,6 +29,43 @@ export default function decorate(block) {
row.classList.add('h-full');
}

const ulEle = row.querySelectorAll('div > ul, p > ul');
ulEle.forEach((ele) => {
ele.classList.add(...'text-base list-disc pl-10 space-y-2 text-danahergray-700'.split(' '));
});

const spanEl = row.querySelectorAll('p > span.icon');
spanEl.forEach((element) => {
element.classList.add(...'w-12 h-12 relative rounded-md bg-danaherblue-900 text-white shrink-0'.split(' '));
const svg = element.querySelector('svg');
svg.classList.add(...'w-4 h-4 rounded shadow invert brightness-0'.split(' '));
});

if (block.className.includes('features-card-left')) {
const pTags = row.querySelectorAll('p');
let cardDiv;
let leftDiv;
let rightDiv;
pTags.forEach((element) => {
if (element.firstElementChild?.nodeName.toLowerCase() === 'span') {
cardDiv = div({ class: 'card' });
leftDiv = div({ class: 'left-content' });
rightDiv = div({ class: 'right-content' });
leftDiv.append(element);
cardDiv.append(leftDiv);
cardDiv.append(rightDiv);
row.append(cardDiv);
} else if (rightDiv) rightDiv.append(element);
});
} else if (block.className.includes('columns-2-cols')) {
const pTags = row.querySelectorAll('p');
pTags.forEach((element) => {
if (element?.firstElementChild?.nodeName?.toLowerCase() === 'picture') {
element.parentElement.classList.add('picdiv');
}
});
}

const anc = row.querySelectorAll('p > a');
if (anc) {
[...anc].forEach((item) => {
Expand Down
8 changes: 4 additions & 4 deletions blocks/header/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -643,11 +643,11 @@ function buildFlyoutMenus(headerBlock) {
}

function handleScroll() {
if (window.pageYOffset >= 95) {
document.getElementById('sticky-header').classList.add('remove-descedents', 'fixed', 'inset-x-0', 'top-0', 'w-full', 'lg:!pb-4', 'shadow-md');
if (window.scrollY >= 95) {
document.getElementById('sticky-header').classList.add('remove-descedents', 'fixed', 'inset-x-0', 'top-0', 'w-full', 'lg:!pb-4', 'shadow-lg');
document.getElementById('sticky-header').firstElementChild.classList.add('bg-white');
} else if (window.pageYOffset < 95) {
document.getElementById('sticky-header').classList.remove('remove-descedents', 'fixed', 'inset-x-0', 'top-0', 'w-full', 'lg:!pb-4', 'shadow-md');
} else if (window.scrollY < 95) {
document.getElementById('sticky-header').classList.remove('remove-descedents', 'fixed', 'inset-x-0', 'top-0', 'w-full', 'lg:!pb-4', 'shadow-lg');
document.getElementById('sticky-header').firstElementChild.classList.remove('bg-danaherblue-600');
}
}
Expand Down
76 changes: 76 additions & 0 deletions blocks/page-tabs/page-tabs.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
svg symbol path {
stroke: inherit;
}

.page-tabs-container {
@apply z-10;
}

.page-tab {
@apply min-h-[24rem];
}

.page-tabs a .icon svg > use {
@apply stroke-slate-400;
}

.page-tabs li:hover > a,
.page-tabs li[aria-selected="true"] > a {
@apply text-white bg-danaherpurple-500;
}

.page-tabs li:hover > a .icon svg > use,
.page-tabs li[aria-selected="true"] > a .icon svg > use {
@apply stroke-white;
}

.page-tabs li:hover > a .icon-view svg,
.page-tabs li[aria-selected="true"] > a .icon-view svg {
@apply text-white;
}

.page-tabs-container.fixed {
@apply mt-0 bg-danaherpurple-500 shadow-lg;
}

.page-tabs-container.fixed .page-tabs-wrapper {
@apply pt-4;
}

.page-tabs-container.fixed nav > div {
@apply justify-start;
}

.page-tabs-container.fixed ul {
@apply shadow-none rounded-none;
}

.page-tabs-container.fixed li {
@apply w-36 h-10 bg-danaherpurple-500 text-white;
}

.page-tabs-container.fixed li > a {
@apply flex-row bg-danaherpurple-500 text-white;
}

.page-tabs-container.fixed li:hover > a,
.page-tabs-container.fixed li[aria-selected="true"] > a {
@apply rounded-full text-danaherpurple-500 bg-white border-2 border-danaherpurple-500;
}

.page-tabs-container.fixed li a .icon svg > use {
@apply stroke-white;
}

.page-tabs-container.fixed li:hover > a .icon svg > use,
.page-tabs-container.fixed li[aria-selected="true"] > a .icon svg > use {
@apply stroke-danaherpurple-500;
}

.page-tabs-container.fixed .icon {
@apply mr-2;
}

.page-tabs-container.fixed .icon-view {
@apply hidden;
}
Loading
Loading