@orangecheck/app-design 1.7.0 → 1.8.0

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
@@ -478,7 +478,8 @@ var DropdownMenuItem = forwardRef(function DropdownMenuItem2({ className, destru
478
478
  {
479
479
  ref,
480
480
  className: cn(
481
- "flex h-10 cursor-default select-none items-center gap-2.5 rounded-xl px-3 text-[0.9375rem] outline-none",
481
+ // A thumb's 44px on a phone.
482
+ "flex h-10 cursor-default select-none items-center gap-2.5 rounded-xl px-3 text-[0.9375rem] outline-none max-md:h-11",
482
483
  "data-[highlighted]:bg-accent data-[disabled]:opacity-50 [&_svg]:size-4 [&_svg]:text-muted-foreground",
483
484
  destructive && "text-destructive [&_svg]:text-destructive",
484
485
  className
@@ -985,6 +986,9 @@ function RailShell({ nav = [], persistent = [], page: pageOverride, header, acco
985
986
  tabs ? /* @__PURE__ */ jsx(TabBar, { items: tabs }) : null
986
987
  ] }) }) });
987
988
  }
989
+ function PaneHeader({ children, className }) {
990
+ return /* @__PURE__ */ jsx("header", { className: cn("flex h-14 shrink-0 items-center gap-3 border-b border-border px-4 md:px-5", className), children });
991
+ }
988
992
  function AccountMenu({
989
993
  name,
990
994
  detail,
@@ -1890,6 +1894,6 @@ function ToolShell({
1890
1894
  ) });
1891
1895
  }
1892
1896
 
1893
- export { AccountCta, AccountMenu, AppShell, DOCS_HEADER_NAV, DocsNav, DocsShell, FamilyMenu, OCHK_APP_ACCOUNT, OchkIoFooter, SessionAccountView, ShellContext, SignInFrame, SiteBanner, SiteFooter, SiteHeader, SkipLink, ThemeToggle, ToolColumn, ToolShell, useShellPlace, useSignInHref };
1897
+ export { AccountCta, AccountMenu, AppShell, DOCS_HEADER_NAV, DocsNav, DocsShell, FamilyMenu, OCHK_APP_ACCOUNT, OchkIoFooter, PaneHeader, SessionAccountView, ShellContext, SignInFrame, SiteBanner, SiteFooter, SiteHeader, SkipLink, ThemeToggle, ToolColumn, ToolShell, useShellPlace, useSignInHref };
1894
1898
  //# sourceMappingURL=chrome.mjs.map
1895
1899
  //# sourceMappingURL=chrome.mjs.map