@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.
@@ -2087,7 +2087,40 @@ function LayoutSubHeader({
2087
2087
  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)) })
2088
2088
  ] }) });
2089
2089
  }
2090
+ function OcAppBar({
2091
+ variant = "full",
2092
+ start,
2093
+ center,
2094
+ end,
2095
+ sticky = true,
2096
+ className
2097
+ }) {
2098
+ return /* @__PURE__ */ jsx(
2099
+ "header",
2100
+ {
2101
+ className: cn(
2102
+ "bg-background/90 supports-[backdrop-filter]:bg-background/70 w-full border-b backdrop-blur",
2103
+ sticky && "sticky top-0 z-50",
2104
+ className
2105
+ ),
2106
+ children: /* @__PURE__ */ jsxs(
2107
+ "div",
2108
+ {
2109
+ className: cn(
2110
+ variant === "full" ? "app-bar" : "container",
2111
+ "flex h-12 items-center justify-between gap-4"
2112
+ ),
2113
+ children: [
2114
+ start,
2115
+ /* @__PURE__ */ jsx("div", { className: "flex min-w-0 flex-1 justify-center px-2", children: center }),
2116
+ /* @__PURE__ */ jsx("div", { className: "flex items-center gap-1", children: end })
2117
+ ]
2118
+ }
2119
+ )
2120
+ }
2121
+ );
2122
+ }
2090
2123
 
2091
- export { AppShell, Callout, DataRow, DefinitionList, EcosystemSwitcher, EmptyState, FAMILY_PROPERTIES, HelpHint, LayoutSubHeader, OcAccountMenu, OcAccountMenuView, OcDashboardHub, OcDashboardShell, OcLogoDropdown, OcPrimaryNav, SITE_STATE_LABEL, SectionHeader, StatCard, StatGrid, StatTile, findFamilyProperty };
2124
+ export { AppShell, Callout, DataRow, DefinitionList, EcosystemSwitcher, EmptyState, FAMILY_PROPERTIES, HelpHint, LayoutSubHeader, OcAccountMenu, OcAccountMenuView, OcAppBar, OcDashboardHub, OcDashboardShell, OcLogoDropdown, OcPrimaryNav, SITE_STATE_LABEL, SectionHeader, StatCard, StatGrid, StatTile, findFamilyProperty };
2092
2125
  //# sourceMappingURL=components.mjs.map
2093
2126
  //# sourceMappingURL=components.mjs.map