@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.d.mts +11 -1
- package/dist/chrome.d.ts +11 -1
- package/dist/chrome.js +34 -0
- package/dist/chrome.js.map +1 -1
- package/dist/chrome.mjs +34 -1
- package/dist/chrome.mjs.map +1 -1
- package/dist/components.d.mts +1 -1
- package/dist/components.d.ts +1 -1
- package/dist/components.js +34 -0
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +34 -1
- package/dist/components.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +34 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +34 -1
- package/dist/index.mjs.map +1 -1
- package/dist/styles/theme.css +11 -0
- package/package.json +1 -1
package/dist/components.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Callout, CalloutProps, CalloutTone, DataRow, DataRowProps, DefinitionItem, DefinitionList, DefinitionListProps, EmptyState, EmptyStateCta, EmptyStateProps, HelpHint, HelpHintProps, SectionHeader, SectionHeaderProps, StatCard, StatCardProps, StatGrid, StatGridProps, StatItem, StatTile } from './composites.mjs';
|
|
2
|
-
export { AppShell, AppShellProps, EcosystemSlug, EcosystemSwitcher, EcosystemSwitcherProps, FAMILY_PROPERTIES, FamilyCategory, FamilyProperty, LayoutSubHeader, LayoutSubHeaderProps, LayoutSubHeaderTag, OcAccountMenu, OcAccountMenuBuildInfo, OcAccountMenuItem, OcAccountMenuProps, OcAccountMenuSession, OcAccountMenuView, OcAccountMenuViewProps, OcDashboardHub, OcDashboardHubProps, OcDashboardShell, OcDashboardShellProps, OcDashboardTool, OcLogoDropdown, OcLogoDropdownProps, OcPrimaryNav, OcPrimaryNavLink, OcPrimaryNavProps, SITE_STATE_LABEL, SiteState, findFamilyProperty } from './chrome.mjs';
|
|
2
|
+
export { AppShell, AppShellProps, EcosystemSlug, EcosystemSwitcher, EcosystemSwitcherProps, FAMILY_PROPERTIES, FamilyCategory, FamilyProperty, LayoutSubHeader, LayoutSubHeaderProps, LayoutSubHeaderTag, OcAccountMenu, OcAccountMenuBuildInfo, OcAccountMenuItem, OcAccountMenuProps, OcAccountMenuSession, OcAccountMenuView, OcAccountMenuViewProps, OcAppBar, OcAppBarProps, OcDashboardHub, OcDashboardHubProps, OcDashboardShell, OcDashboardShellProps, OcDashboardTool, OcLogoDropdown, OcLogoDropdownProps, OcPrimaryNav, OcPrimaryNavLink, OcPrimaryNavProps, SITE_STATE_LABEL, SiteState, findFamilyProperty } from './chrome.mjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '@orangecheck/auth-client';
|
package/dist/components.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Callout, CalloutProps, CalloutTone, DataRow, DataRowProps, DefinitionItem, DefinitionList, DefinitionListProps, EmptyState, EmptyStateCta, EmptyStateProps, HelpHint, HelpHintProps, SectionHeader, SectionHeaderProps, StatCard, StatCardProps, StatGrid, StatGridProps, StatItem, StatTile } from './composites.js';
|
|
2
|
-
export { AppShell, AppShellProps, EcosystemSlug, EcosystemSwitcher, EcosystemSwitcherProps, FAMILY_PROPERTIES, FamilyCategory, FamilyProperty, LayoutSubHeader, LayoutSubHeaderProps, LayoutSubHeaderTag, OcAccountMenu, OcAccountMenuBuildInfo, OcAccountMenuItem, OcAccountMenuProps, OcAccountMenuSession, OcAccountMenuView, OcAccountMenuViewProps, OcDashboardHub, OcDashboardHubProps, OcDashboardShell, OcDashboardShellProps, OcDashboardTool, OcLogoDropdown, OcLogoDropdownProps, OcPrimaryNav, OcPrimaryNavLink, OcPrimaryNavProps, SITE_STATE_LABEL, SiteState, findFamilyProperty } from './chrome.js';
|
|
2
|
+
export { AppShell, AppShellProps, EcosystemSlug, EcosystemSwitcher, EcosystemSwitcherProps, FAMILY_PROPERTIES, FamilyCategory, FamilyProperty, LayoutSubHeader, LayoutSubHeaderProps, LayoutSubHeaderTag, OcAccountMenu, OcAccountMenuBuildInfo, OcAccountMenuItem, OcAccountMenuProps, OcAccountMenuSession, OcAccountMenuView, OcAccountMenuViewProps, OcAppBar, OcAppBarProps, OcDashboardHub, OcDashboardHubProps, OcDashboardShell, OcDashboardShellProps, OcDashboardTool, OcLogoDropdown, OcLogoDropdownProps, OcPrimaryNav, OcPrimaryNavLink, OcPrimaryNavProps, SITE_STATE_LABEL, SiteState, findFamilyProperty } from './chrome.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '@orangecheck/auth-client';
|
package/dist/components.js
CHANGED
|
@@ -2112,6 +2112,39 @@ function LayoutSubHeader({
|
|
|
2112
2112
|
tags.length > 0 && /* @__PURE__ */ jsxRuntime.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__ */ jsxRuntime.jsx("span", { className: tag.hideBelow ? HIDE[tag.hideBelow] : void 0, children: tag.label }, i)) })
|
|
2113
2113
|
] }) });
|
|
2114
2114
|
}
|
|
2115
|
+
function OcAppBar({
|
|
2116
|
+
variant = "full",
|
|
2117
|
+
start,
|
|
2118
|
+
center,
|
|
2119
|
+
end,
|
|
2120
|
+
sticky = true,
|
|
2121
|
+
className
|
|
2122
|
+
}) {
|
|
2123
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2124
|
+
"header",
|
|
2125
|
+
{
|
|
2126
|
+
className: cn(
|
|
2127
|
+
"bg-background/90 supports-[backdrop-filter]:bg-background/70 w-full border-b backdrop-blur",
|
|
2128
|
+
sticky && "sticky top-0 z-50",
|
|
2129
|
+
className
|
|
2130
|
+
),
|
|
2131
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2132
|
+
"div",
|
|
2133
|
+
{
|
|
2134
|
+
className: cn(
|
|
2135
|
+
variant === "full" ? "app-bar" : "container",
|
|
2136
|
+
"flex h-12 items-center justify-between gap-4"
|
|
2137
|
+
),
|
|
2138
|
+
children: [
|
|
2139
|
+
start,
|
|
2140
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-w-0 flex-1 justify-center px-2", children: center }),
|
|
2141
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-1", children: end })
|
|
2142
|
+
]
|
|
2143
|
+
}
|
|
2144
|
+
)
|
|
2145
|
+
}
|
|
2146
|
+
);
|
|
2147
|
+
}
|
|
2115
2148
|
|
|
2116
2149
|
exports.AppShell = AppShell;
|
|
2117
2150
|
exports.Callout = Callout;
|
|
@@ -2124,6 +2157,7 @@ exports.HelpHint = HelpHint;
|
|
|
2124
2157
|
exports.LayoutSubHeader = LayoutSubHeader;
|
|
2125
2158
|
exports.OcAccountMenu = OcAccountMenu;
|
|
2126
2159
|
exports.OcAccountMenuView = OcAccountMenuView;
|
|
2160
|
+
exports.OcAppBar = OcAppBar;
|
|
2127
2161
|
exports.OcDashboardHub = OcDashboardHub;
|
|
2128
2162
|
exports.OcDashboardShell = OcDashboardShell;
|
|
2129
2163
|
exports.OcLogoDropdown = OcLogoDropdown;
|