@orangecheck/design 0.13.1 → 0.14.1

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/chrome.mjs CHANGED
@@ -1838,7 +1838,40 @@ function LayoutSubHeader({
1838
1838
  tags.length > 0 && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground flex flex-wrap items-center gap-x-4 gap-y-1 tracking-widest uppercase", children: tags.map((tag, i) => /* @__PURE__ */ jsx("span", { className: tag.hideBelow ? HIDE[tag.hideBelow] : void 0, children: tag.label }, i)) })
1839
1839
  ] }) });
1840
1840
  }
1841
+ function OcAppBar({
1842
+ variant = "full",
1843
+ start,
1844
+ center,
1845
+ end,
1846
+ sticky = true,
1847
+ className
1848
+ }) {
1849
+ return /* @__PURE__ */ jsx(
1850
+ "header",
1851
+ {
1852
+ className: cn(
1853
+ "bg-background/90 supports-[backdrop-filter]:bg-background/70 w-full border-b backdrop-blur",
1854
+ sticky && "sticky top-0 z-50",
1855
+ className
1856
+ ),
1857
+ children: /* @__PURE__ */ jsxs(
1858
+ "div",
1859
+ {
1860
+ className: cn(
1861
+ variant === "full" ? "app-bar" : "container",
1862
+ "flex h-12 items-center justify-between gap-4"
1863
+ ),
1864
+ children: [
1865
+ start,
1866
+ /* @__PURE__ */ jsx("div", { className: "flex min-w-0 flex-1 justify-center px-2", children: center }),
1867
+ /* @__PURE__ */ jsx("div", { className: "flex items-center gap-1", children: end })
1868
+ ]
1869
+ }
1870
+ )
1871
+ }
1872
+ );
1873
+ }
1841
1874
 
1842
- export { AppShell, EcosystemSwitcher, FAMILY_PROPERTIES, LayoutSubHeader, OcAccountMenu, OcAccountMenuView, OcDashboardHub, OcDashboardShell, OcLogoDropdown, OcPrimaryNav, SITE_STATE_LABEL, findFamilyProperty };
1875
+ export { AppShell, EcosystemSwitcher, FAMILY_PROPERTIES, LayoutSubHeader, OcAccountMenu, OcAccountMenuView, OcAppBar, OcDashboardHub, OcDashboardShell, OcLogoDropdown, OcPrimaryNav, SITE_STATE_LABEL, findFamilyProperty };
1843
1876
  //# sourceMappingURL=chrome.mjs.map
1844
1877
  //# sourceMappingURL=chrome.mjs.map