@layerfi/components 0.1.75 → 0.1.76

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.
@@ -2502,40 +2502,6 @@
2502
2502
  max-width: 90%;
2503
2503
  width: 640px;
2504
2504
  }
2505
- .Layer__notification-card {
2506
- box-sizing: border-box;
2507
- box-shadow: 0px 0px 0px 1px var(--color-base-300);
2508
- border-radius: var(--border-radius-xs);
2509
- padding: var(--spacing-2xs) var(--spacing-xs);
2510
- min-height: 52px;
2511
- background-color: var(--color-base-0);
2512
- display: flex;
2513
- align-items: center;
2514
- justify-content: space-between;
2515
- }
2516
- .Layer__notification-card .Layer__skeleton-loader {
2517
- margin-top: 3px;
2518
- margin-bottom: 2px;
2519
- }
2520
- .Layer__notification-card__main {
2521
- display: flex;
2522
- flex-direction: column;
2523
- gap: var(--spacing-3xs);
2524
- align-items: flex-start;
2525
- }
2526
- .Layer__notification-card__main > .Layer__text {
2527
- color: var(--color-base-700);
2528
- }
2529
- .Layer__txs-to-review .Layer__badge--error {
2530
- color: var(--color-info-error-fg);
2531
- background-color: var(--color-base-50);
2532
- font-variation-settings: "wght" var(--font-weight-bold);
2533
- }
2534
- .Layer__txs-to-review .Layer__badge--success {
2535
- color: var(--color-info-success-fg);
2536
- background-color: var(--color-base-50);
2537
- font-variation-settings: "wght" var(--font-weight-bold);
2538
- }
2539
2505
  .Layer__table {
2540
2506
  width: 100%;
2541
2507
  border-spacing: 0;
@@ -3334,6 +3300,43 @@ tbody .Layer__table__empty-row:first-child {
3334
3300
  .Layer__view.Layer__view--panel .Layer__view-header__content {
3335
3301
  max-width: 1406px;
3336
3302
  }
3303
+ .Layer__VStack {
3304
+ display: flex;
3305
+ flex-direction: column;
3306
+ }
3307
+ .Layer__VStack[data-align=start] {
3308
+ align-items: start;
3309
+ }
3310
+ .Layer__VStack[data-gap="3xs"] {
3311
+ gap: var(--spacing-3xs);
3312
+ }
3313
+ .Layer__VStack[data-gap="2xs"] {
3314
+ gap: var(--spacing-2xs);
3315
+ }
3316
+ .Layer__VStack[data-gap=xs] {
3317
+ gap: var(--spacing-xs);
3318
+ }
3319
+ .Layer__VStack[data-gap=sm] {
3320
+ gap: var(--spacing-sm);
3321
+ }
3322
+ .Layer__VStack[data-gap=md] {
3323
+ gap: var(--spacing-md);
3324
+ }
3325
+ .Layer__VStack[data-gap=lg] {
3326
+ gap: var(--spacing-lg);
3327
+ }
3328
+ .Layer__VStack[data-gap=xl] {
3329
+ gap: var(--spacing-xl);
3330
+ }
3331
+ .Layer__VStack[data-gap="2xl"] {
3332
+ gap: var(--spacing-2xl);
3333
+ }
3334
+ .Layer__VStack[data-gap="3xl"] {
3335
+ gap: var(--spacing-3xl);
3336
+ }
3337
+ .Layer__VStack[data-gap="5xl"] {
3338
+ gap: var(--spacing-5xl);
3339
+ }
3337
3340
  .Layer__ledger-account__index {
3338
3341
  background-color: var(--color-base-0);
3339
3342
  width: 100%;
@@ -6663,6 +6666,88 @@ tbody .Layer__table__empty-row:first-child {
6663
6666
  background-color: var(--color-info-error-bg);
6664
6667
  color: var(--color-info-error-fg);
6665
6668
  }
6669
+ .Layer__ProfitAndLossSummariesListItem {
6670
+ all: unset;
6671
+ display: grid;
6672
+ background: var(--color-base-0);
6673
+ border-radius: var(--border-radius-xs);
6674
+ box-shadow: 0px 0px 0px 1px var(--color-base-300);
6675
+ padding: var(--spacing-4xs);
6676
+ }
6677
+ .Layer__ProfitAndLossSummariesListItem[data-active] {
6678
+ box-shadow: 0px 0px 0px 1px var(--color-base-200);
6679
+ background: var(--color-base-50);
6680
+ }
6681
+ .Layer__ProfitAndLossSummariesListItem[data-clickable] {
6682
+ cursor: pointer;
6683
+ }
6684
+ .Layer__ProfitAndLossSummariesListItem[data-clickable]:hover {
6685
+ background: var(--color-base-50);
6686
+ }
6687
+ .Layer__ProfitAndLossSummariesList {
6688
+ all: unset;
6689
+ display: grid;
6690
+ gap: var(--spacing-sm);
6691
+ grid-auto-rows: minmax(0, 1fr);
6692
+ }
6693
+ @container (min-width: 48rem) {
6694
+ .Layer__ProfitAndLossSummariesList {
6695
+ --column-count: 3;
6696
+ gap: var(--spacing-md);
6697
+ grid-template-columns: repeat(var(--column-count), minmax(0, 1fr));
6698
+ }
6699
+ .Layer__ProfitAndLossSummariesList[data-column-count="4"] {
6700
+ --column-count: 4;
6701
+ }
6702
+ }
6703
+ .Layer__ProfitAndLossSummariesSummary {
6704
+ display: grid;
6705
+ min-block-size: 3rem;
6706
+ grid-template-columns: auto minmax(0, 1fr);
6707
+ column-gap: var(--spacing-xs);
6708
+ row-gap: var(--spacing-3xs);
6709
+ grid-template-areas: "chart heading" "chart amount";
6710
+ }
6711
+ .Layer__ProfitAndLossSummariesSummary[data-size=lg] {
6712
+ min-block-size: 6rem;
6713
+ column-gap: var(--spacing-md);
6714
+ }
6715
+ .Layer__ProfitAndLossSummariesSummaryChartArea {
6716
+ grid-area: chart;
6717
+ align-content: center;
6718
+ border-radius: var(--border-radius-xs);
6719
+ background: var(--color-base-50);
6720
+ }
6721
+ .Layer__ProfitAndLossSummariesSummaryAmount {
6722
+ grid-area: amount;
6723
+ font-size: var(--text-lg);
6724
+ font-variation-settings: "wght" var(--font-weight-bold);
6725
+ overflow-x: hidden;
6726
+ text-overflow: ellipsis;
6727
+ }
6728
+ .Layer__ProfitAndLossSummariesSummaryAmount[data-size=lg] {
6729
+ font-size: var(--text-heading);
6730
+ }
6731
+ .Layer__ProfitAndLossSummariesSummaryAmount[data-positive]::before {
6732
+ content: "$";
6733
+ }
6734
+ .Layer__ProfitAndLossSummariesSummaryAmount[data-negative]::before {
6735
+ content: "-$";
6736
+ }
6737
+ .Layer__ProfitAndLossSummariesSummaryHeading {
6738
+ grid-area: heading;
6739
+ align-self: end;
6740
+ margin: unset;
6741
+ color: var(--color-base-700);
6742
+ font-size: var(--text-sm);
6743
+ }
6744
+ .Layer__ProfitAndLossSummariesSummaryHeading[data-size=lg] {
6745
+ font-size: var(--text-lg);
6746
+ }
6747
+ .Layer__ProfitAndLossSummaries {
6748
+ display: grid;
6749
+ container-type: inline-size;
6750
+ }
6666
6751
  .Layer__component-container .Layer__profit-and-loss {
6667
6752
  display: flex;
6668
6753
  align-items: stretch;
@@ -6893,88 +6978,6 @@ tbody .Layer__table__empty-row:first-child {
6893
6978
  flex: 1;
6894
6979
  padding: var(--spacing-md);
6895
6980
  }
6896
- .Layer__profit-and-loss-summaries {
6897
- display: flex;
6898
- flex: 1;
6899
- flex-direction: row;
6900
- justify-content: space-evenly;
6901
- column-gap: var(--spacing-md);
6902
- row-gap: var(--spacing-md);
6903
- max-width: 1406px;
6904
- }
6905
- .Layer__profit-and-loss-summaries.flex-col {
6906
- flex-direction: column;
6907
- }
6908
- .Layer__profit-and-loss-summaries__summary {
6909
- display: flex;
6910
- flex: 1;
6911
- gap: var(--spacing-xs);
6912
- align-items: center;
6913
- box-shadow: 0px 0px 0px 1px var(--color-base-300);
6914
- border-radius: var(--border-radius-xs);
6915
- padding: var(--spacing-4xs);
6916
- min-height: 52px;
6917
- box-sizing: border-box;
6918
- background-color: var(--color-base-0);
6919
- }
6920
- .Layer__profit-and-loss-summaries__summary.Layer__actionable {
6921
- cursor: pointer;
6922
- }
6923
- .Layer__profit-and-loss-summaries__summary.Layer__actionable:hover {
6924
- background: var(--color-base-50);
6925
- }
6926
- .Layer__profit-and-loss-summaries__summary.active {
6927
- box-shadow: 0px 0px 0px 1px var(--color-base-200);
6928
- background: var(--color-base-50);
6929
- }
6930
- .Layer__profit-and-loss-summaries__summary .mini-chart {
6931
- background: var(--color-base-50);
6932
- border-radius: 6px;
6933
- border-width: 0;
6934
- box-shadow: none;
6935
- }
6936
- .Layer__profit-and-loss-summaries__summary.net-profit {
6937
- padding-left: var(--spacing-xs);
6938
- min-height: 56px;
6939
- }
6940
- .Layer__profit-and-loss-summaries__summary.Layer__actionable.net-profit {
6941
- background: var(--color-base-50);
6942
- border-color: transparent;
6943
- box-shadow: none;
6944
- }
6945
- .Layer__profit-and-loss-summaries__loader {
6946
- height: 17px;
6947
- display: flex;
6948
- align-items: center;
6949
- }
6950
- .Layer__profit-and-loss-summaries__loader .Layer__skeleton-loader {
6951
- height: 14px;
6952
- }
6953
- .Layer__profit-and-loss-summaries__text {
6954
- display: flex;
6955
- flex-direction: column;
6956
- gap: var(--spacing-4xs);
6957
- }
6958
- .Layer__profit-and-loss-summaries__title {
6959
- color: var(--color-base-700);
6960
- font-size: var(--text-sm);
6961
- }
6962
- .Layer__profit-and-loss-summaries__month {
6963
- font-size: 1.125rem;
6964
- margin-bottom: 0.25rem;
6965
- }
6966
- .Layer__profit-and-loss-summaries__amount,
6967
- .Layer__profit-and-loss-summaries__amount--positive {
6968
- color: var(--text-color-primary);
6969
- font-size: var(--text-md);
6970
- }
6971
- .Layer__profit-and-loss-summaries__amount::before,
6972
- .Layer__profit-and-loss-summaries__amount--positive::before {
6973
- content: "$";
6974
- }
6975
- .Layer__profit-and-loss-summaries__amount--negative::before {
6976
- content: "-$";
6977
- }
6978
6981
  .Layer__profit-and-loss-row__children--content {
6979
6982
  min-height: 0;
6980
6983
  display: grid;
@@ -7074,10 +7077,6 @@ tbody .Layer__table__empty-row:first-child {
7074
7077
  }
7075
7078
  }
7076
7079
  @container (max-width: 1023px) and (min-width: 760px) {
7077
- .Layer__profit-and-loss-summaries,
7078
- .Layer__profit-and-loss-summaries.flex-col {
7079
- flex-direction: row;
7080
- }
7081
7080
  .Layer__profit-and-loss__chart_with_summaries {
7082
7081
  flex-direction: column;
7083
7082
  margin-left: var(--spacing-md);
@@ -7086,10 +7085,6 @@ tbody .Layer__table__empty-row:first-child {
7086
7085
  }
7087
7086
  }
7088
7087
  @container (max-width: 759px) and (min-width: 500px) {
7089
- .Layer__profit-and-loss-summaries,
7090
- .Layer__profit-and-loss-summaries.flex-col {
7091
- flex-direction: column;
7092
- }
7093
7088
  .Layer__profit-and-loss__chart_with_summaries {
7094
7089
  flex-direction: column;
7095
7090
  margin-left: 0;
@@ -7099,15 +7094,6 @@ tbody .Layer__table__empty-row:first-child {
7099
7094
  }
7100
7095
  }
7101
7096
  @container (max-width: 500px) {
7102
- .Layer__profit-and-loss-summaries,
7103
- .Layer__profit-and-loss-summaries.flex-col {
7104
- flex-direction: row;
7105
- max-width: 100%;
7106
- overflow: auto;
7107
- box-sizing: border-box;
7108
- justify-content: flex-start;
7109
- padding: 6px 1px;
7110
- }
7111
7097
  .Layer__profit-and-loss__chart_with_summaries {
7112
7098
  flex-direction: column;
7113
7099
  margin-left: 0;
@@ -7115,9 +7101,6 @@ tbody .Layer__table__empty-row:first-child {
7115
7101
  margin-bottom: var(--spacing-md);
7116
7102
  box-shadow: none;
7117
7103
  }
7118
- .Layer__profit-and-loss-summaries__summary {
7119
- min-width: 150px;
7120
- }
7121
7104
  }
7122
7105
  .Layer__profit-and-loss-row__detailed-chart-btn {
7123
7106
  width: 20px;
@@ -7623,16 +7606,12 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
7623
7606
  transform: translateX(50%);
7624
7607
  }
7625
7608
  }
7626
- .Layer__accounting-overview__summaries-row {
7609
+ .Layer__TransactionsToReview {
7627
7610
  display: flex;
7628
7611
  align-items: center;
7629
- gap: var(--spacing-md);
7630
- max-width: 1406px;
7631
- width: 100%;
7632
- }
7633
- .Layer__accounting-overview__summaries-row .Layer__notification-card {
7634
- width: calc(25% - 12px);
7635
- height: 56px;
7612
+ justify-content: space-between;
7613
+ gap: var(--spacing-xs);
7614
+ padding: var(--spacing-2xs) var(--spacing-xs);
7636
7615
  }
7637
7616
  .Layer__accounting-overview-profit-and-loss-charts {
7638
7617
  display: flex;
@@ -7651,16 +7630,6 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
7651
7630
  }
7652
7631
  }
7653
7632
  @container (max-width: 796px) {
7654
- .Layer__accounting-overview__summaries-row {
7655
- flex-direction: column;
7656
- }
7657
- .Layer__accounting-overview__summaries-row .Layer__profit-and-loss-summaries {
7658
- width: 100%;
7659
- flex-direction: column;
7660
- }
7661
- .Layer__accounting-overview__summaries-row .Layer__notification-card.Layer__txs-to-review {
7662
- width: 100%;
7663
- }
7664
7633
  .Layer__accounting-overview-profit-and-loss-charts {
7665
7634
  flex-direction: column;
7666
7635
  }
@@ -7680,6 +7649,9 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
7680
7649
  margin-top: -12px;
7681
7650
  }
7682
7651
  }
7652
+ .Layer__BookkeepingProfitAndLossSummariesContainer {
7653
+ padding: var(--spacing-md);
7654
+ }
7683
7655
  .Layer__bookkeeping-overview--view .Layer__panel .Layer__panel__content .Layer__component-header {
7684
7656
  z-index: 1;
7685
7657
  }
@@ -7699,17 +7671,6 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
7699
7671
  padding-right: 0;
7700
7672
  }
7701
7673
  }
7702
- .Layer__bookkeeping-overview__summaries-row {
7703
- display: flex;
7704
- align-items: center;
7705
- gap: var(--spacing-md);
7706
- max-width: 1406px;
7707
- padding: var(--spacing-md);
7708
- }
7709
- .Layer__bookkeeping-overview__summaries-row .Layer__notification-card {
7710
- width: calc(25% - 12px);
7711
- height: 56px;
7712
- }
7713
7674
  .Layer__bookkeeping-overview-profit-and-loss-chart {
7714
7675
  width: calc(50% - var(--spacing-md) / 2);
7715
7676
  }
@@ -7725,16 +7686,6 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
7725
7686
  top: 16px !important;
7726
7687
  }
7727
7688
  @container (max-width: 796px) {
7728
- .Layer__bookkeeping-overview__summaries-row {
7729
- flex-direction: column;
7730
- }
7731
- .Layer__bookkeeping-overview__summaries-row .Layer__profit-and-loss-summaries {
7732
- width: 100%;
7733
- flex-direction: column;
7734
- }
7735
- .Layer__bookkeeping-overview__summaries-row .Layer__notification-card.Layer__txs-to-review {
7736
- width: 100%;
7737
- }
7738
7689
  .Layer__bookkeeping-overview-profit-and-loss-chart {
7739
7690
  width: 100%;
7740
7691
  }