@layerfi/components 0.1.85 → 0.1.86
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 +12588 -10556
- package/dist/esm/index.mjs +12464 -10419
- package/dist/index.css +189 -18
- package/dist/index.d.ts +835 -529
- package/package.json +2 -28
package/dist/index.css
CHANGED
|
@@ -83,8 +83,9 @@
|
|
|
83
83
|
--text-md: 14px;
|
|
84
84
|
--text-lg: 16px;
|
|
85
85
|
--text-heading: 24px;
|
|
86
|
+
--text-heading-secondary: 20px;
|
|
86
87
|
--text-heading-page: var(--text-heading);
|
|
87
|
-
--text-heading-view:
|
|
88
|
+
--text-heading-view: var(--text-heading-secondary);
|
|
88
89
|
--text-heading-sm: 16px;
|
|
89
90
|
--font-weight-normal: 460;
|
|
90
91
|
--font-weight-bold: 540;
|
|
@@ -1047,6 +1048,8 @@
|
|
|
1047
1048
|
}
|
|
1048
1049
|
.Layer__datepicker__wrapper,
|
|
1049
1050
|
#Layer__datepicker__portal {
|
|
1051
|
+
position: relative;
|
|
1052
|
+
z-index: 101;
|
|
1050
1053
|
display: inline-flex;
|
|
1051
1054
|
align-items: center;
|
|
1052
1055
|
max-height: 36px;
|
|
@@ -1066,6 +1069,7 @@
|
|
|
1066
1069
|
.Layer__datepicker__wrapper > div,
|
|
1067
1070
|
#Layer__datepicker__portal > div {
|
|
1068
1071
|
max-width: 100%;
|
|
1072
|
+
width: 100%;
|
|
1069
1073
|
}
|
|
1070
1074
|
.Layer__datepicker__wrapper .Layer__datepicker__next-button,
|
|
1071
1075
|
#Layer__datepicker__portal .Layer__datepicker__next-button {
|
|
@@ -3146,6 +3150,9 @@
|
|
|
3146
3150
|
padding: var(--spacing-2xs);
|
|
3147
3151
|
color: var(--label-color);
|
|
3148
3152
|
}
|
|
3153
|
+
.Layer__amount-input {
|
|
3154
|
+
text-align: right;
|
|
3155
|
+
}
|
|
3149
3156
|
.Layer__textarea {
|
|
3150
3157
|
width: 100%;
|
|
3151
3158
|
resize: none;
|
|
@@ -3622,7 +3629,11 @@
|
|
|
3622
3629
|
position: absolute;
|
|
3623
3630
|
right: -10px;
|
|
3624
3631
|
bottom: 1px;
|
|
3625
|
-
background:
|
|
3632
|
+
background:
|
|
3633
|
+
linear-gradient(
|
|
3634
|
+
-90deg,
|
|
3635
|
+
#fff 50%,
|
|
3636
|
+
rgba(255, 255, 255, 0) 100%);
|
|
3626
3637
|
z-index: 2;
|
|
3627
3638
|
}
|
|
3628
3639
|
.Layer__input-with-badge {
|
|
@@ -4492,6 +4503,11 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
4492
4503
|
.Layer__UI__Button[data-variant=solid][data-hovered] {
|
|
4493
4504
|
background-color: var(--button-bg-active);
|
|
4494
4505
|
}
|
|
4506
|
+
.Layer__UI__Button[data-focus-visible] {
|
|
4507
|
+
outline-style: solid;
|
|
4508
|
+
outline-offset: 0.12rem;
|
|
4509
|
+
outline-color: var(--button-bg-default);
|
|
4510
|
+
}
|
|
4495
4511
|
.Layer__UI__Button[data-variant=ghost] {
|
|
4496
4512
|
background-color: transparent;
|
|
4497
4513
|
color: var(--button-fg-ghost);
|
|
@@ -4502,6 +4518,10 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
4502
4518
|
color: var(--button-fg-ghost-active);
|
|
4503
4519
|
border-color: var(--button-outline-ghost-active);
|
|
4504
4520
|
}
|
|
4521
|
+
.Layer__UI__Button[data-variant=ghost][data-focus-visible] {
|
|
4522
|
+
outline-style: solid;
|
|
4523
|
+
outline-color: var(--button-outline-ghost-active);
|
|
4524
|
+
}
|
|
4505
4525
|
.Layer__UI__Button[data-size=lg] {
|
|
4506
4526
|
min-block-size: 2.25rem;
|
|
4507
4527
|
font-size: var(--text-lg);
|
|
@@ -4515,17 +4535,9 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
4515
4535
|
cursor: progress;
|
|
4516
4536
|
background-color: var(--button-bg-disabled);
|
|
4517
4537
|
}
|
|
4518
|
-
.Layer__LoadingSpinner {
|
|
4519
|
-
animation-name: Layer__rotate;
|
|
4520
|
-
animation-duration: 2s;
|
|
4521
|
-
animation-timing-function: linear;
|
|
4522
|
-
animation-iteration-count: infinite;
|
|
4523
|
-
}
|
|
4524
4538
|
.Layer__Checkbox {
|
|
4525
|
-
display:
|
|
4526
|
-
grid-template-columns: auto minmax(0, 1fr);
|
|
4539
|
+
display: inline-flex;
|
|
4527
4540
|
align-items: center;
|
|
4528
|
-
gap: var(--spacing-xs);
|
|
4529
4541
|
cursor: pointer;
|
|
4530
4542
|
}
|
|
4531
4543
|
.Layer__Checkbox [slot=checkbox] {
|
|
@@ -4551,10 +4563,13 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
4551
4563
|
color: var(--bg-default);
|
|
4552
4564
|
background-color: var(--fg-default);
|
|
4553
4565
|
}
|
|
4566
|
+
.Layer__Checkbox[data-labeled] {
|
|
4567
|
+
gap: var(--spacing-xs);
|
|
4568
|
+
}
|
|
4554
4569
|
.Layer__UI__Heading {
|
|
4555
4570
|
all: unset;
|
|
4556
4571
|
font-weight: bold;
|
|
4557
|
-
font-size: var(--text-heading);
|
|
4572
|
+
font-size: var(--text-heading-secondary);
|
|
4558
4573
|
}
|
|
4559
4574
|
.Layer__UI__Heading[data-size=sm] {
|
|
4560
4575
|
font-size: var(--text-heading-sm);
|
|
@@ -4574,6 +4589,12 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
4574
4589
|
.Layer__UI__Heading[data-pbe=lg] {
|
|
4575
4590
|
padding-block-end: var(--spacing-lg);
|
|
4576
4591
|
}
|
|
4592
|
+
.Layer__LoadingSpinner {
|
|
4593
|
+
animation-name: Layer__rotate;
|
|
4594
|
+
animation-duration: 2s;
|
|
4595
|
+
animation-timing-function: linear;
|
|
4596
|
+
animation-iteration-count: infinite;
|
|
4597
|
+
}
|
|
4577
4598
|
.Layer__P {
|
|
4578
4599
|
margin: 0;
|
|
4579
4600
|
font-size: var(--text-md);
|
|
@@ -4633,7 +4654,7 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
4633
4654
|
}
|
|
4634
4655
|
.Layer__Modal {
|
|
4635
4656
|
inline-size: min(24rem, 90dvi);
|
|
4636
|
-
block-size: min(
|
|
4657
|
+
block-size: min(24rem, 90dvb);
|
|
4637
4658
|
}
|
|
4638
4659
|
.Layer__Modal[data-entering] {
|
|
4639
4660
|
animation-duration: 300ms;
|
|
@@ -4641,6 +4662,11 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
4641
4662
|
.Layer__Modal[data-exiting] {
|
|
4642
4663
|
animation-duration: 300ms;
|
|
4643
4664
|
}
|
|
4665
|
+
.Layer__Modal[data-size=lg] {
|
|
4666
|
+
inline-size: min(42rem, 90dvi);
|
|
4667
|
+
block-size: auto;
|
|
4668
|
+
max-block-size: 90dvb;
|
|
4669
|
+
}
|
|
4644
4670
|
.Layer__Dialog {
|
|
4645
4671
|
outline: none;
|
|
4646
4672
|
background-color: white;
|
|
@@ -4748,6 +4774,111 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
4748
4774
|
display: grid;
|
|
4749
4775
|
grid-template-columns: 1fr auto;
|
|
4750
4776
|
}
|
|
4777
|
+
.Layer__caobfb {
|
|
4778
|
+
padding-inline: var(--spacing-md);
|
|
4779
|
+
padding-block: var(--spacing-sm);
|
|
4780
|
+
position: relative;
|
|
4781
|
+
display: flex;
|
|
4782
|
+
gap: var(--spacing-sm);
|
|
4783
|
+
border-radius: var(--border-radius-xs);
|
|
4784
|
+
border: 1px solid var(--color-base-100);
|
|
4785
|
+
container-type: inline-size;
|
|
4786
|
+
transition: all 0.25s ease-in-out;
|
|
4787
|
+
transition-delay: 0.8s;
|
|
4788
|
+
max-height: 280px;
|
|
4789
|
+
}
|
|
4790
|
+
.Layer__caobfb[data-confirmed=true] {
|
|
4791
|
+
background-color: var(--color-base-50);
|
|
4792
|
+
}
|
|
4793
|
+
.Layer__caobfb__icon-col {
|
|
4794
|
+
display: flex;
|
|
4795
|
+
align-items: flex-start;
|
|
4796
|
+
justify-content: center;
|
|
4797
|
+
}
|
|
4798
|
+
.Layer__caobfb__details-col {
|
|
4799
|
+
display: flex;
|
|
4800
|
+
flex-direction: column;
|
|
4801
|
+
gap: var(--spacing-2xs);
|
|
4802
|
+
color: var(--color-base-700);
|
|
4803
|
+
flex: 1;
|
|
4804
|
+
}
|
|
4805
|
+
.Layer__caobfb__details-col__details {
|
|
4806
|
+
padding-bottom: var(--spacing-sm);
|
|
4807
|
+
}
|
|
4808
|
+
.Layer__caobfb__details-col__name {
|
|
4809
|
+
display: flex;
|
|
4810
|
+
gap: var(--spacing-3xs);
|
|
4811
|
+
width: 100%;
|
|
4812
|
+
max-width: 500px;
|
|
4813
|
+
}
|
|
4814
|
+
.Layer__caobfb__details-col__name__institution-name {
|
|
4815
|
+
color: var(--color-base-500);
|
|
4816
|
+
max-width: 50%;
|
|
4817
|
+
text-overflow: ellipsis;
|
|
4818
|
+
overflow: hidden;
|
|
4819
|
+
white-space: nowrap;
|
|
4820
|
+
}
|
|
4821
|
+
.Layer__caobfb__details-col__name__account-name {
|
|
4822
|
+
color: var(--color-base-1000);
|
|
4823
|
+
max-width: 50%;
|
|
4824
|
+
text-overflow: ellipsis;
|
|
4825
|
+
overflow: hidden;
|
|
4826
|
+
white-space: nowrap;
|
|
4827
|
+
}
|
|
4828
|
+
.Layer__caobfb__details-col__inputs {
|
|
4829
|
+
display: flex;
|
|
4830
|
+
gap: var(--spacing-sm);
|
|
4831
|
+
align-items: center;
|
|
4832
|
+
padding: var(--spacing-sm) 0;
|
|
4833
|
+
border-top: 1px solid var(--color-base-200);
|
|
4834
|
+
}
|
|
4835
|
+
.Layer__caobfb__details-col__inputs .Layer__input-group {
|
|
4836
|
+
width: 100%;
|
|
4837
|
+
}
|
|
4838
|
+
.Layer__caobfb__details-col__inputs .Layer__input-group .Layer__input {
|
|
4839
|
+
width: 100%;
|
|
4840
|
+
}
|
|
4841
|
+
.Layer__caobfb__details-col__inputs .Layer__input-group .Layer__datepicker {
|
|
4842
|
+
width: 100%;
|
|
4843
|
+
}
|
|
4844
|
+
.Layer__caobfb__details-col__inputs .Layer__input-group .react-datepicker__input-container input {
|
|
4845
|
+
width: calc(100% - 2px);
|
|
4846
|
+
max-width: unset;
|
|
4847
|
+
}
|
|
4848
|
+
@container (max-width: 440px) {
|
|
4849
|
+
.Layer__caobfb__details-col__inputs {
|
|
4850
|
+
flex-direction: column;
|
|
4851
|
+
}
|
|
4852
|
+
}
|
|
4853
|
+
.Layer__caobfb__confirm-col {
|
|
4854
|
+
display: flex;
|
|
4855
|
+
align-items: flex-start;
|
|
4856
|
+
justify-content: flex-end;
|
|
4857
|
+
}
|
|
4858
|
+
.Layer__caobfb__success-banner {
|
|
4859
|
+
position: absolute;
|
|
4860
|
+
inset: 0;
|
|
4861
|
+
opacity: 0;
|
|
4862
|
+
z-index: -1;
|
|
4863
|
+
display: flex;
|
|
4864
|
+
flex-direction: column;
|
|
4865
|
+
align-items: center;
|
|
4866
|
+
justify-content: center;
|
|
4867
|
+
padding: var(--spacing-sm);
|
|
4868
|
+
background-color: var(--color-base-50);
|
|
4869
|
+
transition: opacity 0.12s ease-in-out;
|
|
4870
|
+
color: var(--color-info-success-fg);
|
|
4871
|
+
}
|
|
4872
|
+
.Layer__caobfb[data-saved] {
|
|
4873
|
+
max-height: 0;
|
|
4874
|
+
padding: 0;
|
|
4875
|
+
border-width: 0;
|
|
4876
|
+
overflow: hidden;
|
|
4877
|
+
}
|
|
4878
|
+
.Layer__caobfb[data-saved] .Layer__caobfb__success-banner {
|
|
4879
|
+
opacity: 1;
|
|
4880
|
+
z-index: 101;
|
|
4881
|
+
}
|
|
4751
4882
|
.Layer__tasks-month-selector {
|
|
4752
4883
|
display: grid;
|
|
4753
4884
|
grid-template-columns: repeat(4, 1fr);
|
|
@@ -5732,7 +5863,11 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
5732
5863
|
content: "";
|
|
5733
5864
|
width: 50px;
|
|
5734
5865
|
height: 100%;
|
|
5735
|
-
background:
|
|
5866
|
+
background:
|
|
5867
|
+
linear-gradient(
|
|
5868
|
+
90deg,
|
|
5869
|
+
rgba(255, 255, 255, 0) 0%,
|
|
5870
|
+
rgb(255, 255, 255) 120%);
|
|
5736
5871
|
position: absolute;
|
|
5737
5872
|
left: -51px;
|
|
5738
5873
|
top: 0px;
|
|
@@ -7405,7 +7540,12 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
7405
7540
|
width: 100%;
|
|
7406
7541
|
height: 100%;
|
|
7407
7542
|
transform: translateX(-100%);
|
|
7408
|
-
background:
|
|
7543
|
+
background:
|
|
7544
|
+
linear-gradient(
|
|
7545
|
+
90deg,
|
|
7546
|
+
transparent,
|
|
7547
|
+
rgb(255, 255, 255),
|
|
7548
|
+
transparent);
|
|
7409
7549
|
animation: skeletonSweep 1.5s infinite;
|
|
7410
7550
|
}
|
|
7411
7551
|
.Layer__linked-account-thumb {
|
|
@@ -7448,6 +7588,9 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
7448
7588
|
}
|
|
7449
7589
|
.Layer__linked-account-thumb .topbar .account-institution {
|
|
7450
7590
|
color: var(--color-base-500);
|
|
7591
|
+
white-space: nowrap;
|
|
7592
|
+
overflow: hidden;
|
|
7593
|
+
text-overflow: ellipsis;
|
|
7451
7594
|
}
|
|
7452
7595
|
.Layer__linked-account-thumb .topbar .topbar-details {
|
|
7453
7596
|
display: flex;
|
|
@@ -7575,7 +7718,11 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
7575
7718
|
justify-content: flex-end;
|
|
7576
7719
|
transition: 0.15s all ease-out;
|
|
7577
7720
|
border-top-right-radius: var(--border-radius-sm);
|
|
7578
|
-
background:
|
|
7721
|
+
background:
|
|
7722
|
+
linear-gradient(
|
|
7723
|
+
270deg,
|
|
7724
|
+
#f8f8fa 1.52%,
|
|
7725
|
+
rgba(248, 248, 250, 0) 99.75%);
|
|
7579
7726
|
}
|
|
7580
7727
|
.Layer__linked-accounts__options .Layer__linked-accounts__options-overlay .Layer__linked-accounts__options-overlay-button {
|
|
7581
7728
|
display: flex;
|
|
@@ -7653,7 +7800,13 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
7653
7800
|
}
|
|
7654
7801
|
.Layer__anim--skeleton-loading {
|
|
7655
7802
|
background: var(--color-base-100);
|
|
7656
|
-
background:
|
|
7803
|
+
background:
|
|
7804
|
+
linear-gradient(
|
|
7805
|
+
110deg,
|
|
7806
|
+
var(--color-base-50) 0%,
|
|
7807
|
+
var(--color-base-0) 28%,
|
|
7808
|
+
var(--color-base-50) 50%,
|
|
7809
|
+
var(--color-base-50) 100%);
|
|
7657
7810
|
border-radius: 4px;
|
|
7658
7811
|
background-size: 200% 100%;
|
|
7659
7812
|
animation: 1.5s shine linear infinite;
|
|
@@ -8226,6 +8379,16 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
8226
8379
|
background-color: var(--color-info-error-bg);
|
|
8227
8380
|
color: var(--color-info-error-fg);
|
|
8228
8381
|
}
|
|
8382
|
+
.Layer__pill--info {
|
|
8383
|
+
background-color: var(--color-info-bg);
|
|
8384
|
+
color: var(--color-info-fg);
|
|
8385
|
+
}
|
|
8386
|
+
.Layer__pill--actionable {
|
|
8387
|
+
cursor: pointer;
|
|
8388
|
+
}
|
|
8389
|
+
.Layer__pill--actionable:hover {
|
|
8390
|
+
opacity: 0.7;
|
|
8391
|
+
}
|
|
8229
8392
|
.Layer__ProfitAndLossSummariesListItem {
|
|
8230
8393
|
all: unset;
|
|
8231
8394
|
display: grid;
|
|
@@ -8934,7 +9097,15 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
|
|
|
8934
9097
|
border-radius: 2px;
|
|
8935
9098
|
}
|
|
8936
9099
|
.Layer__profit-and-loss-detailed-charts .details-container .share-cell-content .Layer__value-icon--uncategorized {
|
|
8937
|
-
background-image:
|
|
9100
|
+
background-image:
|
|
9101
|
+
repeating-linear-gradient(
|
|
9102
|
+
-45deg,
|
|
9103
|
+
var(--color-base-200) 0px,
|
|
9104
|
+
var(--color-base-200) 2px,
|
|
9105
|
+
var(--color-base-500) 2px,
|
|
9106
|
+
var(--color-base-500) 3.5px,
|
|
9107
|
+
var(--color-base-200) 3.5px,
|
|
9108
|
+
var(--color-base-200) 4px);
|
|
8938
9109
|
}
|
|
8939
9110
|
.Layer__profit-and-loss .Layer__panel__sidebar .Layer__panel__sidebar-content {
|
|
8940
9111
|
width: 100%;
|