@layerfi/components 0.1.132-alpha.3 → 0.1.132-alpha.5
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.
- package/dist/cjs/index.cjs +182 -148
- package/dist/esm/index.mjs +182 -148
- package/dist/index.css +55 -80
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -526,18 +526,12 @@
|
|
|
526
526
|
.Layer__component .recharts-wrapper g:focus {
|
|
527
527
|
outline: none;
|
|
528
528
|
}
|
|
529
|
-
.Layer__component .recharts-responsive-container.Layer__chart-container {
|
|
530
|
-
padding-top: 42px;
|
|
531
|
-
}
|
|
532
529
|
.Layer__UI__Chart--focusReset .recharts-wrapper:focus,
|
|
533
530
|
.Layer__UI__Chart--focusReset .recharts-wrapper :focus,
|
|
534
531
|
.Layer__UI__Chart--focusReset .recharts-surface:focus,
|
|
535
532
|
.Layer__UI__Chart--focusReset .recharts-bar-rectangle:focus {
|
|
536
533
|
outline: none;
|
|
537
534
|
}
|
|
538
|
-
.Layer__chart-wrapper {
|
|
539
|
-
position: relative;
|
|
540
|
-
}
|
|
541
535
|
.Layer__chart-container {
|
|
542
536
|
min-height: 300px;
|
|
543
537
|
}
|
|
@@ -3663,9 +3657,6 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
3663
3657
|
.Layer__profit-and-loss-chart .recharts-cartesian-axis-tick-value tspan {
|
|
3664
3658
|
font-size: 0.75rem;
|
|
3665
3659
|
}
|
|
3666
|
-
.Layer__profit-and-loss-chart .recharts-legend-wrapper {
|
|
3667
|
-
margin-top: -46px;
|
|
3668
|
-
}
|
|
3669
3660
|
.Layer__profit-and-loss-chart .recharts-legend-item-text {
|
|
3670
3661
|
font-size: 12px;
|
|
3671
3662
|
color: var(--color-base-700);
|
|
@@ -3684,11 +3675,6 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
3684
3675
|
.Layer__profit-and-loss-chart .legend-item-2 {
|
|
3685
3676
|
fill: var(--base-transparent-16-light);
|
|
3686
3677
|
}
|
|
3687
|
-
.Layer__profit-and-loss-chart__selection-indicator {
|
|
3688
|
-
stroke: var(--chart-indicator-color);
|
|
3689
|
-
fill: none;
|
|
3690
|
-
transition: opacity 0.1s linear;
|
|
3691
|
-
}
|
|
3692
3678
|
/** ---- */
|
|
3693
3679
|
.Layer__profit-and-loss__chart_with_summaries {
|
|
3694
3680
|
display: flex;
|
|
@@ -3953,26 +3939,6 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
3953
3939
|
justify-content: space-between;
|
|
3954
3940
|
padding: var(--spacing-2xs) var(--spacing-xs);
|
|
3955
3941
|
}
|
|
3956
|
-
.Layer__accounting-overview-profit-and-loss-charts {
|
|
3957
|
-
max-width: 1406px;
|
|
3958
|
-
}
|
|
3959
|
-
.Layer__component.Layer__accounting-overview-profit-and-loss .recharts-responsive-container {
|
|
3960
|
-
margin-top: -42px;
|
|
3961
|
-
}
|
|
3962
|
-
@container (max-width: 1023px) {
|
|
3963
|
-
.Layer__accounting-overview-profit-and-loss .recharts-legend-wrapper {
|
|
3964
|
-
margin-top: -40px;
|
|
3965
|
-
}
|
|
3966
|
-
}
|
|
3967
|
-
.Layer__accounting-overview-profit-and-loss-chart {
|
|
3968
|
-
box-sizing: border-box;
|
|
3969
|
-
width: 100%;
|
|
3970
|
-
}
|
|
3971
|
-
@container (max-width: 460px) {
|
|
3972
|
-
.Layer__component.Layer__accounting-overview-profit-and-loss .recharts-responsive-container {
|
|
3973
|
-
margin-top: -12px;
|
|
3974
|
-
}
|
|
3975
|
-
}
|
|
3976
3942
|
.Layer__bookkeeping-overview--view .Layer__panel .Layer__panel__content .Layer__component-header {
|
|
3977
3943
|
z-index: 1;
|
|
3978
3944
|
}
|
|
@@ -3995,21 +3961,6 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
3995
3961
|
padding-right: 0;
|
|
3996
3962
|
}
|
|
3997
3963
|
}
|
|
3998
|
-
.Layer__bookkeeping-overview-profit-and-loss-chart {
|
|
3999
|
-
box-sizing: border-box;
|
|
4000
|
-
width: 100%;
|
|
4001
|
-
}
|
|
4002
|
-
.Layer__bookkeeping-overview-profit-and-loss-charts {
|
|
4003
|
-
max-width: 1406px;
|
|
4004
|
-
}
|
|
4005
|
-
.Layer__bookkeeping-overview-profit-and-loss .recharts-legend-wrapper {
|
|
4006
|
-
top: 16px !important;
|
|
4007
|
-
}
|
|
4008
|
-
@container (max-width: 460px) {
|
|
4009
|
-
.Layer__component.Layer__bookkeeping-overview-profit-and-loss .recharts-responsive-container {
|
|
4010
|
-
margin-top: -12px;
|
|
4011
|
-
}
|
|
4012
|
-
}
|
|
4013
3964
|
.Layer__reports {
|
|
4014
3965
|
overflow: hidden;
|
|
4015
3966
|
}
|
|
@@ -7860,6 +7811,10 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
7860
7811
|
z-index: 101;
|
|
7861
7812
|
}.Layer__ChartYAxis__tick tspan {
|
|
7862
7813
|
font-size: var(--text-sm);
|
|
7814
|
+
}.Layer__ProfitAndLossChart__SelectionIndicator {
|
|
7815
|
+
stroke: var(--chart-indicator-color);
|
|
7816
|
+
fill: none;
|
|
7817
|
+
transition: opacity 0.1s linear;
|
|
7863
7818
|
}.Layer__ChartTooltip {
|
|
7864
7819
|
padding: var(--spacing-2xs) var(--spacing-sm);
|
|
7865
7820
|
border-radius: var(--border-radius-3xs);
|
|
@@ -7877,6 +7832,11 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
7877
7832
|
column-gap: var(--spacing-sm);
|
|
7878
7833
|
justify-content: space-between;
|
|
7879
7834
|
list-style: none;
|
|
7835
|
+
}.Layer__ProfitAndLossChart {
|
|
7836
|
+
position: relative;
|
|
7837
|
+
}
|
|
7838
|
+
.Layer__ProfitAndLossChart__Container {
|
|
7839
|
+
min-block-size: 18.75rem;
|
|
7880
7840
|
}#layer-pie-dots-pattern rect {
|
|
7881
7841
|
fill: var(--color-base-500);
|
|
7882
7842
|
}
|
|
@@ -9520,6 +9480,40 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
9520
9480
|
.Layer__UnifiedReports__Content {
|
|
9521
9481
|
overflow-y: auto;
|
|
9522
9482
|
min-width: 0;
|
|
9483
|
+
}.Layer__PnlLegend__Swatch {
|
|
9484
|
+
display: inline-block;
|
|
9485
|
+
flex-shrink: 0;
|
|
9486
|
+
block-size: 0.625rem;
|
|
9487
|
+
inline-size: 0.625rem;
|
|
9488
|
+
border-radius: 50%;
|
|
9489
|
+
}
|
|
9490
|
+
|
|
9491
|
+
.Layer__PnlLegend__Swatch--income {
|
|
9492
|
+
background-color: var(--bar-color-income);
|
|
9493
|
+
}
|
|
9494
|
+
|
|
9495
|
+
.Layer__PnlLegend__Swatch--expenses {
|
|
9496
|
+
background-color: var(--bar-color-expenses);
|
|
9497
|
+
}
|
|
9498
|
+
|
|
9499
|
+
.Layer__PnlLegend__Swatch--uncategorized {
|
|
9500
|
+
background-image: linear-gradient(45deg, var(--color-base-500) 25%, transparent 25%, transparent 50%, var(--color-base-500) 50%, var(--color-base-500) 75%, transparent 75%, transparent);
|
|
9501
|
+
background-size: 4px 4px;
|
|
9502
|
+
}.Layer__AccountingOverview__ProfitAndLossHeader {
|
|
9503
|
+
padding-block-start: var(--spacing-lg);
|
|
9504
|
+
padding-block-end: 0;
|
|
9505
|
+
padding-inline: var(--spacing-lg);
|
|
9506
|
+
}
|
|
9507
|
+
.Layer__AccountingOverview__ProfitAndLossContainer {
|
|
9508
|
+
display: flex;
|
|
9509
|
+
flex-direction: column;
|
|
9510
|
+
}
|
|
9511
|
+
.Layer__AccountingOverview__ProfitAndLossCharts {
|
|
9512
|
+
max-inline-size: 1406px;
|
|
9513
|
+
}
|
|
9514
|
+
.Layer__AccountingOverview__ProfitAndLossChart {
|
|
9515
|
+
box-sizing: border-box;
|
|
9516
|
+
inline-size: 100%;
|
|
9523
9517
|
}.Layer__UI__DateTile {
|
|
9524
9518
|
width: 5.5rem;
|
|
9525
9519
|
border-radius: var(--border-radius-xs);
|
|
@@ -9596,6 +9590,16 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
9596
9590
|
.Layer__CallBooking__JoinAction {
|
|
9597
9591
|
flex: 1 1 100%;
|
|
9598
9592
|
}
|
|
9593
|
+
}.Layer__BookkeepingOverview__ProfitAndLossContainer {
|
|
9594
|
+
display: flex;
|
|
9595
|
+
flex-direction: column;
|
|
9596
|
+
}
|
|
9597
|
+
.Layer__BookkeepingOverview__ProfitAndLossCharts {
|
|
9598
|
+
max-inline-size: 1406px;
|
|
9599
|
+
}
|
|
9600
|
+
.Layer__BookkeepingOverview__ProfitAndLossChart {
|
|
9601
|
+
box-sizing: border-box;
|
|
9602
|
+
inline-size: 100%;
|
|
9599
9603
|
}.Layer__MileageDeductionChart .recharts-wrapper:focus,
|
|
9600
9604
|
.Layer__MileageDeductionChart .recharts-wrapper :focus,
|
|
9601
9605
|
.Layer__MileageDeductionChart .recharts-surface:focus,
|
|
@@ -9852,37 +9856,8 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
9852
9856
|
.Layer__MileageTrackingSummary__Cards .Layer__MileageTrackingSummary__StatCardSlot > * {
|
|
9853
9857
|
flex: 1;
|
|
9854
9858
|
}
|
|
9855
|
-
}.
|
|
9856
|
-
|
|
9857
|
-
flex-shrink: 0;
|
|
9858
|
-
block-size: 0.625rem;
|
|
9859
|
-
inline-size: 0.625rem;
|
|
9860
|
-
border-radius: 50%;
|
|
9861
|
-
}
|
|
9862
|
-
|
|
9863
|
-
.Layer__PnlLegend__Swatch--income {
|
|
9864
|
-
background-color: var(--bar-color-income);
|
|
9865
|
-
}
|
|
9866
|
-
|
|
9867
|
-
.Layer__PnlLegend__Swatch--expenses {
|
|
9868
|
-
background-color: var(--bar-color-expenses);
|
|
9869
|
-
}
|
|
9870
|
-
|
|
9871
|
-
.Layer__PnlLegend__Swatch--uncategorized {
|
|
9872
|
-
background-image: linear-gradient(45deg, var(--color-base-500) 25%, transparent 25%, transparent 50%, var(--color-base-500) 50%, var(--color-base-500) 75%, transparent 75%, transparent);
|
|
9873
|
-
background-size: 4px 4px;
|
|
9874
|
-
}.Layer__ProfitAndLossSummaryCard .Layer__chart-wrapper,
|
|
9875
|
-
.Layer__ProfitAndLossSummaryCard .Layer__chart-container {
|
|
9876
|
-
height: 100%;
|
|
9877
|
-
min-block-size: 15.625rem;
|
|
9878
|
-
}
|
|
9879
|
-
.Layer__ProfitAndLossSummaryCard div.recharts-responsive-container.Layer__chart-container {
|
|
9880
|
-
padding-block-start: var(--spacing-xs);
|
|
9881
|
-
}
|
|
9882
|
-
@media (width <= 760px) {
|
|
9883
|
-
.Layer__ProfitAndLossSummaryCard .Layer__chart-wrapper {
|
|
9884
|
-
height: unset;
|
|
9885
|
-
}
|
|
9859
|
+
}.Layer__ProfitAndLossSummaryCard {
|
|
9860
|
+
position: relative;
|
|
9886
9861
|
}.Layer__SolopreneurLayout__OnboardingBanner {
|
|
9887
9862
|
max-width: 1406px;
|
|
9888
9863
|
}.Layer__Swatch {
|
package/dist/index.d.ts
CHANGED
|
@@ -825,7 +825,7 @@ export declare const ProfitAndLoss: {
|
|
|
825
825
|
stringOverrides?: ProfitAndLossDetailedChartsStringOverrides;
|
|
826
826
|
slotProps?: ProfitAndLossDetailedChartsSlotProps;
|
|
827
827
|
}) => JSX_2.Element;
|
|
828
|
-
Header: ({ text, className, headingClassName, withDatePicker, withDownloadButton, withStatus, stringOverrides, dateSelectionMode, }: ProfitAndLossHeaderProps) => JSX_2.Element;
|
|
828
|
+
Header: ({ text, className, headingClassName, withDatePicker, withDownloadButton, withStatus, stringOverrides, dateSelectionMode, trailingContent, }: ProfitAndLossHeaderProps) => JSX_2.Element;
|
|
829
829
|
Report: ({ stringOverrides, dateSelectionMode, csvMoneyFormat, view, renderInAppLink, hideHeader, }: ProfitAndLossReportProps) => JSX_2.Element;
|
|
830
830
|
};
|
|
831
831
|
|
|
@@ -903,6 +903,7 @@ declare interface ProfitAndLossHeaderProps {
|
|
|
903
903
|
withDownloadButton?: boolean;
|
|
904
904
|
withStatus?: boolean;
|
|
905
905
|
dateSelectionMode?: DateSelectionMode;
|
|
906
|
+
trailingContent?: ReactNode;
|
|
906
907
|
}
|
|
907
908
|
|
|
908
909
|
declare interface ProfitAndLossHeaderStringOverrides {
|