@orangecheck/app-design 1.3.0 → 1.4.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.
Files changed (47) hide show
  1. package/dist/chrome.d.mts +11 -5
  2. package/dist/chrome.d.ts +11 -5
  3. package/dist/chrome.js +985 -952
  4. package/dist/chrome.js.map +1 -1
  5. package/dist/chrome.mjs +986 -954
  6. package/dist/chrome.mjs.map +1 -1
  7. package/dist/code.js +3 -1
  8. package/dist/code.js.map +1 -1
  9. package/dist/code.mjs +3 -1
  10. package/dist/code.mjs.map +1 -1
  11. package/dist/components.d.mts +7 -5
  12. package/dist/components.d.ts +7 -5
  13. package/dist/components.js +697 -617
  14. package/dist/components.js.map +1 -1
  15. package/dist/components.mjs +697 -617
  16. package/dist/components.mjs.map +1 -1
  17. package/dist/{docs-Dxg4Tp_q.d.ts → docs-ByUx4t-D.d.ts} +19 -4
  18. package/dist/{docs-wJBfLS08.d.mts → docs-CFE5mU_6.d.mts} +19 -4
  19. package/dist/index.d.mts +3 -3
  20. package/dist/index.d.ts +3 -3
  21. package/dist/index.js +1665 -1519
  22. package/dist/index.js.map +1 -1
  23. package/dist/index.mjs +1665 -1520
  24. package/dist/index.mjs.map +1 -1
  25. package/dist/mdx.d.mts +6 -2
  26. package/dist/mdx.d.ts +6 -2
  27. package/dist/mdx.js +175 -76
  28. package/dist/mdx.js.map +1 -1
  29. package/dist/mdx.mjs +176 -77
  30. package/dist/mdx.mjs.map +1 -1
  31. package/dist/primitives.d.mts +3 -3
  32. package/dist/primitives.d.ts +3 -3
  33. package/dist/primitives.js +10 -1
  34. package/dist/primitives.js.map +1 -1
  35. package/dist/primitives.mjs +10 -1
  36. package/dist/primitives.mjs.map +1 -1
  37. package/dist/session.d.mts +2 -2
  38. package/dist/session.d.ts +2 -2
  39. package/dist/session.js +1 -1
  40. package/dist/session.js.map +1 -1
  41. package/dist/session.mjs +1 -1
  42. package/dist/session.mjs.map +1 -1
  43. package/dist/styles/swagger.css +252 -0
  44. package/dist/styles/tokens.css +2 -0
  45. package/dist/{tool-shell-zncroOEQ.d.mts → tool-shell-D8Q8XX11.d.mts} +3 -2
  46. package/dist/{tool-shell-Be4Q0cNN.d.ts → tool-shell-gmlj47Ie.d.ts} +3 -2
  47. package/package.json +3 -2
@@ -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.1",
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",
@@ -91,7 +91,7 @@
91
91
  "scripts": {
92
92
  "build": "tsup && yarn copy:css",
93
93
  "copy:css": "rm -rf dist/styles && mkdir -p dist/styles && cp src/styles.css dist/styles.css && cp -R src/styles/. dist/styles/",
94
- "test": "node scripts/check-contrast.mjs && node scripts/check-isolation.mjs && node scripts/check-shell.mjs && node scripts/check-mirror.mjs && node scripts/check-code.mjs && node scripts/check-entries.mjs && node scripts/check-render.mjs && node scripts/check-next.mjs",
94
+ "test": "node scripts/check-contrast.mjs && node scripts/check-isolation.mjs && node scripts/check-shell.mjs && node scripts/check-mirror.mjs && node scripts/check-code.mjs && node scripts/check-entries.mjs && node scripts/check-render.mjs && node scripts/check-dom.mjs && node scripts/check-next.mjs",
95
95
  "dev": "tsup --watch",
96
96
  "type-check": "tsc --noEmit",
97
97
  "clean": "rm -rf dist"
@@ -137,6 +137,7 @@
137
137
  "@types/qrcode": "^1.5.5",
138
138
  "@types/react": "^19.0.0",
139
139
  "@types/react-dom": "^19.0.0",
140
+ "jsdom": "^29.0.2",
140
141
  "lucide-react": "^0.544.0",
141
142
  "mermaid": "^11.14.0",
142
143
  "next": "^16.3.8",