@slipstream-ui/core 0.11.6 → 0.11.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +14 -2
- package/dist/index.d.ts +14 -2
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -4
- package/dist/index.mjs.map +1 -1
- package/dist/manifests/accordion.manifest.json +1 -1
- package/dist/manifests/alert.manifest.json +1 -1
- package/dist/manifests/announcement-bar.manifest.json +1 -1
- package/dist/manifests/app-shell.manifest.json +1 -1
- package/dist/manifests/applied-filters.manifest.json +1 -1
- package/dist/manifests/article-card.manifest.json +1 -1
- package/dist/manifests/auth-layout.manifest.json +1 -1
- package/dist/manifests/autocomplete.manifest.json +1 -1
- package/dist/manifests/avatar.manifest.json +1 -1
- package/dist/manifests/badge.manifest.json +1 -1
- package/dist/manifests/block.manifest.json +1 -1
- package/dist/manifests/bottom-nav.manifest.json +1 -1
- package/dist/manifests/breadcrumb.manifest.json +1 -1
- package/dist/manifests/button-group.manifest.json +1 -1
- package/dist/manifests/button.manifest.json +1 -1
- package/dist/manifests/calendar.manifest.json +1 -1
- package/dist/manifests/card.manifest.json +1 -1
- package/dist/manifests/checkbox.manifest.json +1 -1
- package/dist/manifests/comparison-table.manifest.json +1 -1
- package/dist/manifests/confirm-dialog.manifest.json +1 -1
- package/dist/manifests/contact-strip.manifest.json +1 -1
- package/dist/manifests/container.manifest.json +1 -1
- package/dist/manifests/cover-image.manifest.json +1 -1
- package/dist/manifests/cta-section.manifest.json +1 -1
- package/dist/manifests/data-table.manifest.json +1 -1
- package/dist/manifests/date-picker-popover.manifest.json +1 -1
- package/dist/manifests/date-picker.manifest.json +1 -1
- package/dist/manifests/date-range-picker.manifest.json +1 -1
- package/dist/manifests/deal-card.manifest.json +1 -1
- package/dist/manifests/dialog.manifest.json +1 -1
- package/dist/manifests/document-card.manifest.json +1 -1
- package/dist/manifests/drawer.manifest.json +1 -1
- package/dist/manifests/empty-state.manifest.json +1 -1
- package/dist/manifests/entity-card.manifest.json +1 -1
- package/dist/manifests/feature-grid.manifest.json +1 -1
- package/dist/manifests/feature-row.manifest.json +1 -1
- package/dist/manifests/fieldset.manifest.json +1 -1
- package/dist/manifests/file-upload.manifest.json +1 -1
- package/dist/manifests/filter-bar.manifest.json +1 -1
- package/dist/manifests/filter-chips.manifest.json +1 -1
- package/dist/manifests/filter-panel.manifest.json +1 -1
- package/dist/manifests/flex.manifest.json +1 -1
- package/dist/manifests/form-field.manifest.json +1 -1
- package/dist/manifests/form-layout.manifest.json +1 -1
- package/dist/manifests/form.manifest.json +1 -1
- package/dist/manifests/grid.manifest.json +1 -1
- package/dist/manifests/heading.manifest.json +1 -1
- package/dist/manifests/hero.manifest.json +1 -1
- package/dist/manifests/image.manifest.json +1 -1
- package/dist/manifests/input-group.manifest.json +1 -1
- package/dist/manifests/input.manifest.json +1 -1
- package/dist/manifests/label.manifest.json +1 -1
- package/dist/manifests/link-tabs.manifest.json +1 -1
- package/dist/manifests/link.manifest.json +1 -1
- package/dist/manifests/list.manifest.json +1 -1
- package/dist/manifests/load-more.manifest.json +1 -1
- package/dist/manifests/logo-cloud.manifest.json +1 -1
- package/dist/manifests/menu.manifest.json +1 -1
- package/dist/manifests/metric-card.manifest.json +1 -1
- package/dist/manifests/multi-select.manifest.json +1 -1
- package/dist/manifests/newsletter.manifest.json +1 -1
- package/dist/manifests/page-header.manifest.json +13 -2
- package/dist/manifests/pagination.manifest.json +1 -1
- package/dist/manifests/password-input.manifest.json +1 -1
- package/dist/manifests/popover.manifest.json +1 -1
- package/dist/manifests/process-steps.manifest.json +1 -1
- package/dist/manifests/progress.manifest.json +1 -1
- package/dist/manifests/prose.manifest.json +1 -1
- package/dist/manifests/radio.manifest.json +1 -1
- package/dist/manifests/range-slider.manifest.json +1 -1
- package/dist/manifests/search.manifest.json +1 -1
- package/dist/manifests/section-heading.manifest.json +1 -1
- package/dist/manifests/section.manifest.json +1 -1
- package/dist/manifests/segmented-control.manifest.json +1 -1
- package/dist/manifests/select-menu.manifest.json +1 -1
- package/dist/manifests/select.manifest.json +1 -1
- package/dist/manifests/separator.manifest.json +1 -1
- package/dist/manifests/site-footer.manifest.json +7 -1
- package/dist/manifests/site-header.manifest.json +22 -1
- package/dist/manifests/skeleton.manifest.json +1 -1
- package/dist/manifests/spinner.manifest.json +1 -1
- package/dist/manifests/stat-band.manifest.json +1 -1
- package/dist/manifests/stepper.manifest.json +1 -1
- package/dist/manifests/switch.manifest.json +1 -1
- package/dist/manifests/table-card.manifest.json +1 -1
- package/dist/manifests/table-of-contents.manifest.json +1 -1
- package/dist/manifests/table.manifest.json +1 -1
- package/dist/manifests/tabs.manifest.json +1 -1
- package/dist/manifests/testimonial.manifest.json +1 -1
- package/dist/manifests/text.manifest.json +1 -1
- package/dist/manifests/textarea.manifest.json +1 -1
- package/dist/manifests/theme-toggle.manifest.json +1 -1
- package/dist/manifests/time-picker.manifest.json +1 -1
- package/dist/manifests/timeline.manifest.json +1 -1
- package/dist/manifests/toast.manifest.json +1 -1
- package/dist/manifests/tombstone-card.manifest.json +1 -1
- package/dist/manifests/tooltip.manifest.json +1 -1
- package/dist/src/components/page-header/PageHeader.d.ts +4 -0
- package/dist/src/components/page-header/PageHeader.js +2 -2
- package/dist/src/components/page-header/PageHeader.js.map +1 -1
- package/dist/src/components/page-header/PageHeader.mjs +2 -2
- package/dist/src/components/page-header/PageHeader.mjs.map +1 -1
- package/dist/src/components/site-footer/SiteFooter.d.ts +3 -1
- package/dist/src/components/site-footer/SiteFooter.js +3 -1
- package/dist/src/components/site-footer/SiteFooter.js.map +1 -1
- package/dist/src/components/site-footer/SiteFooter.mjs +3 -1
- package/dist/src/components/site-footer/SiteFooter.mjs.map +1 -1
- package/dist/src/components/site-header/SiteHeader.d.ts +7 -1
- package/dist/src/components/site-header/SiteHeader.js +5 -1
- package/dist/src/components/site-header/SiteHeader.js.map +1 -1
- package/dist/src/components/site-header/SiteHeader.mjs +5 -1
- package/dist/src/components/site-header/SiteHeader.mjs.map +1 -1
- package/package.json +3 -3
- package/src/components/page-header/PageHeader.test.tsx +13 -0
- package/src/components/page-header/PageHeader.tsx +4 -2
- package/src/components/site-footer/SiteFooter.test.tsx +12 -0
- package/src/components/site-footer/SiteFooter.tsx +4 -0
- package/src/components/site-header/SiteHeader.test.tsx +18 -0
- package/src/components/site-header/SiteHeader.tsx +11 -1
- package/src/manifests/accordion.manifest.json +1 -1
- package/src/manifests/alert.manifest.json +1 -1
- package/src/manifests/announcement-bar.manifest.json +1 -1
- package/src/manifests/app-shell.manifest.json +1 -1
- package/src/manifests/applied-filters.manifest.json +1 -1
- package/src/manifests/article-card.manifest.json +1 -1
- package/src/manifests/auth-layout.manifest.json +1 -1
- package/src/manifests/autocomplete.manifest.json +1 -1
- package/src/manifests/avatar.manifest.json +1 -1
- package/src/manifests/badge.manifest.json +1 -1
- package/src/manifests/block.manifest.json +1 -1
- package/src/manifests/bottom-nav.manifest.json +1 -1
- package/src/manifests/breadcrumb.manifest.json +1 -1
- package/src/manifests/button-group.manifest.json +1 -1
- package/src/manifests/button.manifest.json +1 -1
- package/src/manifests/calendar.manifest.json +1 -1
- package/src/manifests/card.manifest.json +1 -1
- package/src/manifests/checkbox.manifest.json +1 -1
- package/src/manifests/comparison-table.manifest.json +1 -1
- package/src/manifests/confirm-dialog.manifest.json +1 -1
- package/src/manifests/contact-strip.manifest.json +1 -1
- package/src/manifests/container.manifest.json +1 -1
- package/src/manifests/cover-image.manifest.json +1 -1
- package/src/manifests/cta-section.manifest.json +1 -1
- package/src/manifests/data-table.manifest.json +1 -1
- package/src/manifests/date-picker-popover.manifest.json +1 -1
- package/src/manifests/date-picker.manifest.json +1 -1
- package/src/manifests/date-range-picker.manifest.json +1 -1
- package/src/manifests/deal-card.manifest.json +1 -1
- package/src/manifests/dialog.manifest.json +1 -1
- package/src/manifests/document-card.manifest.json +1 -1
- package/src/manifests/drawer.manifest.json +1 -1
- package/src/manifests/empty-state.manifest.json +1 -1
- package/src/manifests/entity-card.manifest.json +1 -1
- package/src/manifests/feature-grid.manifest.json +1 -1
- package/src/manifests/feature-row.manifest.json +1 -1
- package/src/manifests/fieldset.manifest.json +1 -1
- package/src/manifests/file-upload.manifest.json +1 -1
- package/src/manifests/filter-bar.manifest.json +1 -1
- package/src/manifests/filter-chips.manifest.json +1 -1
- package/src/manifests/filter-panel.manifest.json +1 -1
- package/src/manifests/flex.manifest.json +1 -1
- package/src/manifests/form-field.manifest.json +1 -1
- package/src/manifests/form-layout.manifest.json +1 -1
- package/src/manifests/form.manifest.json +1 -1
- package/src/manifests/grid.manifest.json +1 -1
- package/src/manifests/heading.manifest.json +1 -1
- package/src/manifests/hero.manifest.json +1 -1
- package/src/manifests/image.manifest.json +1 -1
- package/src/manifests/input-group.manifest.json +1 -1
- package/src/manifests/input.manifest.json +1 -1
- package/src/manifests/label.manifest.json +1 -1
- package/src/manifests/link-tabs.manifest.json +1 -1
- package/src/manifests/link.manifest.json +1 -1
- package/src/manifests/list.manifest.json +1 -1
- package/src/manifests/load-more.manifest.json +1 -1
- package/src/manifests/logo-cloud.manifest.json +1 -1
- package/src/manifests/menu.manifest.json +1 -1
- package/src/manifests/metric-card.manifest.json +1 -1
- package/src/manifests/multi-select.manifest.json +1 -1
- package/src/manifests/newsletter.manifest.json +1 -1
- package/src/manifests/page-header.manifest.json +13 -2
- package/src/manifests/pagination.manifest.json +1 -1
- package/src/manifests/password-input.manifest.json +1 -1
- package/src/manifests/popover.manifest.json +1 -1
- package/src/manifests/process-steps.manifest.json +1 -1
- package/src/manifests/progress.manifest.json +1 -1
- package/src/manifests/prose.manifest.json +1 -1
- package/src/manifests/radio.manifest.json +1 -1
- package/src/manifests/range-slider.manifest.json +1 -1
- package/src/manifests/search.manifest.json +1 -1
- package/src/manifests/section-heading.manifest.json +1 -1
- package/src/manifests/section.manifest.json +1 -1
- package/src/manifests/segmented-control.manifest.json +1 -1
- package/src/manifests/select-menu.manifest.json +1 -1
- package/src/manifests/select.manifest.json +1 -1
- package/src/manifests/separator.manifest.json +1 -1
- package/src/manifests/site-footer.manifest.json +7 -1
- package/src/manifests/site-header.manifest.json +22 -1
- package/src/manifests/skeleton.manifest.json +1 -1
- package/src/manifests/spinner.manifest.json +1 -1
- package/src/manifests/stat-band.manifest.json +1 -1
- package/src/manifests/stepper.manifest.json +1 -1
- package/src/manifests/switch.manifest.json +1 -1
- package/src/manifests/table-card.manifest.json +1 -1
- package/src/manifests/table-of-contents.manifest.json +1 -1
- package/src/manifests/table.manifest.json +1 -1
- package/src/manifests/tabs.manifest.json +1 -1
- package/src/manifests/testimonial.manifest.json +1 -1
- package/src/manifests/text.manifest.json +1 -1
- package/src/manifests/textarea.manifest.json +1 -1
- package/src/manifests/theme-toggle.manifest.json +1 -1
- package/src/manifests/time-picker.manifest.json +1 -1
- package/src/manifests/timeline.manifest.json +1 -1
- package/src/manifests/toast.manifest.json +1 -1
- package/src/manifests/tombstone-card.manifest.json +1 -1
- package/src/manifests/tooltip.manifest.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1630,6 +1630,8 @@ type SiteFooterProps = React.HTMLAttributes<HTMLElement> & {
|
|
|
1630
1630
|
brand?: React.ReactNode;
|
|
1631
1631
|
/** Short line under the brand. */
|
|
1632
1632
|
tagline?: string;
|
|
1633
|
+
/** Contact block under the tagline (address, email, phone). */
|
|
1634
|
+
contact?: React.ReactNode;
|
|
1633
1635
|
columns: SiteFooterColumn[];
|
|
1634
1636
|
/** Bottom bar (copyright, legal links). */
|
|
1635
1637
|
legal?: React.ReactNode;
|
|
@@ -1651,7 +1653,7 @@ type SiteFooterProps = React.HTMLAttributes<HTMLElement> & {
|
|
|
1651
1653
|
* Router-agnostic through `linkComponent` + `linkHrefProp`; external links
|
|
1652
1654
|
* get safe rel, and the current route is marked with aria-current.
|
|
1653
1655
|
*/
|
|
1654
|
-
declare function SiteFooter({ brand, tagline, columns, legal, linkComponent, linkHrefProp, activeHref, match, className, ...props }: SiteFooterProps): React.JSX.Element;
|
|
1656
|
+
declare function SiteFooter({ brand, tagline, contact, columns, legal, linkComponent, linkHrefProp, activeHref, match, className, ...props }: SiteFooterProps): React.JSX.Element;
|
|
1655
1657
|
|
|
1656
1658
|
/** A single destination in the header or inside a mega panel. */
|
|
1657
1659
|
type SiteNavLink = {
|
|
@@ -1714,6 +1716,12 @@ type SiteHeaderProps = React.HTMLAttributes<HTMLElement> & {
|
|
|
1714
1716
|
sticky?: boolean;
|
|
1715
1717
|
/** Title of the mobile navigation drawer. Default 'Menu'. */
|
|
1716
1718
|
mobileLabel?: string;
|
|
1719
|
+
/** Accessible name for the mobile menu trigger when closed (default "Open menu"). */
|
|
1720
|
+
mobileMenuOpenLabel?: string;
|
|
1721
|
+
/** Accessible name for the mobile menu trigger when open (default "Close menu"). */
|
|
1722
|
+
mobileMenuCloseLabel?: string;
|
|
1723
|
+
/** Accessible name for the mobile drawer close button (default "Close drawer"). */
|
|
1724
|
+
mobileDrawerCloseLabel?: string;
|
|
1717
1725
|
/** Render the built-in mobile trigger and drawer (default true). Set false when the host owns mobile navigation. */
|
|
1718
1726
|
showMobileTrigger?: boolean;
|
|
1719
1727
|
/** Breakpoint where the horizontal navigation appears (default 'md'). */
|
|
@@ -1727,7 +1735,7 @@ type SiteHeaderProps = React.HTMLAttributes<HTMLElement> & {
|
|
|
1727
1735
|
* actions and a mobile drawer. Router-agnostic through `linkComponent` +
|
|
1728
1736
|
* `linkHrefProp`.
|
|
1729
1737
|
*/
|
|
1730
|
-
declare function SiteHeader({ brand, items, activeHref, match, actions, mobileActions, linkComponent, linkHrefProp, brandLabel, navLabel, mobileNavLabel, sticky, mobileLabel, showMobileTrigger, desktopBreakpoint, navClassName, className, ...props }: SiteHeaderProps): React.JSX.Element;
|
|
1738
|
+
declare function SiteHeader({ brand, items, activeHref, match, actions, mobileActions, linkComponent, linkHrefProp, brandLabel, navLabel, mobileNavLabel, sticky, mobileLabel, mobileMenuOpenLabel, mobileMenuCloseLabel, mobileDrawerCloseLabel, showMobileTrigger, desktopBreakpoint, navClassName, className, ...props }: SiteHeaderProps): React.JSX.Element;
|
|
1731
1739
|
|
|
1732
1740
|
type AccordionSection = {
|
|
1733
1741
|
/** Unique id linking the trigger to its panel. */
|
|
@@ -2224,6 +2232,8 @@ type PageHeaderProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
2224
2232
|
eyebrow?: React.ReactNode;
|
|
2225
2233
|
/** Heading scale - 'hero' is for marketing landing pages. */
|
|
2226
2234
|
size?: 'sm' | 'md' | 'lg' | 'hero';
|
|
2235
|
+
/** Heading element. Default 'h1' for pages; use 'h2' inside sections/modals. */
|
|
2236
|
+
as?: 'h1' | 'h2';
|
|
2227
2237
|
/** Text alignment; hero marketing pages often center. */
|
|
2228
2238
|
align?: 'left' | 'center';
|
|
2229
2239
|
/** Extra classes for the h1, for host display typography. */
|
|
@@ -2254,6 +2264,8 @@ declare const PageHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<H
|
|
|
2254
2264
|
eyebrow?: React.ReactNode;
|
|
2255
2265
|
/** Heading scale - 'hero' is for marketing landing pages. */
|
|
2256
2266
|
size?: "sm" | "md" | "lg" | "hero";
|
|
2267
|
+
/** Heading element. Default 'h1' for pages; use 'h2' inside sections/modals. */
|
|
2268
|
+
as?: "h1" | "h2";
|
|
2257
2269
|
/** Text alignment; hero marketing pages often center. */
|
|
2258
2270
|
align?: "left" | "center";
|
|
2259
2271
|
/** Extra classes for the h1, for host display typography. */
|
package/dist/index.d.ts
CHANGED
|
@@ -1630,6 +1630,8 @@ type SiteFooterProps = React.HTMLAttributes<HTMLElement> & {
|
|
|
1630
1630
|
brand?: React.ReactNode;
|
|
1631
1631
|
/** Short line under the brand. */
|
|
1632
1632
|
tagline?: string;
|
|
1633
|
+
/** Contact block under the tagline (address, email, phone). */
|
|
1634
|
+
contact?: React.ReactNode;
|
|
1633
1635
|
columns: SiteFooterColumn[];
|
|
1634
1636
|
/** Bottom bar (copyright, legal links). */
|
|
1635
1637
|
legal?: React.ReactNode;
|
|
@@ -1651,7 +1653,7 @@ type SiteFooterProps = React.HTMLAttributes<HTMLElement> & {
|
|
|
1651
1653
|
* Router-agnostic through `linkComponent` + `linkHrefProp`; external links
|
|
1652
1654
|
* get safe rel, and the current route is marked with aria-current.
|
|
1653
1655
|
*/
|
|
1654
|
-
declare function SiteFooter({ brand, tagline, columns, legal, linkComponent, linkHrefProp, activeHref, match, className, ...props }: SiteFooterProps): React.JSX.Element;
|
|
1656
|
+
declare function SiteFooter({ brand, tagline, contact, columns, legal, linkComponent, linkHrefProp, activeHref, match, className, ...props }: SiteFooterProps): React.JSX.Element;
|
|
1655
1657
|
|
|
1656
1658
|
/** A single destination in the header or inside a mega panel. */
|
|
1657
1659
|
type SiteNavLink = {
|
|
@@ -1714,6 +1716,12 @@ type SiteHeaderProps = React.HTMLAttributes<HTMLElement> & {
|
|
|
1714
1716
|
sticky?: boolean;
|
|
1715
1717
|
/** Title of the mobile navigation drawer. Default 'Menu'. */
|
|
1716
1718
|
mobileLabel?: string;
|
|
1719
|
+
/** Accessible name for the mobile menu trigger when closed (default "Open menu"). */
|
|
1720
|
+
mobileMenuOpenLabel?: string;
|
|
1721
|
+
/** Accessible name for the mobile menu trigger when open (default "Close menu"). */
|
|
1722
|
+
mobileMenuCloseLabel?: string;
|
|
1723
|
+
/** Accessible name for the mobile drawer close button (default "Close drawer"). */
|
|
1724
|
+
mobileDrawerCloseLabel?: string;
|
|
1717
1725
|
/** Render the built-in mobile trigger and drawer (default true). Set false when the host owns mobile navigation. */
|
|
1718
1726
|
showMobileTrigger?: boolean;
|
|
1719
1727
|
/** Breakpoint where the horizontal navigation appears (default 'md'). */
|
|
@@ -1727,7 +1735,7 @@ type SiteHeaderProps = React.HTMLAttributes<HTMLElement> & {
|
|
|
1727
1735
|
* actions and a mobile drawer. Router-agnostic through `linkComponent` +
|
|
1728
1736
|
* `linkHrefProp`.
|
|
1729
1737
|
*/
|
|
1730
|
-
declare function SiteHeader({ brand, items, activeHref, match, actions, mobileActions, linkComponent, linkHrefProp, brandLabel, navLabel, mobileNavLabel, sticky, mobileLabel, showMobileTrigger, desktopBreakpoint, navClassName, className, ...props }: SiteHeaderProps): React.JSX.Element;
|
|
1738
|
+
declare function SiteHeader({ brand, items, activeHref, match, actions, mobileActions, linkComponent, linkHrefProp, brandLabel, navLabel, mobileNavLabel, sticky, mobileLabel, mobileMenuOpenLabel, mobileMenuCloseLabel, mobileDrawerCloseLabel, showMobileTrigger, desktopBreakpoint, navClassName, className, ...props }: SiteHeaderProps): React.JSX.Element;
|
|
1731
1739
|
|
|
1732
1740
|
type AccordionSection = {
|
|
1733
1741
|
/** Unique id linking the trigger to its panel. */
|
|
@@ -2224,6 +2232,8 @@ type PageHeaderProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
2224
2232
|
eyebrow?: React.ReactNode;
|
|
2225
2233
|
/** Heading scale - 'hero' is for marketing landing pages. */
|
|
2226
2234
|
size?: 'sm' | 'md' | 'lg' | 'hero';
|
|
2235
|
+
/** Heading element. Default 'h1' for pages; use 'h2' inside sections/modals. */
|
|
2236
|
+
as?: 'h1' | 'h2';
|
|
2227
2237
|
/** Text alignment; hero marketing pages often center. */
|
|
2228
2238
|
align?: 'left' | 'center';
|
|
2229
2239
|
/** Extra classes for the h1, for host display typography. */
|
|
@@ -2254,6 +2264,8 @@ declare const PageHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<H
|
|
|
2254
2264
|
eyebrow?: React.ReactNode;
|
|
2255
2265
|
/** Heading scale - 'hero' is for marketing landing pages. */
|
|
2256
2266
|
size?: "sm" | "md" | "lg" | "hero";
|
|
2267
|
+
/** Heading element. Default 'h1' for pages; use 'h2' inside sections/modals. */
|
|
2268
|
+
as?: "h1" | "h2";
|
|
2257
2269
|
/** Text alignment; hero marketing pages often center. */
|
|
2258
2270
|
align?: "left" | "center";
|
|
2259
2271
|
/** Extra classes for the h1, for host display typography. */
|
package/dist/index.js
CHANGED
|
@@ -3857,6 +3857,7 @@ function isActive2(itemHref, activeHref, match) {
|
|
|
3857
3857
|
function SiteFooter({
|
|
3858
3858
|
brand,
|
|
3859
3859
|
tagline,
|
|
3860
|
+
contact,
|
|
3860
3861
|
columns,
|
|
3861
3862
|
legal,
|
|
3862
3863
|
linkComponent,
|
|
@@ -3872,7 +3873,8 @@ function SiteFooter({
|
|
|
3872
3873
|
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "mx-auto grid w-full max-w-7xl gap-8 px-4 py-12 sm:grid-cols-2 sm:px-6 lg:grid-cols-4", children: [
|
|
3873
3874
|
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "min-w-0", children: [
|
|
3874
3875
|
brand,
|
|
3875
|
-
tagline && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("p", { className: "mt-3 max-w-56 text-sm text-muted-foreground", children: tagline })
|
|
3876
|
+
tagline && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("p", { className: "mt-3 max-w-56 text-sm text-muted-foreground", children: tagline }),
|
|
3877
|
+
contact && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "mt-3 max-w-56 text-sm text-muted-foreground", children: contact })
|
|
3876
3878
|
] }),
|
|
3877
3879
|
columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { children: [
|
|
3878
3880
|
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("h2", { className: "mb-3 text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: column.title }),
|
|
@@ -3937,6 +3939,9 @@ function SiteHeader({
|
|
|
3937
3939
|
mobileNavLabel = "Mobile",
|
|
3938
3940
|
sticky = true,
|
|
3939
3941
|
mobileLabel = "Menu",
|
|
3942
|
+
mobileMenuOpenLabel = "Open menu",
|
|
3943
|
+
mobileMenuCloseLabel = "Close menu",
|
|
3944
|
+
mobileDrawerCloseLabel = "Close drawer",
|
|
3940
3945
|
showMobileTrigger = true,
|
|
3941
3946
|
desktopBreakpoint = "md",
|
|
3942
3947
|
navClassName,
|
|
@@ -4113,7 +4118,7 @@ function SiteHeader({
|
|
|
4113
4118
|
{
|
|
4114
4119
|
type: "button",
|
|
4115
4120
|
onClick: () => setMobileOpen((open) => !open),
|
|
4116
|
-
"aria-label": mobileOpen ?
|
|
4121
|
+
"aria-label": mobileOpen ? mobileMenuCloseLabel : mobileMenuOpenLabel,
|
|
4117
4122
|
"aria-expanded": mobileOpen,
|
|
4118
4123
|
"aria-controls": menuId,
|
|
4119
4124
|
"aria-haspopup": "dialog",
|
|
@@ -4148,6 +4153,7 @@ function SiteHeader({
|
|
|
4148
4153
|
open: mobileOpen,
|
|
4149
4154
|
onOpenChange: setMobileOpen,
|
|
4150
4155
|
title: mobileLabel,
|
|
4156
|
+
closeLabel: mobileDrawerCloseLabel,
|
|
4151
4157
|
side: "right",
|
|
4152
4158
|
size: "sm",
|
|
4153
4159
|
animate: true,
|
|
@@ -5148,14 +5154,14 @@ var sizeClasses6 = {
|
|
|
5148
5154
|
lg: "text-3xl",
|
|
5149
5155
|
hero: "text-4xl sm:text-5xl lg:text-[3.4rem] lg:leading-[1.1]"
|
|
5150
5156
|
};
|
|
5151
|
-
var PageHeader = React54.forwardRef(function PageHeader2({ title, description, subtitle, breadcrumbs, actions, eyebrow, size = "md", align = "left", titleClassName, descriptionClassName, eyebrowClassName, className, children, ...props }, ref) {
|
|
5157
|
+
var PageHeader = React54.forwardRef(function PageHeader2({ title, description, subtitle, breadcrumbs, actions, eyebrow, size = "md", as: Heading2 = "h1", align = "left", titleClassName, descriptionClassName, eyebrowClassName, className, children, ...props }, ref) {
|
|
5152
5158
|
const supporting = description ?? subtitle;
|
|
5153
5159
|
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { ref, className: cn("flex flex-col gap-2", align === "center" && "items-center text-center", className), ...props, children: [
|
|
5154
5160
|
breadcrumbs && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "text-sm text-muted-foreground", children: breadcrumbs }),
|
|
5155
5161
|
eyebrow && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: cn("text-xs font-medium uppercase tracking-wide text-primary-ink", eyebrowClassName), children: eyebrow }),
|
|
5156
5162
|
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: cn("flex w-full flex-wrap items-start justify-between gap-3", align === "center" && "justify-center"), children: [
|
|
5157
5163
|
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: cn("min-w-0", align === "center" && "flex flex-col items-center"), children: [
|
|
5158
|
-
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
5164
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Heading2, { className: cn("font-semibold tracking-tight", sizeClasses6[size], titleClassName), children: title }),
|
|
5159
5165
|
supporting && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: cn("mt-2 max-w-2xl text-base text-muted-foreground", descriptionClassName), children: supporting })
|
|
5160
5166
|
] }),
|
|
5161
5167
|
actions && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "flex shrink-0 items-center gap-2", children: actions })
|