@layerfi/components 0.1.56 → 0.1.58
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 +1790 -1845
- package/dist/esm/index.js.map +4 -4
- package/dist/index.d.ts +97 -78
- package/dist/index.js +932 -987
- package/dist/index.js.map +4 -4
- package/dist/styles/index.css +26 -98
- package/dist/styles/index.css.map +2 -2
- package/package.json +1 -1
package/dist/styles/index.css
CHANGED
|
@@ -2366,6 +2366,19 @@
|
|
|
2366
2366
|
border-top: 1px solid var(--color-base-200);
|
|
2367
2367
|
border-bottom: 1px solid var(--color-base-200);
|
|
2368
2368
|
}
|
|
2369
|
+
.Layer__table .Layer__table-row--selected .Layer__table-cell:first-child {
|
|
2370
|
+
position: relative;
|
|
2371
|
+
}
|
|
2372
|
+
.Layer__table .Layer__table-row--selected .Layer__table-cell:first-child::after {
|
|
2373
|
+
content: "";
|
|
2374
|
+
display: block;
|
|
2375
|
+
position: absolute;
|
|
2376
|
+
height: 100%;
|
|
2377
|
+
top: 0;
|
|
2378
|
+
left: 0;
|
|
2379
|
+
width: 4px;
|
|
2380
|
+
background: var(--color-base-400);
|
|
2381
|
+
}
|
|
2369
2382
|
.Layer__table .Layer__table-row {
|
|
2370
2383
|
position: relative;
|
|
2371
2384
|
height: var(--spacing-5xl);
|
|
@@ -2849,6 +2862,8 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
2849
2862
|
.Layer__label {
|
|
2850
2863
|
color: var(--color-base-500);
|
|
2851
2864
|
font-variation-settings: "wght" var(--font-weight-normal);
|
|
2865
|
+
white-space: nowrap;
|
|
2866
|
+
overflow: hidden;
|
|
2852
2867
|
}
|
|
2853
2868
|
.Layer__flex-1 {
|
|
2854
2869
|
flex: 1;
|
|
@@ -4686,66 +4701,13 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
4686
4701
|
.Layer__chart-of-accounts__loader-container {
|
|
4687
4702
|
padding: var(--spacing-2xl);
|
|
4688
4703
|
}
|
|
4689
|
-
.
|
|
4690
|
-
width: 100%;
|
|
4691
|
-
border-collapse: collapse;
|
|
4692
|
-
}
|
|
4693
|
-
.Layer__chart-of-accounts__actions {
|
|
4694
|
-
display: flex;
|
|
4695
|
-
align-items: center;
|
|
4696
|
-
gap: var(--spacing-sm);
|
|
4697
|
-
}
|
|
4698
|
-
.Layer__table-cell.Layer__coa__name,
|
|
4699
|
-
.Layer__table-cell.Layer__coa__balance {
|
|
4700
|
-
color: var(--color-base-800);
|
|
4701
|
-
}
|
|
4702
|
-
.Layer__table-header.Layer__coa__name {
|
|
4703
|
-
padding-left: var(--spacing-xl);
|
|
4704
|
-
}
|
|
4705
|
-
.Layer__table-cell.Layer__coa__name {
|
|
4706
|
-
width: calc(100% - 192px - 50%);
|
|
4707
|
-
}
|
|
4708
|
-
.Layer__table-cell.Layer__coa__type,
|
|
4709
|
-
.Layer__table-cell.Layer__coa__subtype {
|
|
4710
|
-
width: calc(100% - 192px - 75%);
|
|
4711
|
-
}
|
|
4712
|
-
.Layer__table-cell.Layer__coa__balance {
|
|
4713
|
-
font-variation-settings: "wght" var(--font-weight-bold);
|
|
4714
|
-
}
|
|
4715
|
-
.Layer__chart-of-accounts__table .Layer__table-row--depth-0 .Layer__table-cell.Layer__coa__name {
|
|
4716
|
-
font-variation-settings: "wght" var(--font-weight-bold);
|
|
4717
|
-
}
|
|
4718
|
-
.Layer__coa__balance {
|
|
4719
|
-
text-align: right;
|
|
4720
|
-
justify-content: flex-end;
|
|
4721
|
-
}
|
|
4722
|
-
.Layer__table-cell.Layer__coa__actions {
|
|
4723
|
-
width: 160px;
|
|
4724
|
-
}
|
|
4725
|
-
.Layer__table-cell.Layer__coa__actions .Layer__table-cell-content {
|
|
4726
|
-
display: flex;
|
|
4727
|
-
justify-content: flex-end;
|
|
4728
|
-
align-items: center;
|
|
4729
|
-
padding-top: var(--spacing-3xs);
|
|
4730
|
-
padding-bottom: var(--spacing-3xs);
|
|
4731
|
-
padding-right: var(--spacing-xl);
|
|
4732
|
-
gap: var(--spacing-xs);
|
|
4733
|
-
}
|
|
4734
|
-
.Layer__table-cell.Layer__coa__actions .Layer__table-cell-content > .Layer__btn {
|
|
4704
|
+
.Layer__coa__actions .Layer__btn {
|
|
4735
4705
|
opacity: 0;
|
|
4736
4706
|
visibility: hidden;
|
|
4737
4707
|
transition: all 300ms ease-out;
|
|
4738
4708
|
transform: scale(0.92);
|
|
4739
4709
|
}
|
|
4740
|
-
.Layer__table-
|
|
4741
|
-
width: 32px;
|
|
4742
|
-
height: 32px;
|
|
4743
|
-
min-height: 32px;
|
|
4744
|
-
max-height: 32px;
|
|
4745
|
-
padding: 0;
|
|
4746
|
-
box-sizing: border-box;
|
|
4747
|
-
}
|
|
4748
|
-
.Layer__chart-of-accounts__table .Layer__table-row:hover .Layer__coa__actions .Layer__btn {
|
|
4710
|
+
.Layer__table-row:hover .Layer__coa__actions .Layer__btn {
|
|
4749
4711
|
opacity: 1;
|
|
4750
4712
|
visibility: visible;
|
|
4751
4713
|
transform: scale(1);
|
|
@@ -4774,27 +4736,6 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
4774
4736
|
justify-content: flex-end;
|
|
4775
4737
|
padding-top: var(--spacing-xl);
|
|
4776
4738
|
}
|
|
4777
|
-
.Layer__chart-of-accounts__table .Layer__table-row:not(.Layer__table-row--header) {
|
|
4778
|
-
cursor: pointer;
|
|
4779
|
-
}
|
|
4780
|
-
.Layer__chart-of-accounts__table .Layer__table-row:not(.Layer__table-row--header):hover {
|
|
4781
|
-
background-color: var(--color-base-50);
|
|
4782
|
-
}
|
|
4783
|
-
.Layer__table__expand-icon {
|
|
4784
|
-
transition: transform 150ms ease-out;
|
|
4785
|
-
color: var(--color-base-600);
|
|
4786
|
-
margin-left: -15px;
|
|
4787
|
-
padding: var(--spacing-sm);
|
|
4788
|
-
}
|
|
4789
|
-
.Layer__chart-of-accounts__table .Layer__table-row:not(.Layer__table-row--depth-0):not(.Layer__table-row--header) {
|
|
4790
|
-
background-color: var(--color-base-50);
|
|
4791
|
-
}
|
|
4792
|
-
.Layer__chart-of-accounts__table .Layer__table-row:not(.Layer__table-row--depth-0):not(.Layer__table-row--header):hover {
|
|
4793
|
-
background-color: var(--color-base-100);
|
|
4794
|
-
}
|
|
4795
|
-
.Layer__chart-of-accounts__table .Layer__table-row--collapsed .Layer__table__expand-icon {
|
|
4796
|
-
transform: rotate(-90deg);
|
|
4797
|
-
}
|
|
4798
4739
|
.Layer__chart-of-accounts__form {
|
|
4799
4740
|
display: flex;
|
|
4800
4741
|
flex-direction: column;
|
|
@@ -4889,9 +4830,6 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
4889
4830
|
color: var(--color-base-800);
|
|
4890
4831
|
}
|
|
4891
4832
|
@container (max-width: 1024px) {
|
|
4892
|
-
.Layer__table-cell.Layer__coa__actions .Layer__table-cell-content {
|
|
4893
|
-
padding-right: var(--spacing-md);
|
|
4894
|
-
}
|
|
4895
4833
|
.Layer__chart-of-accounts__sidebar__header .actions {
|
|
4896
4834
|
display: none;
|
|
4897
4835
|
}
|
|
@@ -4903,27 +4841,10 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
4903
4841
|
.Layer__chart-of-accounts .Layer__mobile--hidden {
|
|
4904
4842
|
display: none;
|
|
4905
4843
|
}
|
|
4906
|
-
.Layer__chart-of-accounts .Layer__desktop--hidden.Layer__table-header {
|
|
4907
|
-
display: table-cell;
|
|
4908
|
-
}
|
|
4909
|
-
.Layer__chart-of-accounts .Layer__desktop--hidden.Layer__table-cell-content {
|
|
4910
|
-
display: flex;
|
|
4911
|
-
}
|
|
4912
|
-
.Layer__chart-of-accounts .Layer__coa__type .Layer__table-cell-content {
|
|
4913
|
-
display: flex;
|
|
4914
|
-
flex-direction: column;
|
|
4915
|
-
align-items: flex-start;
|
|
4916
|
-
}
|
|
4917
|
-
.Layer__chart-of-accounts .Layer__coa__type .Layer__table-cell-content.Layer__mobile--hidden {
|
|
4918
|
-
display: none;
|
|
4919
|
-
}
|
|
4920
|
-
.Layer__chart-of-accounts .Layer__table-cell.Layer__coa__actions {
|
|
4921
|
-
width: 64px;
|
|
4922
|
-
}
|
|
4923
4844
|
}
|
|
4924
4845
|
@container (max-width: 760px) {
|
|
4925
|
-
.
|
|
4926
|
-
|
|
4846
|
+
.Layer__chart-of-accounts {
|
|
4847
|
+
overflow: auto;
|
|
4927
4848
|
}
|
|
4928
4849
|
.Layer__chart-of-accounts__row---mobile {
|
|
4929
4850
|
visibility: visible;
|
|
@@ -4951,6 +4872,9 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
4951
4872
|
position: relative;
|
|
4952
4873
|
overflow: auto;
|
|
4953
4874
|
}
|
|
4875
|
+
.Layer__component-container.Layer__journal .Layer__table-state-container {
|
|
4876
|
+
height: calc(100% - 160px);
|
|
4877
|
+
}
|
|
4954
4878
|
@container (min-width: 1025px) {
|
|
4955
4879
|
.Layer__component-container.Layer__journal {
|
|
4956
4880
|
overflow: unset;
|
|
@@ -7270,6 +7194,10 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
|
|
|
7270
7194
|
display: none;
|
|
7271
7195
|
}
|
|
7272
7196
|
}
|
|
7197
|
+
.Layer__accounting-overview-profit-and-loss-chart {
|
|
7198
|
+
width: 100%;
|
|
7199
|
+
box-sizing: border-box;
|
|
7200
|
+
}
|
|
7273
7201
|
@container (max-width: 460px) {
|
|
7274
7202
|
.Layer__component.Layer__accounting-overview-profit-and-loss .recharts-responsive-container {
|
|
7275
7203
|
margin-top: -12px;
|