@orangecheck/app-design 1.3.0 → 1.4.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.
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
3
  import { i as ToolItem } from './tools-DFIxIj5p.mjs';
4
- import { j as ProtocolSlug } from './index-DmfyPYe5.mjs';
4
+ import { d as FamilySlug, j as ProtocolSlug } from './index-DmfyPYe5.mjs';
5
5
 
6
6
  interface ShellNavItem {
7
7
  href: string;
@@ -21,13 +21,14 @@ interface ShellSection {
21
21
  href: string;
22
22
  groups: ShellNavGroup[];
23
23
  }
24
- declare function AppShell({ nav, sections, activeSection, page: pageOverride, persistent, home, account, banner, footer, children, className, }: {
24
+ declare function AppShell({ nav, sections, activeSection, page: pageOverride, persistent, home, family, account, banner, footer, children, className, }: {
25
25
  nav?: ShellNavGroup[];
26
26
  sections?: ShellSection[];
27
27
  activeSection?: string;
28
28
  page?: string;
29
29
  persistent?: ShellNavGroup[];
30
30
  home?: string;
31
+ family?: boolean | FamilySlug;
31
32
  account?: ReactNode;
32
33
  banner?: ReactNode;
33
34
  footer?: ReactNode;
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
3
  import { i as ToolItem } from './tools-BggNN5DV.js';
4
- import { j as ProtocolSlug } from './index-DmfyPYe5.js';
4
+ import { d as FamilySlug, j as ProtocolSlug } from './index-DmfyPYe5.js';
5
5
 
6
6
  interface ShellNavItem {
7
7
  href: string;
@@ -21,13 +21,14 @@ interface ShellSection {
21
21
  href: string;
22
22
  groups: ShellNavGroup[];
23
23
  }
24
- declare function AppShell({ nav, sections, activeSection, page: pageOverride, persistent, home, account, banner, footer, children, className, }: {
24
+ declare function AppShell({ nav, sections, activeSection, page: pageOverride, persistent, home, family, account, banner, footer, children, className, }: {
25
25
  nav?: ShellNavGroup[];
26
26
  sections?: ShellSection[];
27
27
  activeSection?: string;
28
28
  page?: string;
29
29
  persistent?: ShellNavGroup[];
30
30
  home?: string;
31
+ family?: boolean | FamilySlug;
31
32
  account?: ReactNode;
32
33
  banner?: ReactNode;
33
34
  footer?: ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orangecheck/app-design",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "The ochk.app design system: tokens, type, the isometric check, halftone photography, primitives and app chrome. Its own system, scoped under data-oc-app=\"ochk\" so it never reaches the .ochk.io family sites.",
5
5
  "keywords": [
6
6
  "orangecheck",