@hed-hog/finance 0.0.364 → 0.0.366

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.
@@ -608,6 +608,8 @@
608
608
  slug: admin
609
609
  - where:
610
610
  slug: admin-finance
611
+ - where:
612
+ slug: finance-statements-editor
611
613
 
612
614
  - url: /person/:id
613
615
  method: GET
@@ -644,6 +646,8 @@
644
646
  slug: admin
645
647
  - where:
646
648
  slug: admin-finance
649
+ - where:
650
+ slug: finance-statements-editor
647
651
 
648
652
  - url: /person-document-type
649
653
  method: GET
@@ -653,6 +657,8 @@
653
657
  slug: admin
654
658
  - where:
655
659
  slug: admin-finance
660
+ - where:
661
+ slug: finance-statements-editor
656
662
 
657
663
  # finance MCP tools
658
664
  - tool_name: finance.accounts-payable.installments.approve
@@ -103,6 +103,7 @@ export function FinanceSheetBody({
103
103
  type FinanceSheetSectionProps = {
104
104
  title?: ReactNode;
105
105
  description?: ReactNode;
106
+ actions?: ReactNode;
106
107
  children: ReactNode;
107
108
  className?: string;
108
109
  contentClassName?: string;
@@ -111,22 +112,26 @@ type FinanceSheetSectionProps = {
111
112
  export function FinanceSheetSection({
112
113
  title,
113
114
  description,
115
+ actions,
114
116
  children,
115
117
  className,
116
118
  contentClassName,
117
119
  }: FinanceSheetSectionProps) {
118
120
  return (
119
121
  <section className={cn('', className)}>
120
- {title || description ? (
121
- <div className="mb-4 space-y-1">
122
- {title ? (
123
- <h3 className="text-sm font-semibold text-foreground">{title}</h3>
124
- ) : null}
125
- {description ? (
126
- <p className="text-sm leading-relaxed text-muted-foreground">
127
- {description}
128
- </p>
129
- ) : null}
122
+ {title || description || actions ? (
123
+ <div className="mb-4 flex items-start justify-between gap-3">
124
+ <div className="space-y-1">
125
+ {title ? (
126
+ <h3 className="text-sm font-semibold text-foreground">{title}</h3>
127
+ ) : null}
128
+ {description ? (
129
+ <p className="text-sm leading-relaxed text-muted-foreground">
130
+ {description}
131
+ </p>
132
+ ) : null}
133
+ </div>
134
+ {actions ? <div className="shrink-0">{actions}</div> : null}
130
135
  </div>
131
136
  ) : null}
132
137
  <div className={cn('space-y-4', contentClassName)}>{children}</div>