@layerfi/components 0.1.24 → 0.1.26

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.
@@ -575,12 +575,25 @@
575
575
  .Layer__component .recharts-responsive-container .recharts-cartesian-axis-line {
576
576
  stroke: var(--color-base-300);
577
577
  }
578
+ .Layer__component .recharts-responsive-container .recharts-cartesian-axis-tick-line {
579
+ stroke: var(--color-base-300);
580
+ }
578
581
  .Layer__component .recharts-responsive-container.Layer__chart-container {
579
582
  padding-top: 42px;
580
583
  }
581
584
  .Layer__chart-container {
582
585
  min-height: 300px;
583
586
  }
587
+ .Layer__chart-legend-list {
588
+ margin: 0;
589
+ padding: 0;
590
+ display: flex;
591
+ align-items: center;
592
+ font-size: 12px;
593
+ gap: var(--spacing-sm);
594
+ list-style: none;
595
+ justify-content: flex-end;
596
+ }
584
597
  .Layer__chart__tooltip {
585
598
  background-color: var(--color-base-1000);
586
599
  padding: var(--spacing-2xs) var(--spacing-sm);
@@ -622,7 +635,7 @@
622
635
  border-top-left-radius: 0;
623
636
  border-bottom-left-radius: 0;
624
637
  }
