@layerfi/components 0.1.35 → 0.1.37
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/esm/index.js +648 -385
- package/dist/esm/index.js.map +4 -4
- package/dist/index.d.ts +51 -34
- package/dist/index.js +570 -307
- package/dist/index.js.map +4 -4
- package/dist/styles/index.css +83 -18
- package/dist/styles/index.css.map +2 -2
- package/package.json +1 -1
package/dist/styles/index.css
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
.Layer__drawer {
|
|
12
12
|
--color-black: #1a1a1a;
|
|
13
13
|
--color-white: white;
|
|
14
|
+
--color-blue: hsl(217 100% 92%);
|
|
14
15
|
--color-info-success: hsl(145, 45%, 42%);
|
|
15
16
|
--color-info-success-bg: hsl(145, 59%, 86%);
|
|
16
17
|
--color-info-success-fg: hsl(145, 63%, 29%);
|
|
@@ -1020,7 +1021,7 @@
|
|
|
1020
1021
|
.Layer__datepicker__wrapper .Layer__datepicker__popper .Layer__datepicker__calendar .react-datepicker__month .react-datepicker__month-wrapper .react-datepicker__day.react-datepicker__month-text--keyboard-selected,
|
|
1021
1022
|
.Layer__datepicker__wrapper .Layer__datepicker__popper .Layer__datepicker__calendar .react-datepicker__month .react-datepicker__month-wrapper .react-datepicker__month-text.react-datepicker__day--keyboard-selected,
|
|
1022
1023
|
.Layer__datepicker__wrapper .Layer__datepicker__popper .Layer__datepicker__calendar .react-datepicker__month .react-datepicker__month-wrapper .react-datepicker__month-text.react-datepicker__month-text--keyboard-selected {
|
|
1023
|
-
background-color: var(--color-base-
|
|
1024
|
+
background-color: var(--color-base-0);
|
|
1024
1025
|
color: var(--color-base-800);
|
|
1025
1026
|
border-color: var(--color-base-800);
|
|
1026
1027
|
outline-color: var(--color-base-800);
|
|
@@ -2769,7 +2770,6 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
2769
2770
|
padding-left: var(--spacing-3xs);
|
|
2770
2771
|
}
|
|
2771
2772
|
.Layer__bank-transaction-row {
|
|
2772
|
-
top: 1px;
|
|
2773
2773
|
transition: all var(--transition-speed) ease-in-out;
|
|
2774
2774
|
opacity: 0.3;
|
|
2775
2775
|
}
|
|
@@ -2781,9 +2781,6 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
2781
2781
|
transform: scale(1);
|
|
2782
2782
|
opacity: 1;
|
|
2783
2783
|
}
|
|
2784
|
-
.Layer__bank-transaction-row.Layer__bank-transaction-row--removing {
|
|
2785
|
-
top: 0;
|
|
2786
|
-
}
|
|
2787
2784
|
.Layer__bank-transaction-row.Layer__bank-transaction-row--removing .Layer__table-cell-content {
|
|
2788
2785
|
padding: 0 var(--spacing-md);
|
|
2789
2786
|
overflow: hidden;
|
|
@@ -3076,9 +3073,6 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
3076
3073
|
opacity: 1;
|
|
3077
3074
|
transform: scale(1);
|
|
3078
3075
|
}
|
|
3079
|
-
.Layer__bank-transaction-list-item.Layer__bank-transaction-row--removing {
|
|
3080
|
-
display: none;
|
|
3081
|
-
}
|
|
3082
3076
|
.Layer__bank-transaction-list-item .Layer__bank-transaction-list-item__base-row {
|
|
3083
3077
|
max-height: 60px;
|
|
3084
3078
|
opacity: 1;
|
|
@@ -3856,7 +3850,6 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
3856
3850
|
margin: 0;
|
|
3857
3851
|
display: flex;
|
|
3858
3852
|
flex-direction: column;
|
|
3859
|
-
gap: var(--spacing-sm);
|
|
3860
3853
|
list-style: none;
|
|
3861
3854
|
overflow: hidden;
|
|
3862
3855
|
max-width: 414px;
|
|
@@ -3864,7 +3857,7 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
3864
3857
|
}
|
|
3865
3858
|
.Layer__bank-transaction-mobile-list-item {
|
|
3866
3859
|
padding: 0;
|
|
3867
|
-
margin:
|
|
3860
|
+
margin: var(--spacing-2xs);
|
|
3868
3861
|
background: var(--color-base-0);
|
|
3869
3862
|
box-shadow: 0px 2px 2px 0px var(--color-base-200), 0px 4px 4px 0px var(--color-base-100);
|
|
3870
3863
|
border-radius: var(--border-radius-sm);
|
|
@@ -3886,12 +3879,24 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
3886
3879
|
transform: scale(1);
|
|
3887
3880
|
}
|
|
3888
3881
|
.Layer__bank-transaction-mobile-list-item.show.Layer__bank-transaction-row--removing {
|
|
3889
|
-
opacity: 0
|
|
3882
|
+
opacity: 0;
|
|
3883
|
+
transition: all 500ms ease-in-out, opacity 80ms ease-out;
|
|
3884
|
+
overflow: hidden;
|
|
3885
|
+
margin-top: 0;
|
|
3886
|
+
margin-bottom: 0;
|
|
3887
|
+
}
|
|
3888
|
+
.Layer__bank-transaction-mobile-list-item.show.Layer__bank-transaction-row--removing .Layer__bank-transaction-mobile-list-item__expanded-row {
|
|
3889
|
+
transition: all 380ms ease-out;
|
|
3890
|
+
height: 0 !important;
|
|
3891
|
+
}
|
|
3892
|
+
.Layer__bank-transaction-mobile-list-item.show.Layer__bank-transaction-row--removing .Layer__bank-transaction-mobile-list-item__heading {
|
|
3893
|
+
transition: height 180ms ease-out;
|
|
3894
|
+
height: 0 !important;
|
|
3890
3895
|
}
|
|
3891
3896
|
.Layer__bank-transaction-mobile-list-item .Layer__bank-transaction-mobile-list-item__expanded-row {
|
|
3892
3897
|
height: 0;
|
|
3893
3898
|
overflow: hidden;
|
|
3894
|
-
transition: all 180ms ease-
|
|
3899
|
+
transition: all 180ms ease-out;
|
|
3895
3900
|
}
|
|
3896
3901
|
.Layer__bank-transaction-mobile-list-item .Layer__text--error {
|
|
3897
3902
|
padding: var(--spacing-sm) 0;
|
|
@@ -4844,6 +4849,8 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
4844
4849
|
border-radius: var(--border-radius-sm);
|
|
4845
4850
|
background: var(--base-transparent-1);
|
|
4846
4851
|
transition: all 0.15s ease-out;
|
|
4852
|
+
min-width: 286px;
|
|
4853
|
+
box-sizing: border-box;
|
|
4847
4854
|
}
|
|
4848
4855
|
.Layer__linked-accounts__new-account.--as-widget {
|
|
4849
4856
|
min-height: 90px;
|
|
@@ -4857,11 +4864,6 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
4857
4864
|
.Layer__linked-accounts__new-account:hover .Layer__linked-accounts__new-account-label {
|
|
4858
4865
|
color: var(--color-base-800);
|
|
4859
4866
|
}
|
|
4860
|
-
@media screen and (max-width: 650px) {
|
|
4861
|
-
.Layer__linked-accounts__new-account {
|
|
4862
|
-
min-width: 150px;
|
|
4863
|
-
}
|
|
4864
|
-
}
|
|
4865
4867
|
.Layer__linked-accounts__new-account .Layer__linked-accounts__new-account-label {
|
|
4866
4868
|
display: flex;
|
|
4867
4869
|
align-items: center;
|
|
@@ -4875,6 +4877,30 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
4875
4877
|
.Layer__linked-accounts__new-account .Layer__linked-accounts__new-account-label span {
|
|
4876
4878
|
line-height: normal;
|
|
4877
4879
|
}
|
|
4880
|
+
@keyframes skeletonSweep {
|
|
4881
|
+
100% {
|
|
4882
|
+
transform: translateX(100%);
|
|
4883
|
+
}
|
|
4884
|
+
}
|
|
4885
|
+
.skeleton-loader {
|
|
4886
|
+
position: relative;
|
|
4887
|
+
padding: 1rem;
|
|
4888
|
+
background: white;
|
|
4889
|
+
border-radius: var(--border-radius-base);
|
|
4890
|
+
overflow: hidden;
|
|
4891
|
+
}
|
|
4892
|
+
.skeleton-loader::after {
|
|
4893
|
+
display: block;
|
|
4894
|
+
content: "";
|
|
4895
|
+
position: absolute;
|
|
4896
|
+
top: 0;
|
|
4897
|
+
left: 0;
|
|
4898
|
+
width: 100%;
|
|
4899
|
+
height: 100%;
|
|
4900
|
+
transform: translateX(-100%);
|
|
4901
|
+
background: linear-gradient(90deg, transparent, rgb(255, 255, 255), transparent);
|
|
4902
|
+
animation: skeletonSweep 1.5s infinite;
|
|
4903
|
+
}
|
|
4878
4904
|
.Layer__linked-account-thumb {
|
|
4879
4905
|
display: flex;
|
|
4880
4906
|
flex-direction: column;
|
|
@@ -4884,6 +4910,8 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
4884
4910
|
background: var(--color-base-0);
|
|
4885
4911
|
border: 1px solid var(--color-base-100);
|
|
4886
4912
|
box-sizing: border-box;
|
|
4913
|
+
min-width: 286px;
|
|
4914
|
+
justify-content: space-between;
|
|
4887
4915
|
}
|
|
4888
4916
|
.Layer__linked-account-thumb .topbar {
|
|
4889
4917
|
min-width: 272px;
|
|
@@ -4899,6 +4927,11 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
4899
4927
|
padding: var(--spacing-xs);
|
|
4900
4928
|
box-sizing: border-box;
|
|
4901
4929
|
}
|
|
4930
|
+
.Layer__linked-account-thumb .topbar.--is-syncing {
|
|
4931
|
+
color: var(--color-base-500);
|
|
4932
|
+
background: none;
|
|
4933
|
+
z-index: 50;
|
|
4934
|
+
}
|
|
4902
4935
|
.Layer__linked-account-thumb .topbar .account-institution {
|
|
4903
4936
|
color: var(--color-base-500);
|
|
4904
4937
|
}
|
|
@@ -4921,6 +4954,10 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
4921
4954
|
}
|
|
4922
4955
|
.Layer__linked-account-thumb .topbar .account-name {
|
|
4923
4956
|
flex: 1;
|
|
4957
|
+
text-overflow: ellipsis;
|
|
4958
|
+
white-space: nowrap;
|
|
4959
|
+
width: 200px;
|
|
4960
|
+
overflow: hidden;
|
|
4924
4961
|
}
|
|
4925
4962
|
.Layer__linked-account-thumb .middlebar {
|
|
4926
4963
|
box-sizing: border-box;
|
|
@@ -4937,6 +4974,31 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
4937
4974
|
.Layer__linked-account-thumb .middlebar .account-balance-text {
|
|
4938
4975
|
color: var(--color-base-500);
|
|
4939
4976
|
}
|
|
4977
|
+
.Layer__linked-account-thumb .loadingbar {
|
|
4978
|
+
display: flex;
|
|
4979
|
+
padding: var(--spacing-xs);
|
|
4980
|
+
border-bottom-left-radius: var(--border-radius-xs);
|
|
4981
|
+
border-bottom-right-radius: var(--border-radius-xs);
|
|
4982
|
+
gap: var(--spacing-xs);
|
|
4983
|
+
align-items: center;
|
|
4984
|
+
z-index: 100;
|
|
4985
|
+
}
|
|
4986
|
+
.Layer__linked-account-thumb .loadingbar .loading-text {
|
|
4987
|
+
flex: 1;
|
|
4988
|
+
line-height: 140%;
|
|
4989
|
+
}
|
|
4990
|
+
.Layer__linked-account-thumb .loadingbar .loading-wrapper {
|
|
4991
|
+
width: 28px;
|
|
4992
|
+
height: 28px;
|
|
4993
|
+
background: var(--color-blue);
|
|
4994
|
+
border-radius: 50%;
|
|
4995
|
+
display: flex;
|
|
4996
|
+
align-items: center;
|
|
4997
|
+
justify-content: center;
|
|
4998
|
+
}
|
|
4999
|
+
.Layer__linked-account-thumb .loadingbar .syncing-data-description {
|
|
5000
|
+
color: var(--color-base-500);
|
|
5001
|
+
}
|
|
4940
5002
|
.Layer__linked-account-thumb .bottombar {
|
|
4941
5003
|
box-sizing: border-box;
|
|
4942
5004
|
display: flex;
|
|
@@ -4948,6 +5010,9 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
4948
5010
|
.Layer__linked-account-thumb .bottombar .account-balance-text {
|
|
4949
5011
|
color: var(--color-base-500);
|
|
4950
5012
|
}
|
|
5013
|
+
.Layer__linked-account-thumb.--is-syncing {
|
|
5014
|
+
background: hsl(200, 11%, 96%);
|
|
5015
|
+
}
|
|
4951
5016
|
.Layer__linked-account-thumb.--as-widget {
|
|
4952
5017
|
gap: var(--spacing-2xs);
|
|
4953
5018
|
}
|
|
@@ -5323,7 +5388,7 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
5323
5388
|
.Layer__panel {
|
|
5324
5389
|
flex: 1;
|
|
5325
5390
|
display: flex;
|
|
5326
|
-
align-items: start;
|
|
5391
|
+
align-items: flex-start;
|
|
5327
5392
|
height: 100%;
|
|
5328
5393
|
}
|
|
5329
5394
|
.Layer__panel__content {
|