Releases: massgov/mayflower
Releases · massgov/mayflower
14.1.2
14.1.1
14.1.0
14.1.0 (11/21/2025)
Fixed
- (Patternlab) [RichText] DP-37275: Revert heading flow-root fix and conditionally clear fix after multiple floating images. (#1987)
- (Patternlab) [Figure, RichText] DP-39383: Fixed single image and list overlap (#1987)
- (Patternlab,Assets) [Print] DP-38159: Hide feedback, chatbot, TOC links and contact links in print. Simplify Header and FooterNew in print (#1986)
- (React,Patternlab,Assets) [RadioButton, Checkbox, Inputs] DP-39360: Fix high contrast mode, increase border contrast. (#2003)
- (Patternlab, Assets) [Print] DP-39371: Fix print styles. (#1989)
- (Patternlab) [Card] DP-39436: Add aria-describedby to make card text accessible. (#1988)
- (Patternlab,Assets) [Elements] DP-39495: Eliminate page horizontal scroll. (#1990)
- (Patternlab) [HeaderHamburger] DP-39790: Remove unnecessary tabindex="-1" from ma__header__hamburger__logo div to fix WCAG 2.1 accessibility issue.
- (Patternlab, React) [HamburgerNav, HeaderHamburger, HeaderMixedSecondary, HeaderMixed] DP-39792: Fix screen reader label for the menu/close button. (#2016)
- (Patternlab, React) [SiteLogo] DP-39895: Remove title attribute and replace it with alt attribute on the logo image. (#2013)
- (Patternlab) [responsiveTable] DP-40188: Fix sticky header bug. (#1998)
- (Patternlab,React,Assets) [BrandBanner,ButtonWithIcon] DP-40399: Add aria attributes and increase icon contrast. (#2008)
- (Patternlab, Assets) [Input,TextArea,Select,InputDate,InputNumber] DP-40822: Implement consistent focus styles for text input, selectbox, text areas and number inputs in default and high contrast modes. (#2005)
- (Patternlab) [DownloadLinkMultilang, InlineLinksLanguage] DP-40850: Improves accessibility for multiple language translation links by adding aria-labelledby attributes that reference both the language link and associated document title, ensuring screen readers can distinguish between links for different documents.
- (Patternlab) [Popover] DP-40941: Position the Popover dialog outside of parent div container constraint, relative to trigger and bounded by viewport using JS. (#2006)
- (Patternlab) [TableOfContentsHierarchy, inlineOverlay] DP-41557: Fix keyboard navigation skipping links in table of contents due to focus trapping logic. (#2010)
- (Core) [Usage] Fix Getting Started Page. (#2025)
- (Core) [Header] Fix missing seal in Header, Footer and Template stories. (#2025)
Changed
- (Patternlab) [StickyTOC] DP-37775: Make StickyTOC stickiness responsive to browser zoom leve. (#1975)
- (Assets, Core, Patternlab, React, Site) [SCSS files] DP-38077: Changed colors to use the new CSS variables rather than SCSS variables (#1981)
- (Patternlab) [Popover] DP-39184: Change template to remove whitespace from markup (#1980)
- (Assets) [RichText] DP-41993: Remove green line from the collapsible header. (#2012)
- (Patternlab) [RichText] DP-42243: Add inline code styling. (#2020)
- (Assets, Patternlab) [MappedLocations] DP-42621: Fix accessibliity issue with map on service and org pages. (#2018)
- (Assets, Patternlab) [EmergencyHeader] DP-43210: Improve mobile layout of the sitewide alerts. (#2022)
Added
- (Patternlab) [isHighZoom] DP-37775: Add isHighZoom helper function to handle zoom level responsiveness. (#1975)
- (Assets) [_color-tokens, _colors] DP-38077: Added CSS variables for colors (#1981)
- (Assets) [Input,KeywordSearch,HeaderSearch,InputDate] DP-40822: Scope input styles to Mayflower UI only. (#2005)
Removed
14.0.0
14.0.0 (4/30/2025)
Changed
- (Docs) [Docs] DP-24730: Onboarding documentation improvements. (#1626)
- (Assets) [StickyTOC] DP-36608: Table of contents is displaying for info details pages even when <3 sections. (#1948)
- (Assets) [StickyTOC] DP-37249: We should see contact in the table of contents. (#1949)
- (Patternlab) [Card Group & Stat] DP-37544: Add accordion styling to Cards & bring background color up for Stat, if within an "enhanced" heading.
- (Patternlab) [SiteLogo] DP-37552: Microsite header updates (#1957)
- (Patternlab) [FeaturedItemMosaic] DP-37567: Remove collapse on mobile (#1953).
- (Patternlab) [Services, KeyMessage] DP-37834: Add two new display options for Service Section, both two column, one white and one light grey like "enhanced". Adds additional "subtitle" and "link" field to Service Section and an "eyebrow" field to Key Message Section. (#1954)
- (Patternlab) [Card] DP-38060: Added new variant of "Card" to make the content vertical, with an included image. An optional eyebrow is also added. (#1960)
- (Patternlab) [Card] DP-38226: Adjusts the CSS for a Card to use a separate class for inside the Card and avoid repeating .ma__card__wrapper.
- (Patternlab) [Card] DP-38308: Makes the image field on a vertical card optional.
- (Patternlab) [figureImage] DP-38324: Make sure meta information for the atom does not depend on image or content key availability.
- (Patternlab) [Card] DP-38325: Fixes the max width for first card used in Campaign Feature.
- (Patternlab) [Button Dropdown] DP-38339: Added conditional
idattribute to the button in the Button Dropdown component to support analytics tracking for specific use cases like the "log in to" button. (#1967) - (Patternlab) [Image, featuredItem] DP-38375: Allow externally rendered image in featuredItem and Image components.
- (Patternlab) [Key Message] DP-38400: Adjusts the font sizing of the subtitle. Adds additional padding around the container. Adds a new variant for two columns of text. (#1969,#1977)
- (Patternlab) [Card] DP-38411: Adjusts image cards within a .ma__rich-text to ensure they are equal width even if there are no images.
- (React) [HeaderHamburger] DP-38622: Make hamburger menu conditional, and add a homeLink option. (#1982)
Removed
- (Assets) [Heading] DP-35812: removed aria-hidden text trying to add context to headings that is not helpful.
- (Patternlab) [Download Link Multilang] DP-36970: Fix inconsistent indentation for translated text
- (Patternlab,React,Assets) [Tooltip] DP-37992: Remove Tooltip component, replace tooltip with popover (#1979)
Added
- (Assets) [Icon] DP-35898: Add Bluesky icon. (#1944)
- (Docs) [Icon] DP-35898: Add icon contribution documentation. (#1944)
- (Patternlab) [ButtonDropdown] DP-36147: Add ButtonDropdown component. Make it passable to PageHeader to render login options. (#1943)
- (Patternlab) [SecondaryNav,SecondaryNavHamburger] DP-37552: Microsite header updates (#1957)
- (React, Patternlab) [Popover] DP-37841: Add Popover component to patternlab. (#1971)
- (Patternlab) [HeaderSearch] DP-38621: Allow HeaderSearch to add additional query parameters as hidden inputs. (#1973)
Fixed
13.2.0
13.2.0 (1/22/2025)
Added
- (Patternlab) [RichText] DP-22509: Add list style classnames to match openmass ckeditor specific classes. (#1927)
- (Patternlab) [StickyNav] DP-28816: Add horizontalLayout variant in place of OrganizationNavigation. (#1905)
- (Patternlab) [CollapsibleContent] DP-32036: Remove CollapsibleContent as LinkList example. This fixes the link list markup semantic and styles (#1925)
- (Patternlab,Assets,React,Core) [Icon,SocialLinks] DP-33218: Add Vimeo icon. (#1914)
- (Patternlab) [UtilityPanel] DP-34033: Allow passable classnames on the container for analytics. (#1921)
- (Patternlab) [ContactList] DP-34266: Add
levelproperty to allow override default contactHeading. (#1926)
Removed
- (Patternlab) [OrgContact] DP-26650: Consoldated OrgContact into ContactRow. (#1847)
- (Patternlab) [CollapsibleContent] DP-32036: Remove CollapsibleContent extended example. (#1925)
Changed
- (Assets,Patternlab,React) Make font scale responsive to browser settings (#1933)
- (Patternlab) [ContactRow,ContactUs,ContactList] DP-26650: Move all three of the contact patterns from 'organisms/by-template', 'organisms/by-author', and 'molecules' under 'organisms/contact'. (#1847)
- (Patternlab) [ContactRow] DP-26650: Remove folding logic, and reorder contact items. (#1847)
- (Patternlab) [ResponsiveTable] DP-28505: Replace the custom scroll bar with the native one. (#1857)
- (Patternlab) [Location Listing] DP-31802: Accessibility improvement for the locatio listing page. (#1893)
- (Patternlab) [Assets] DP-17338: Hamburger Menu Mobile Link Styles inconsistency. (#1920)
- (Patternlab) [LeafletMap] DP-32001: Enlarge the popup close button. (#1909)
- (Patternlab) [ColorToken] DP-32007: Add a underline to a download link and darken the underline color to meet WCAG. (#1901)
- (Patternlab) [ContactGroup] DP-32013: Match contact group link style to RTE links'. (#1910)
- (Patternlab) [MassFeedback] DP-17338: Adjust legend spacing. (#1906)
- (Patternlab) [rich-text] DP-34424: Add floats clearing to headings in rich-text styles
- (Patternlab) [Feedback] DP-34425: Allow 'alertMsg' render HTML.
- (Assets) [feebackFormValidation] DP-34515: Modified feeback form validation js to include TLD and non-Latin validation. (#1929)
- (Patternlab) [ResponsiveTables] DP-35080: Usability improvements to rich text tables related to horizontal scrolling. (#1935)
- (Patternlab) [Assets] DP-35365: Fix image styles in rich text with text wrapping. (#1938)
Remove
- (Patternlab) [OrganizationNavigation] DP-28816: Remove the pattern and its assets, replace that with a new variant of StickyNav. (#1905)
Fixed
- (Patternlab) [PressListing] DP-32426: Fix A11y heading issue on news page. (#1904)
- (Patternlab) [HelpTip] DP-33135: Fix help tip close button accessibility issues. (#1911)
- (Patternlab) [CollapsibleContent, CollapsibleHeader, LinkList] DP-34561: Fix list bullet points alignment on mobile, adjust spacing to better display accordion and content. (#1926)
- (Patternlab) [RichText] DP-34424,DP-34976: Rollback heading clear floats and fix the comp heading styles in floats (#1934)
- (Patternlab, Assets) [FeedbackButton] DP-36114: Increase border color contrast for a11y. (#1937)
13.1.0
13.1.0 (3/29/2024)
Changed
- (Patternlab) [Breadcrumbs, Footnotes] DP-30528: Adjust target size for breadcrumbs home and footnotes to meet WCAG 2.2. (#1875)
- (Patternlab) [Sidebar Contact] DP-30655: Correct the heading level for sidebar contact items. (#1887)
- (Patternlab) [UtilityNav,Button] DP-31679: Update contrast settings utility panel data and fix Button with
hrefstyles. (#1874) - (Patternlab) [SectionLinks] DP-31690: Change card component to render title as text instead of decorative link. Remove see all link on desktop. (#1877)
- (Patternlab) [HeaderAlerts] DP-31793: Add border for the component and chnage icon for notice to improve the color contrasts. (#1884)
- (Patternlab) [MappedLocations] DP-31798: A11y - Hide the map from keyboard and AT users. (#1881)
- (Patternlab) [FeaturedItem] DP-31866: Fix link text wrapping too soon, increase link text font size. (#1883)
- (Patternlab) [Suggested Pages] DP-31955: Add a condition to check suggested page items. (#1886)
- (Patternlab) [HeaderAlerts,ActionStep] DP-32003: Decrease spacing and minimize wrapping on mobile. (#1898)
- (Patternlab) [OrgContact] DP-32010: Org contact logo too large on mobile. (#1894)
- (Patternlab) [Button] DP-32068: Button component changes, added new class and logic to override default uppercase letters. (#1892)
- (Patternlab) [Iframe] DP-32109: Changed iframe component to allow adding custom class (#1897)
Fixed
- (Patternlab) [UtilityNav] DP-31616: Add
aria-controlsto utility nav buttons. (#1864) - (Patternlab) [multiple components] DP-31780: Add space to screen reader only text containers where screen readers announce the text sequentially as a part of its parent contetiner's last word. (#1876)
- (Patternlab,React) [TextArea,FeedbackForm] DP-31616: Fix textarea js conflicts with Formstack. Fix label
forattribute and add default classname. (#1864) - (Patternlab) [mainNavHamburger] DP-31923: Hamburger menu bug fix for mobile devices. (#1890)
- (React) [DecorativeLink,GenTeaserTitle] DP-32127: Fix proptype checks for the icon props. (#1875)
Added
- (Patternlab,Assets) [Icon,LocationIcons] DP-32029: Add wifi icon to assets and location icons component, adjust location icons spacing to prevent tight spacing between icon labels. (#1891)
- (React) [DecorativeLink,GenTeaserTitle] DP-32127: Add fileIcon prop, to allow overriding existing download link icons logic in search.mass.gov to render Mass.gov media entity for documents as download links. (#1875)
13.0.1
Hotfix mayflower-assets peer dependency version
What's Changed
- update peer dependency version by @clairesunstudio in #1872
13.0.0
13.0.0 (2/1/2024)
Fixed
- (Patternlab) [MainNav] DP-14430: Homepage desktop global nav expansion bug. (#1869)
- (Patternlab) [TableResponsive] DP-25894: Fix styling issues. (#1842)
- (Patternlab) [OrganizationNavigation] DP-28670: Improve desktop and mobile keyboard and screen reader user experience. Label elements correctly and concisely, make interactive elements keyboard accessible and announce the state to screen readers. (#1819)
- (Assets, React) [FilterBox] DP-28670: Fixed
.ma__visually-hiddentypo. (#1819) - (Patternlab) [SuggestedPages] DP-29600: Fixed suggested page item link covering the whole page. Clean up duplicative styles. (#1837)
- (Patternlab) [PageHeader] DP-30296: Fix subCategory tag from h3 to div for semantic markup. (#1845)
- (Patternlab) [StickyTOC] DP-30532: Fix TOC show more rendering issue. (#1863)
- (Core) [Documentation] DP-30977: Update JS and CSS instructions. (#1855)
- (Patternlab) [UtilityPanel] DP-31038: Fixed UtilityPanel data and patternlab display. (#1856)
- (Patternlab) [LocationFilters] DP-31366: Fixed sporadic issues with location filters. (#1861)
- (Assets) [Breakpoints] DP-31527: Increase
$bp-header-toggle-minfrom 840px to 940px to prevent utility items wrapping. (#1864) - (Patternlab) [PressListing] DP-31620: Fix press listing heading levels. (#1867)
Changed
- (Assets) [RichText] DP-20609: Made change to not set image width to 100%. (#1828)
- (Patternlab) [MainNavigation] DP-24290: Re-label navigation elements for screen readers. (#1743)
- (Patternlab) [TOC] DP-24587: TOC hierarchy style fix. (#1854)
- (Patternlab) [SuggestedPages] DP-26359: Remove a link from the image. Exclude the more link from AT users. (#1824)
- (Patternlab) [ImagePromos] DP-26359: Remove a link from the image. Exclude the more link from AT users. (#1824)
- (Patternlab) [Heading1,Heading2,Heading3,Heading4,Heading5,Heading6] DP-28670: Add
idprop. (#1819) - (Patternlab) [OrganizationNavigation] DP-28670: Only allow jump links in organization nav, add
idto each section to become jump link anchors. (#1819) - (Patternlab) [key_actions] DP-28733: Remove aria-labelledby and correct the heading level. (#1830)
- (React) [Footer] DP-28856: Updated Footer to match PatternLab version. (#1858) See breaking change notes
- (Assets) [Variables] DP-29104: Remove the lightest font-weight for text in the system. Space out font-weight scale evenly to better show visual hierarchy, bump up all text font weights by at least 50. Consolidate hard-coded font weights into a new variable. (#1831)
- (Patternlab) [ContactItem] DP-29104: Remove styling overrides on telephone links, so they appear as other contact links. (#1831)
- (Assets) [Variables] DP-29107: Cleanup hex codes and the color values in the rgba with variables. Some variations are consolidated into one color. (#1848)
- (Patternlab) [OrganizationNavigation] DP-29849: Accessibility error fix. (#1840)
- (Patternlab) [PageBanner] DP-30296: Created new PageBanner component, and renamed old pattern to PageBannerLegacy. PageBannerLegacy and Illustrator Header will be deprecated and replaced by the new PageBanner. (#1845)
- (Patternlab) [PageBanner, PageBannerLegacy, IllustratedHeader, PageHeader] DP-30296: Move patterns from by-template directory into each individual directory. (#1845)
- (Patternlab) [PageHeader] DP-30296: Consolidate all page banner content configuration into PageHeader, e.g. buttons, links, description. Consolidate all variants into one. (#1845)
- (Assets) [Breakpoints] DP-30296: Consolidated
1000pxand1050pxbreakpoints. (#1845) - (Patternlab) [HeaderSearch] DP-30988: Close search suggestions on blur. (#1851)
- (Patternlab) [UtilityNav] DP-31038: Enable adding additional panels and triggers to UtilityNav. Cleanup JS overrides between mobile and desktop (#1856)
- (Patternlab) [FieldSubmit] DP-31038: Restore the pattern and add form options. (#1856)
Removed
- (Patternlab) [OrgNavContactMenu,OrgNavContactRow,OrgNavIWantToMenu] DP-28670: Removed deprecated subcomponents used in the OrganizationNavigation. (#1819)
- (Patternlab) [HeaderTags] DP-30296: Remove headerTags from Page Header. (#1845)
Added
- (Patternlab) [Iframe] DP-29229: Added loading="lazy" attribute to iframes. (#1829)
- (Patternlab) [Video] DP-29407: Add a heading and skiplink to video. (#1859)
- (Assets,React,Patternlab,Core) [Icon] DP-29416: Change twigger .svg to X and add Threads .svg
- (Patternlab) [HeaderSearch] DP-29927: Add scoped search options. (#1843)
- (Patternlab) [HeaderTags] DP-30296: Add inverse color config to decorative link. (#1845)
- (Assets,Patternlab) [Icon] DP-31038: Add contrast eye icon. (#1856)
- (Patternlab) [FieldSubmit] DP-31561: Add hiddenInputs field. (#1866)
- (Patternlab) [FieldSubmit,HeaderSearch,SearchBannerForm,SearchBoxWithLinks] DP-31561: Add name attribute to form elements. (#1866)
12.7.0
12.7.0 (7/26/2023)
Added
- (Assets, Patternlab) [Icons] DP-28600: Add lg-form and lg-checklist icons. (#1820)
- (React) [CalloutLink] DP-29028: Add
achorAttributesprop to allow passing additional attributes to the anchor link. (#1825)
Fixed
- (Assets) [HeaderAlerts,OrgNavSearch,CollapsibleHeader] DP-28762: Specify to override default ios button colors, to keep design consistent between desktop and mobile. (#1822)
Changed
- (Patternlab) [ActionStep] DP-28783: A11y - aria-label on alert icons. (#1823)
12.6.0
12.6.0 (6/29/2023)
Added
- (Starters) [Formstack] DP-28028: Style Formstack save incomplete and pagination components for Mayflower theme. (#1794)
- (React) [HamburgerNav] DP-28603: Add
siteNameprop to allow overriding HamburgerNav toggle button text and aria-label. (#1816)
Changed
- (React) [HamburgerNav] DP-28603: Add
.menu-overlaydiv as part of the component. Remove storybook controls of adding the overlay separately. Add onCloseMenu funtion to mainnav links to close the hamburger menu when navigating to an internal link. (#1816)