625
- @media screen and (min-width: 500px) {
638
+ @media screen and (min-width: 760px) {
626
639
  .Layer__date-month-picker__wrapper.Layer__date-month-picker__wrapper--current-date-option .Layer__date-month-picker {
627
640
  border-top-right-radius: 0;
628
641
  border-bottom-right-radius: 0;
@@ -694,7 +707,7 @@
694
707
  background: linear-gradient(-90deg, #fff 50%, rgba(255, 255, 255, 0) 100%);
695
708
  z-index: 2;
696
709
  }
697
- @media screen and (max-width: 500px) {
710
+ @media screen and (max-width: 760px) {
698
711
  .Layer__date-month-picker__wrapper .Layer__date-month-picker {
699
712
  border: none;
700
713
  background: none;
@@ -868,7 +881,7 @@
868
881
  align-items: center;
869
882
  gap: var(--spacing-sm);
870
883
  }
871
- @container (max-width: 700px) {
884
+ @container (max-width: 760px) {
872
885
  .Layer__component-header {
873
886
  padding: var(--spacing-md);
874
887
  }
@@ -1088,6 +1101,13 @@
1088
1101
  cursor: pointer;
1089
1102
  position: relative;
1090
1103
  isolation: isolate;
1104
+ -webkit-tap-highlight-color: transparent;
1105
+ -webkit-touch-callout: none;
1106
+ -webkit-user-select: none;
1107
+ -khtml-user-select: none;
1108
+ -moz-user-select: none;
1109
+ -ms-user-select: none;
1110
+ user-select: none;
1091
1111
  }
1092
1112
  .Layer__toggle .Layer__toggle-option-content {
1093
1113
  display: flex;
@@ -1659,6 +1679,13 @@
1659
1679
  position: relative;
1660
1680
  isolation: isolate;
1661
1681
  gap: var(--spacing-xs);
1682
+ -webkit-tap-highlight-color: transparent;
1683
+ -webkit-touch-callout: none;
1684
+ -webkit-user-select: none;
1685
+ -khtml-user-select: none;
1686
+ -moz-user-select: none;
1687
+ -ms-user-select: none;
1688
+ user-select: none;
1662
1689
  }
1663
1690
  .Layer__tabs .Layer__tabs-option-content {
1664
1691
  display: flex;
@@ -2833,7 +2860,7 @@
2833
2860
  row-gap: var(--spacing-sm);
2834
2861
  }
2835
2862
  }
2836
- @container (max-width: 700px) {
2863
+ @container (max-width: 760px) {
2837
2864
  .Layer__bank-transactions__header {
2838
2865
  box-shadow: 0px -1px 0px 0px rgba(23, 51, 45, 0.16) inset;
2839
2866
  background-color: var(--table-bg);
@@ -3112,7 +3139,7 @@
3112
3139
  .Layer__bank-transaction-mobile-list-item__match-item.Layer__bank-transaction-mobile-list-item__match-item--selected .Layer__bank-transaction-mobile-list-item__match-item__name {
3113
3140
  color: var(--color-base-1000);
3114
3141
  }
3115
- @container (max-width: 700px) {
3142
+ @container (max-width: 760px) {
3116
3143
  .Layer__expanded-bank-transaction-row__match-table .Layer__expanded-bank-transaction-row__match-table__header {
3117
3144
  display: none;
3118
3145
  }
@@ -3402,6 +3429,7 @@
3402
3429
  flex-direction: column;
3403
3430
  gap: var(--spacing-sm);
3404
3431
  list-style: none;
3432
+ overflow: hidden;
3405
3433
  }
3406
3434
  .Layer__bank-transaction-mobile-list-item {
3407
3435
  padding: 0;
@@ -3413,11 +3441,22 @@
3413
3441
  transform: scale(0.96);
3414
3442
  transition: all 180ms ease-in-out;
3415
3443
  cursor: pointer;
3444
+ -webkit-tap-highlight-color: transparent;
3445
+ -webkit-touch-callout: none;
3446
+ -webkit-user-select: none;
3447
+ -khtml-user-select: none;
3448
+ -moz-user-select: none;
3449
+ -ms-user-select: none;
3450
+ user-select: none;
3451
+ box-sizing: border-box;
3416
3452
  }
3417
3453
  .Layer__bank-transaction-mobile-list-item.show {
3418
3454
  opacity: 1;
3419
3455
  transform: scale(1);
3420
3456
  }
3457
+ .Layer__bank-transaction-mobile-list-item.show.Layer__bank-transaction-row--removing {
3458
+ opacity: 0.99999;
3459
+ }
3421
3460
  .Layer__bank-transaction-mobile-list-item .Layer__bank-transaction-mobile-list-item__expanded-row {
3422
3461
  height: 0;
3423
3462
  overflow: hidden;
@@ -3429,11 +3468,18 @@
3429
3468
  text-align: center;
3430
3469
  }
3431
3470
  .Layer__bank-transaction-mobile-list-item__heading {
3471
+ display: block;
3472
+ width: 100%;
3473
+ box-sizing: border-box;
3474
+ }
3475
+ .Layer__bank-transaction-mobile-list-item__heading__content {
3432
3476
  display: flex;
3477
+ width: 100%;
3433
3478
  align-items: flex-start;
3434
3479
  justify-content: space-between;
3435
3480
  gap: var(--spacing-xs);
3436
3481
  padding: var(--spacing-sm);
3482
+ box-sizing: border-box;
3437
3483
  }
3438
3484
  .Layer__bank-transaction-mobile-list-item__heading__main {
3439
3485
  display: flex;
@@ -3561,6 +3607,11 @@
3561
3607
  .Layer__bank-transaction-mobile-list-item__switch-form-btns > .Layer__text-btn {
3562
3608
  color: var(--color-base-1000);
3563
3609
  }
3610
+ .Layer__bank-transaction-mobile-list-item__categories_list-title {
3611
+ padding-top: var(--spacing-2xs);
3612
+ padding-bottom: var(--spacing-lg);
3613
+ font-size: 18px;
3614
+ }
3564
3615
  .Layer__component-container.Layer__chart-of-accounts {
3565
3616
  display: flex;
3566
3617
  align-items: stretch;
@@ -4191,7 +4242,7 @@
4191
4242
  left: 0;
4192
4243
  right: 0;
4193
4244
  z-index: 9999;
4194
- background: var(--color-base-100);
4245
+ background: var(--color-base-0);
4195
4246
  width: 100%;
4196
4247
  max-height: 80%;
4197
4248
  overflow-y: auto;
@@ -4258,7 +4309,8 @@
4258
4309
  @media screen and (max-width: 650px) {
4259
4310
  .Layer__linked-accounts__list {
4260
4311
  flex-wrap: nowrap;
4261
- max-width: none;
4312
+ overflow-x: scroll;
4313
+ overflow-y: hidden;
4262
4314
  }
4263
4315
  }
4264
4316
  .Layer__linked-accounts__header + .Layer__linked-accounts__list {
@@ -4299,7 +4351,7 @@
4299
4351
  }
4300
4352
  @media screen and (max-width: 650px) {
4301
4353
  .Layer__linked-accounts__new-account {
4302
- margin-right: var(--spacing-lg);
4354
+ min-width: 150px;
4303
4355
  }
4304
4356
  }
4305
4357
  .Layer__linked-accounts__new-account .Layer__linked-accounts__new-account-label {
@@ -5003,15 +5055,12 @@
5003
5055
  }
5004
5056
  .Layer__profit-and-loss-chart .legend-item-0 {
5005
5057
  fill: var(--bar-color-income);
5006
- stroke: var(--bar-color-income);
5007
5058
  }
5008
5059
  .Layer__profit-and-loss-chart .legend-item-1 {
5009
5060
  fill: var(--bar-color-expenses);
5010
- stroke: var(--bar-color-expenses);
5011
5061
  }
5012
5062
  .Layer__profit-and-loss-chart .legend-item-2 {
5013
5063
  fill: var(--base-transparent-16-light);
5014
- stroke: var(--bar-color-income);
5015
5064
  }
5016
5065
  .Layer__profit-and-loss-chart__selection-indicator {
5017
5066
  stroke: var(--chart-indicator-color);