@orangecheck/app-design 1.4.0 → 1.5.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.
Files changed (43) hide show
  1. package/dist/chrome.d.mts +5 -4
  2. package/dist/chrome.d.ts +5 -4
  3. package/dist/chrome.js +171 -40
  4. package/dist/chrome.js.map +1 -1
  5. package/dist/chrome.mjs +172 -41
  6. package/dist/chrome.mjs.map +1 -1
  7. package/dist/components.d.mts +46 -9
  8. package/dist/components.d.ts +46 -9
  9. package/dist/components.js +334 -167
  10. package/dist/components.js.map +1 -1
  11. package/dist/components.mjs +333 -170
  12. package/dist/components.mjs.map +1 -1
  13. package/dist/{docs-BB9gK4KF.d.ts → docs-ByUx4t-D.d.ts} +2 -1
  14. package/dist/{docs-D-T-nHiu.d.mts → docs-CFE5mU_6.d.mts} +2 -1
  15. package/dist/index.d.mts +4 -4
  16. package/dist/index.d.ts +4 -4
  17. package/dist/index.js +572 -244
  18. package/dist/index.js.map +1 -1
  19. package/dist/index.mjs +570 -246
  20. package/dist/index.mjs.map +1 -1
  21. package/dist/mdx.d.mts +1 -1
  22. package/dist/mdx.d.ts +1 -1
  23. package/dist/mdx.js +7 -2
  24. package/dist/mdx.js.map +1 -1
  25. package/dist/mdx.mjs +7 -2
  26. package/dist/mdx.mjs.map +1 -1
  27. package/dist/primitives.d.mts +4 -3
  28. package/dist/primitives.d.ts +4 -3
  29. package/dist/primitives.js +37 -1
  30. package/dist/primitives.js.map +1 -1
  31. package/dist/primitives.mjs +37 -1
  32. package/dist/primitives.mjs.map +1 -1
  33. package/dist/session.d.mts +3 -3
  34. package/dist/session.d.ts +3 -3
  35. package/dist/session.js +1 -1
  36. package/dist/session.js.map +1 -1
  37. package/dist/session.mjs +1 -1
  38. package/dist/session.mjs.map +1 -1
  39. package/dist/{tool-shell-D8Q8XX11.d.mts → tool-shell-CQZNRUgH.d.mts} +8 -4
  40. package/dist/{tool-shell-gmlj47Ie.d.ts → tool-shell-CRmceGrV.d.ts} +8 -4
  41. package/dist/{tools-DFIxIj5p.d.mts → tools-Bg1gi2HO.d.mts} +1 -1
  42. package/dist/{tools-BggNN5DV.d.ts → tools-Bw7RhO92.d.ts} +1 -1
  43. package/package.json +3 -2
package/dist/mdx.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode, HTMLAttributes, AnchorHTMLAttributes, InputHTMLAttributes, ImgHTMLAttributes } from 'react';
3
- import { q as MermaidLoader, M as MdxTable, C as Callout, x as Steps, w as Step, L as LinkCard, e as CardGrid, a as ApiTable, f as CodeBlock, i as CodeTabs, I as InstallTabs, S as SpecCard, r as ProtocolGrid } from './docs-D-T-nHiu.mjs';
3
+ import { q as MermaidLoader, M as MdxTable, C as Callout, x as Steps, w as Step, L as LinkCard, e as CardGrid, a as ApiTable, f as CodeBlock, i as CodeTabs, I as InstallTabs, S as SpecCard, r as ProtocolGrid } from './docs-CFE5mU_6.mjs';
4
4
  import { b as StatusBadge } from './status-badge-BJ9Sdsx8.mjs';
5
5
  import './index-DmfyPYe5.mjs';
6
6
  import './hero-Dn37il-9.mjs';
package/dist/mdx.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode, HTMLAttributes, AnchorHTMLAttributes, InputHTMLAttributes, ImgHTMLAttributes } from 'react';
3
- import { q as MermaidLoader, M as MdxTable, C as Callout, x as Steps, w as Step, L as LinkCard, e as CardGrid, a as ApiTable, f as CodeBlock, i as CodeTabs, I as InstallTabs, S as SpecCard, r as ProtocolGrid } from './docs-BB9gK4KF.js';
3
+ import { q as MermaidLoader, M as MdxTable, C as Callout, x as Steps, w as Step, L as LinkCard, e as CardGrid, a as ApiTable, f as CodeBlock, i as CodeTabs, I as InstallTabs, S as SpecCard, r as ProtocolGrid } from './docs-ByUx4t-D.js';
4
4
  import { b as StatusBadge } from './status-badge-Bt8x3RhO.js';
5
5
  import './index-DmfyPYe5.js';
6
6
  import './hero-Dn37il-9.js';
package/dist/mdx.js CHANGED
@@ -9,6 +9,7 @@ var lucideReact = require('lucide-react');
9
9
  var reactSlot = require('@radix-ui/react-slot');
10
10
  var classVarianceAuthority = require('class-variance-authority');
11
11
  var SeparatorPrimitive = require('@radix-ui/react-separator');
12
+ require('next-themes');
12
13
  require('sonner');
13
14
  var Link = require('next/link');
14
15
  var router = require('next/compat/router');
@@ -845,7 +846,8 @@ function Well({
845
846
  lines,
846
847
  maxLines,
847
848
  diff,
848
- lineNumbers
849
+ lineNumbers,
850
+ wrap
849
851
  }) {
850
852
  const foldable = maxLines !== void 0 && lines > maxLines + 2;
851
853
  const [open, setOpen] = react.useState(false);
@@ -864,7 +866,8 @@ function Well({
864
866
  "data-diff": diff ? "" : void 0,
865
867
  "data-line-numbers": lineNumbers ? "" : void 0,
866
868
  className: cn(
867
- "oca-code w-max min-w-full py-4 font-mono text-[0.875rem] leading-[1.625] text-oca-ink-muted [font-variant-ligatures:none]",
869
+ "oca-code py-4 font-mono text-[0.875rem] leading-[1.625] text-oca-ink-muted [font-variant-ligatures:none]",
870
+ wrap ? "whitespace-pre-wrap break-all" : "w-max min-w-full",
868
871
  !lined && "px-5"
869
872
  ),
870
873
  children: lined ? /* @__PURE__ */ jsxRuntime.jsx("code", { className: "block", "data-lang": lang, dangerouslySetInnerHTML: { __html: html } }) : /* @__PURE__ */ jsxRuntime.jsx("code", { className: "block", "data-lang": lang, children })
@@ -906,6 +909,7 @@ function CodeBlock({
906
909
  highlight: marks,
907
910
  diff,
908
911
  lineNumbers,
912
+ wrap,
909
913
  actions,
910
914
  className
911
915
  }) {
@@ -937,6 +941,7 @@ function CodeBlock({
937
941
  maxLines,
938
942
  diff: prepared ? prepared.diff : isDiff,
939
943
  lineNumbers,
944
+ wrap,
940
945
  children
941
946
  }
942
947
  )