@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
@@ -3,11 +3,11 @@ import { ReactNode, HTMLAttributes, ElementType, CSSProperties, Component, Error
3
3
  import * as class_variance_authority_types from 'class-variance-authority/types';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
  export { D as DocHeader, a as DocLayout, P as PageHero, b as PageHeroProps, T as TocItem, u as useActiveHeading } from './hero-Dn37il-9.mjs';
6
- export { A as ApiRow, a as ApiTable, b as AppCard, c as AppCardProps, d as AppGrid, B as Breadcrumbs, C as Callout, e as CardGrid, f as CodeBlock, g as CodeBlockProps, h as CodeTab, i as CodeTabs, j as ComparisonColumn, k as ComparisonRow, l as ComparisonTable, m as Crumb, D as Diagram, n as DocsHeading, o as DocsPager, I as InstallTabs, L as LinkCard, M as MdxTable, p as MermaidLike, q as MermaidLoader, O as OnThisPage, P as PagerLink, r as ProtocolGrid, s as ProtocolHero, t as ProtocolNav, S as SpecCard, u as SpecCardProps, v as SpecFileKind, w as Step, x as Steps, V as VerifyBox, y as languageName, z as useHeadings } from './docs-D-T-nHiu.mjs';
6
+ export { A as ApiRow, a as ApiTable, b as AppCard, c as AppCardProps, d as AppGrid, B as Breadcrumbs, C as Callout, e as CardGrid, f as CodeBlock, g as CodeBlockProps, h as CodeTab, i as CodeTabs, j as ComparisonColumn, k as ComparisonRow, l as ComparisonTable, m as Crumb, D as Diagram, n as DocsHeading, o as DocsPager, I as InstallTabs, L as LinkCard, M as MdxTable, p as MermaidLike, q as MermaidLoader, O as OnThisPage, P as PagerLink, r as ProtocolGrid, s as ProtocolHero, t as ProtocolNav, S as SpecCard, u as SpecCardProps, v as SpecFileKind, w as Step, x as Steps, V as VerifyBox, y as languageName, z as useHeadings } from './docs-CFE5mU_6.mjs';
7
7
  import { ExplorerKind, Network } from './format.mjs';
8
+ import { j as ProtocolSlug } from './index-DmfyPYe5.mjs';
8
9
  import { S as Statement } from './status-badge-BJ9Sdsx8.mjs';
9
- export { A as AnchorState, a as AnchorStatus, b as ArtifactView, B as BlockCountdown, c as BlockHeight, C as ChosenFile, D as DropZone, F as FilterChips, d as FilterOption, e as FormSection, M as Meter, S as SectionStatus, f as StateBadge, g as StateDef, h as StateTone, T as ToolGrid, i as ToolItem, j as createStateBadge } from './tools-DFIxIj5p.mjs';
10
- import './index-DmfyPYe5.mjs';
10
+ export { A as AnchorState, a as AnchorStatus, b as ArtifactView, B as BlockCountdown, c as BlockHeight, C as ChosenFile, D as DropZone, F as FilterChips, d as FilterOption, e as FormSection, M as Meter, S as SectionStatus, f as StateBadge, g as StateDef, h as StateTone, T as ToolGrid, i as ToolItem, j as createStateBadge } from './tools-Bg1gi2HO.mjs';
11
11
 
12
12
  declare function Eyebrow({ className, onInk, ...props }: HTMLAttributes<HTMLParagraphElement> & {
13
13
  onInk?: boolean;
@@ -598,16 +598,46 @@ declare class ErrorBoundary extends Component<Props, State> {
598
598
  render(): ReactNode;
599
599
  }
600
600
 
601
- declare function ErrorPage({ code, title, detail, actions, home, art, className, }: {
601
+ declare function ErrorPage({ code, title, detail, actions, home, protocol, art, className, }: {
602
602
  code?: number;
603
603
  title?: ReactNode;
604
604
  detail?: ReactNode;
605
605
  actions?: ReactNode;
606
606
  home?: string;
607
+ protocol?: ProtocolSlug;
607
608
  art?: ReactNode;
608
609
  className?: string;
609
610
  }): react.JSX.Element;
610
611
 
612
+ declare function CountdownRing({ period, remaining, warnAt, size, showSeconds, className, }: {
613
+ period: number;
614
+ remaining?: number;
615
+ warnAt?: number;
616
+ size?: number;
617
+ showSeconds?: boolean;
618
+ className?: string;
619
+ }): react.JSX.Element;
620
+ declare function PlanCard({ name, subtitle, price, period, footnote, features, action, badge, badgeTone, highlight, className, }: {
621
+ name: ReactNode;
622
+ subtitle?: ReactNode;
623
+ price: ReactNode;
624
+ period?: ReactNode;
625
+ footnote?: ReactNode;
626
+ features?: ReactNode[];
627
+ action?: ReactNode;
628
+ badge?: ReactNode;
629
+ badgeTone?: 'neutral' | 'brand' | 'success' | 'muted';
630
+ highlight?: boolean;
631
+ className?: string;
632
+ }): react.JSX.Element;
633
+ declare function LockedPreview({ title, description, action, children, className, }: {
634
+ title: ReactNode;
635
+ description?: ReactNode;
636
+ action: ReactNode;
637
+ children?: ReactNode;
638
+ className?: string;
639
+ }): react.JSX.Element;
640
+
611
641
  declare function SectionHeading({ eyebrow, title, lead, id, onInk, level, as, align, reveal, className, }: {
612
642
  eyebrow?: ReactNode;
613
643
  title: ReactNode;
@@ -734,7 +764,7 @@ declare function VerifyReport({ verdict, title, summary, checks, facts, notCheck
734
764
  as?: 'h2' | 'h3';
735
765
  className?: string;
736
766
  }): react.JSX.Element;
737
- declare function SignMessage({ lead, address, message, wallets, busy, error, submitLabel, secondary, onSignature, className, }: {
767
+ declare function SignMessage({ lead, address, message, wallets, busy, error, submitLabel, secondary, scheme, onSignature, className, }: {
738
768
  lead?: ReactNode;
739
769
  address: string;
740
770
  message: string;
@@ -743,6 +773,7 @@ declare function SignMessage({ lead, address, message, wallets, busy, error, sub
743
773
  error?: ReactNode;
744
774
  submitLabel?: string;
745
775
  secondary?: ReactNode;
776
+ scheme?: 'bip322' | 'legacy';
746
777
  onSignature: (signature: string) => void;
747
778
  className?: string;
748
779
  }): react.JSX.Element;
@@ -756,7 +787,10 @@ declare function TextLink({ href: written, children, external, className, }: {
756
787
 
757
788
  interface SearchResult {
758
789
  id: string;
759
- href: string;
790
+ href?: string;
791
+ run?: () => void;
792
+ icon?: ReactNode;
793
+ meta?: ReactNode;
760
794
  title: ReactNode;
761
795
  section?: ReactNode;
762
796
  excerpt?: ReactNode;
@@ -772,7 +806,7 @@ declare const SearchButton: react.ForwardRefExoticComponent<{
772
806
  onClick?: () => void;
773
807
  className?: string;
774
808
  } & react.RefAttributes<HTMLButtonElement>>;
775
- declare function SearchDialog({ onQuery, open: openProp, onOpenChange, onSelect, button, hotkey, label, placeholder, idle, defaultQuery, debounceMs, className, }: {
809
+ interface SearchDialogProps {
776
810
  onQuery: SearchQuery;
777
811
  open?: boolean;
778
812
  onOpenChange?: (open: boolean) => void;
@@ -785,6 +819,9 @@ declare function SearchDialog({ onQuery, open: openProp, onOpenChange, onSelect,
785
819
  defaultQuery?: string;
786
820
  debounceMs?: number;
787
821
  className?: string;
788
- }): react.JSX.Element;
822
+ browse?: boolean;
823
+ }
824
+ declare function SearchDialog({ onQuery, open: openProp, onOpenChange, onSelect, button, hotkey, label, placeholder, idle, defaultQuery, debounceMs, browse, className, }: SearchDialogProps): react.JSX.Element;
825
+ declare function CommandDialog({ label, placeholder, ...props }: Omit<SearchDialogProps, 'browse' | 'button'>): react.JSX.Element;
789
826
 
790
- export { Accent, type ActivityItem, ActivityList, BrowserFrame, type CheckState, Closing, type Column, Container, CopyButton, type CopyButtonProps, DataTable, Display, type DisplayProps, EmptyLine, EmptyState, type Endpoint, EndpointList, ErrorBoundary, ErrorPage, Eyebrow, FactBlock, type FactRow, FactRows, Faq, FloatChip, Footnote, HashChip, type KeyValueItem, KeyValueList, Lead, type LegalBlock, LegalDocument, type LegalSource, LoadingBlock, Monogram, Notice, PackageCard, type PackageItem, PageHeader, PhoneFrame, type ProgressStep, ProgressSteps, ProofStrip, Prose, Reveal, Sats, SatsFigure, type SatsProps, type SatsTextOptions, ScrollStory, SearchButton, SearchDialog, type SearchGroup, type SearchQuery, type SearchResult, Section, SectionHeading, SectionIntro, type SectionProps, SignMessage, SplitBar, type SplitSegment, StatCard, type StatCardProps, StatGrid, type StatGridProps, StepGrid, type StepGridProps, type StepItem, type StepState, TextLink, Ticker, type TruthRow, type TruthStatus, TruthTable, UsdApprox, type VerifyCheck, VerifyReport, monogramGround, monogramLetter, satsText, sectionVariants, useCopy, useInView };
827
+ export { Accent, type ActivityItem, ActivityList, BrowserFrame, type CheckState, Closing, type Column, CommandDialog, Container, CopyButton, type CopyButtonProps, CountdownRing, DataTable, Display, type DisplayProps, EmptyLine, EmptyState, type Endpoint, EndpointList, ErrorBoundary, ErrorPage, Eyebrow, FactBlock, type FactRow, FactRows, Faq, FloatChip, Footnote, HashChip, type KeyValueItem, KeyValueList, Lead, type LegalBlock, LegalDocument, type LegalSource, LoadingBlock, LockedPreview, Monogram, Notice, PackageCard, type PackageItem, PageHeader, PhoneFrame, PlanCard, type ProgressStep, ProgressSteps, ProofStrip, Prose, Reveal, Sats, SatsFigure, type SatsProps, type SatsTextOptions, ScrollStory, SearchButton, SearchDialog, type SearchDialogProps, type SearchGroup, type SearchQuery, type SearchResult, Section, SectionHeading, SectionIntro, type SectionProps, SignMessage, SplitBar, type SplitSegment, StatCard, type StatCardProps, StatGrid, type StatGridProps, StepGrid, type StepGridProps, type StepItem, type StepState, TextLink, Ticker, type TruthRow, type TruthStatus, TruthTable, UsdApprox, type VerifyCheck, VerifyReport, monogramGround, monogramLetter, satsText, sectionVariants, useCopy, useInView };
@@ -3,11 +3,11 @@ import { ReactNode, HTMLAttributes, ElementType, CSSProperties, Component, Error
3
3
  import * as class_variance_authority_types from 'class-variance-authority/types';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
  export { D as DocHeader, a as DocLayout, P as PageHero, b as PageHeroProps, T as TocItem, u as useActiveHeading } from './hero-Dn37il-9.js';
6
- export { A as ApiRow, a as ApiTable, b as AppCard, c as AppCardProps, d as AppGrid, B as Breadcrumbs, C as Callout, e as CardGrid, f as CodeBlock, g as CodeBlockProps, h as CodeTab, i as CodeTabs, j as ComparisonColumn, k as ComparisonRow, l as ComparisonTable, m as Crumb, D as Diagram, n as DocsHeading, o as DocsPager, I as InstallTabs, L as LinkCard, M as MdxTable, p as MermaidLike, q as MermaidLoader, O as OnThisPage, P as PagerLink, r as ProtocolGrid, s as ProtocolHero, t as ProtocolNav, S as SpecCard, u as SpecCardProps, v as SpecFileKind, w as Step, x as Steps, V as VerifyBox, y as languageName, z as useHeadings } from './docs-BB9gK4KF.js';
6
+ export { A as ApiRow, a as ApiTable, b as AppCard, c as AppCardProps, d as AppGrid, B as Breadcrumbs, C as Callout, e as CardGrid, f as CodeBlock, g as CodeBlockProps, h as CodeTab, i as CodeTabs, j as ComparisonColumn, k as ComparisonRow, l as ComparisonTable, m as Crumb, D as Diagram, n as DocsHeading, o as DocsPager, I as InstallTabs, L as LinkCard, M as MdxTable, p as MermaidLike, q as MermaidLoader, O as OnThisPage, P as PagerLink, r as ProtocolGrid, s as ProtocolHero, t as ProtocolNav, S as SpecCard, u as SpecCardProps, v as SpecFileKind, w as Step, x as Steps, V as VerifyBox, y as languageName, z as useHeadings } from './docs-ByUx4t-D.js';
7
7
  import { ExplorerKind, Network } from './format.js';
8
+ import { j as ProtocolSlug } from './index-DmfyPYe5.js';
8
9
  import { S as Statement } from './status-badge-Bt8x3RhO.js';
9
- export { A as AnchorState, a as AnchorStatus, b as ArtifactView, B as BlockCountdown, c as BlockHeight, C as ChosenFile, D as DropZone, F as FilterChips, d as FilterOption, e as FormSection, M as Meter, S as SectionStatus, f as StateBadge, g as StateDef, h as StateTone, T as ToolGrid, i as ToolItem, j as createStateBadge } from './tools-BggNN5DV.js';
10
- import './index-DmfyPYe5.js';
10
+ export { A as AnchorState, a as AnchorStatus, b as ArtifactView, B as BlockCountdown, c as BlockHeight, C as ChosenFile, D as DropZone, F as FilterChips, d as FilterOption, e as FormSection, M as Meter, S as SectionStatus, f as StateBadge, g as StateDef, h as StateTone, T as ToolGrid, i as ToolItem, j as createStateBadge } from './tools-Bw7RhO92.js';
11
11
 
12
12
  declare function Eyebrow({ className, onInk, ...props }: HTMLAttributes<HTMLParagraphElement> & {
13
13
  onInk?: boolean;
@@ -598,16 +598,46 @@ declare class ErrorBoundary extends Component<Props, State> {
598
598
  render(): ReactNode;
599
599
  }
600
600
 
601
- declare function ErrorPage({ code, title, detail, actions, home, art, className, }: {
601
+ declare function ErrorPage({ code, title, detail, actions, home, protocol, art, className, }: {
602
602
  code?: number;
603
603
  title?: ReactNode;
604
604
  detail?: ReactNode;
605
605
  actions?: ReactNode;
606
606
  home?: string;
607
+ protocol?: ProtocolSlug;
607
608
  art?: ReactNode;
608
609
  className?: string;
609
610
  }): react.JSX.Element;
610
611
 
612
+ declare function CountdownRing({ period, remaining, warnAt, size, showSeconds, className, }: {
613
+ period: number;
614
+ remaining?: number;
615
+ warnAt?: number;
616
+ size?: number;
617
+ showSeconds?: boolean;
618
+ className?: string;
619
+ }): react.JSX.Element;
620
+ declare function PlanCard({ name, subtitle, price, period, footnote, features, action, badge, badgeTone, highlight, className, }: {
621
+ name: ReactNode;
622
+ subtitle?: ReactNode;
623
+ price: ReactNode;
624
+ period?: ReactNode;
625
+ footnote?: ReactNode;
626
+ features?: ReactNode[];
627
+ action?: ReactNode;
628
+ badge?: ReactNode;
629
+ badgeTone?: 'neutral' | 'brand' | 'success' | 'muted';
630
+ highlight?: boolean;
631
+ className?: string;
632
+ }): react.JSX.Element;
633
+ declare function LockedPreview({ title, description, action, children, className, }: {
634
+ title: ReactNode;
635
+ description?: ReactNode;
636
+ action: ReactNode;
637
+ children?: ReactNode;
638
+ className?: string;
639
+ }): react.JSX.Element;
640
+
611
641
  declare function SectionHeading({ eyebrow, title, lead, id, onInk, level, as, align, reveal, className, }: {
612
642
  eyebrow?: ReactNode;
613
643
  title: ReactNode;
@@ -734,7 +764,7 @@ declare function VerifyReport({ verdict, title, summary, checks, facts, notCheck
734
764
  as?: 'h2' | 'h3';
735
765
  className?: string;
736
766
  }): react.JSX.Element;
737
- declare function SignMessage({ lead, address, message, wallets, busy, error, submitLabel, secondary, onSignature, className, }: {
767
+ declare function SignMessage({ lead, address, message, wallets, busy, error, submitLabel, secondary, scheme, onSignature, className, }: {
738
768
  lead?: ReactNode;
739
769
  address: string;
740
770
  message: string;
@@ -743,6 +773,7 @@ declare function SignMessage({ lead, address, message, wallets, busy, error, sub
743
773
  error?: ReactNode;
744
774
  submitLabel?: string;
745
775
  secondary?: ReactNode;
776
+ scheme?: 'bip322' | 'legacy';
746
777
  onSignature: (signature: string) => void;
747
778
  className?: string;
748
779
  }): react.JSX.Element;
@@ -756,7 +787,10 @@ declare function TextLink({ href: written, children, external, className, }: {
756
787
 
757
788
  interface SearchResult {
758
789
  id: string;
759
- href: string;
790
+ href?: string;
791
+ run?: () => void;
792
+ icon?: ReactNode;
793
+ meta?: ReactNode;
760
794
  title: ReactNode;
761
795
  section?: ReactNode;
762
796
  excerpt?: ReactNode;
@@ -772,7 +806,7 @@ declare const SearchButton: react.ForwardRefExoticComponent<{
772
806
  onClick?: () => void;
773
807
  className?: string;
774
808
  } & react.RefAttributes<HTMLButtonElement>>;
775
- declare function SearchDialog({ onQuery, open: openProp, onOpenChange, onSelect, button, hotkey, label, placeholder, idle, defaultQuery, debounceMs, className, }: {
809
+ interface SearchDialogProps {
776
810
  onQuery: SearchQuery;
777
811
  open?: boolean;
778
812
  onOpenChange?: (open: boolean) => void;
@@ -785,6 +819,9 @@ declare function SearchDialog({ onQuery, open: openProp, onOpenChange, onSelect,
785
819
  defaultQuery?: string;
786
820
  debounceMs?: number;
787
821
  className?: string;
788
- }): react.JSX.Element;
822
+ browse?: boolean;
823
+ }
824
+ declare function SearchDialog({ onQuery, open: openProp, onOpenChange, onSelect, button, hotkey, label, placeholder, idle, defaultQuery, debounceMs, browse, className, }: SearchDialogProps): react.JSX.Element;
825
+ declare function CommandDialog({ label, placeholder, ...props }: Omit<SearchDialogProps, 'browse' | 'button'>): react.JSX.Element;
789
826
 
790
- export { Accent, type ActivityItem, ActivityList, BrowserFrame, type CheckState, Closing, type Column, Container, CopyButton, type CopyButtonProps, DataTable, Display, type DisplayProps, EmptyLine, EmptyState, type Endpoint, EndpointList, ErrorBoundary, ErrorPage, Eyebrow, FactBlock, type FactRow, FactRows, Faq, FloatChip, Footnote, HashChip, type KeyValueItem, KeyValueList, Lead, type LegalBlock, LegalDocument, type LegalSource, LoadingBlock, Monogram, Notice, PackageCard, type PackageItem, PageHeader, PhoneFrame, type ProgressStep, ProgressSteps, ProofStrip, Prose, Reveal, Sats, SatsFigure, type SatsProps, type SatsTextOptions, ScrollStory, SearchButton, SearchDialog, type SearchGroup, type SearchQuery, type SearchResult, Section, SectionHeading, SectionIntro, type SectionProps, SignMessage, SplitBar, type SplitSegment, StatCard, type StatCardProps, StatGrid, type StatGridProps, StepGrid, type StepGridProps, type StepItem, type StepState, TextLink, Ticker, type TruthRow, type TruthStatus, TruthTable, UsdApprox, type VerifyCheck, VerifyReport, monogramGround, monogramLetter, satsText, sectionVariants, useCopy, useInView };
827
+ export { Accent, type ActivityItem, ActivityList, BrowserFrame, type CheckState, Closing, type Column, CommandDialog, Container, CopyButton, type CopyButtonProps, CountdownRing, DataTable, Display, type DisplayProps, EmptyLine, EmptyState, type Endpoint, EndpointList, ErrorBoundary, ErrorPage, Eyebrow, FactBlock, type FactRow, FactRows, Faq, FloatChip, Footnote, HashChip, type KeyValueItem, KeyValueList, Lead, type LegalBlock, LegalDocument, type LegalSource, LoadingBlock, LockedPreview, Monogram, Notice, PackageCard, type PackageItem, PageHeader, PhoneFrame, PlanCard, type ProgressStep, ProgressSteps, ProofStrip, Prose, Reveal, Sats, SatsFigure, type SatsProps, type SatsTextOptions, ScrollStory, SearchButton, SearchDialog, type SearchDialogProps, type SearchGroup, type SearchQuery, type SearchResult, Section, SectionHeading, SectionIntro, type SectionProps, SignMessage, SplitBar, type SplitSegment, StatCard, type StatCardProps, StatGrid, type StatGridProps, StepGrid, type StepGridProps, type StepItem, type StepState, TextLink, Ticker, type TruthRow, type TruthStatus, TruthTable, UsdApprox, type VerifyCheck, VerifyReport, monogramGround, monogramLetter, satsText, sectionVariants, useCopy, useInView };