@hed-hog/finance 0.0.302 → 0.0.303

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.
@@ -3,7 +3,6 @@
3
3
  import { FinancePageSection } from '@/app/(app)/(libraries)/finance/_components/finance-layout';
4
4
  import { EmptyState, Page, PageHeader } from '@/components/entity-list';
5
5
  import { Button } from '@/components/ui/button';
6
- import { KpiCardsGrid } from '@/components/ui/kpi-cards-grid';
7
6
  import {
8
7
  Dialog,
9
8
  DialogContent,
@@ -23,6 +22,7 @@ import {
23
22
  } from '@/components/ui/form';
24
23
  import { Input } from '@/components/ui/input';
25
24
  import { InputMoney } from '@/components/ui/input-money';
25
+ import { KpiCardsGrid } from '@/components/ui/kpi-cards-grid';
26
26
  import { Money } from '@/components/ui/money';
27
27
  import {
28
28
  Select,
@@ -796,6 +796,7 @@ export default function ExtratosPage() {
796
796
  <KpiCardsGrid items={summaryCards} columns={3} />
797
797
 
798
798
  <FinancePageSection
799
+ variant="flat"
799
800
  title={t('table.title')}
800
801
  description={t('table.foundTransactions', { count: extratos.length })}
801
802
  contentClassName="p-4 sm:p-5"
@@ -875,15 +876,13 @@ export default function ExtratosPage() {
875
876
  </Table>
876
877
  </div>
877
878
  ) : (
878
- <div className="p-2 sm:p-4">
879
- <EmptyState
880
- icon={<Upload className="h-12 w-12" />}
881
- title={t('empty.title')}
882
- description={t('empty.description')}
883
- actionLabel={t('importDialog.action')}
884
- onAction={() => setIsImportSheetOpen(true)}
885
- />
886
- </div>
879
+ <EmptyState
880
+ icon={<Upload className="h-12 w-12" />}
881
+ title={t('empty.title')}
882
+ description={t('empty.description')}
883
+ actionLabel={t('importDialog.action')}
884
+ onAction={() => setIsImportSheetOpen(true)}
885
+ />
887
886
  )}
888
887
  </FinancePageSection>
889
888
 
@@ -3,7 +3,6 @@
3
3
  import { FinancePageSection } from '@/app/(app)/(libraries)/finance/_components/finance-layout';
4
4
  import { Page, PageHeader } from '@/components/entity-list';
5
5
  import { Button } from '@/components/ui/button';
6
- import { KpiCardsGrid } from '@/components/ui/kpi-cards-grid';
7
6
  import { FilterBar } from '@/components/ui/filter-bar';
8
7
  import {
9
8
  Form,
@@ -15,6 +14,7 @@ import {
15
14
  } from '@/components/ui/form';
16
15
  import { Input } from '@/components/ui/input';
17
16
  import { InputMoney } from '@/components/ui/input-money';
17
+ import { KpiCardsGrid } from '@/components/ui/kpi-cards-grid';
18
18
  import { Money } from '@/components/ui/money';
19
19
  import {
20
20
  Select,
@@ -407,10 +407,7 @@ export default function TransferenciasPage() {
407
407
 
408
408
  <KpiCardsGrid items={summaryCards} columns={2} />
409
409
 
410
- <FinancePageSection
411
- contentClassName="p-0"
412
- className="border-none shadow-none"
413
- >
410
+ <FinancePageSection variant="flat" contentClassName="p-0">
414
411
  <div className="overflow-x-auto">
415
412
  <Table>
416
413
  <TableHeader>
@@ -147,10 +147,7 @@ export default function RecebiveisPage() {
147
147
  })}
148
148
  </div>
149
149
 
150
- <FinancePageSection
151
- contentClassName="p-0"
152
- className="border-none shadow-none"
153
- >
150
+ <FinancePageSection variant="flat" contentClassName="p-0">
154
151
  <div className="overflow-x-auto">
155
152
  <Table>
156
153
  <TableHeader>
@@ -85,10 +85,7 @@ export default function CenariosPage() {
85
85
  ]}
86
86
  />
87
87
 
88
- <FinancePageSection
89
- contentClassName="p-0"
90
- className="border-none shadow-none"
91
- >
88
+ <FinancePageSection variant="flat" contentClassName="p-0">
92
89
  <div className="grid gap-4 md:grid-cols-3">
93
90
  {cenarios.map((cenario) => {
94
91
  const isAtivo = cenario.id === cenarioAtivo;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hed-hog/finance",
3
- "version": "0.0.302",
3
+ "version": "0.0.303",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "dependencies": {
@@ -10,12 +10,12 @@
10
10
  "@nestjs/jwt": "^11",
11
11
  "@nestjs/mapped-types": "*",
12
12
  "@hed-hog/api": "0.0.6",
13
- "@hed-hog/api-locale": "0.0.14",
14
13
  "@hed-hog/api-pagination": "0.0.7",
15
- "@hed-hog/core": "0.0.302",
14
+ "@hed-hog/api-locale": "0.0.14",
15
+ "@hed-hog/tag": "0.0.303",
16
16
  "@hed-hog/api-prisma": "0.0.6",
17
- "@hed-hog/tag": "0.0.302",
18
- "@hed-hog/contact": "0.0.302",
17
+ "@hed-hog/contact": "0.0.303",
18
+ "@hed-hog/core": "0.0.303",
19
19
  "@hed-hog/api-types": "0.0.1"
20
20
  },
21
21
  "exports": {