@layerfi/components 0.1.17 → 0.1.19
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/LICENSE +21 -0
- package/README.md +15 -5
- package/dist/esm/index.js +571 -520
- package/dist/esm/index.js.map +4 -4
- package/dist/index.d.ts +14 -0
- package/dist/index.js +701 -649
- package/dist/index.js.map +4 -4
- package/dist/styles/index.css +76 -14
- package/dist/styles/index.css.map +2 -2
- package/package.json +2 -2
- package/image.png +0 -0
package/dist/styles/index.css
CHANGED
|
@@ -737,6 +737,7 @@
|
|
|
737
737
|
background: #999;
|
|
738
738
|
}
|
|
739
739
|
.Layer__component.Layer__component--elevated {
|
|
740
|
+
border-width: 0;
|
|
740
741
|
box-shadow:
|
|
741
742
|
0px 4px 12px 0px var(--base-transparent-8),
|
|
742
743
|
0px 2px 4px 0px var(--base-transparent-6),
|
|
@@ -1139,6 +1140,10 @@
|
|
|
1139
1140
|
"cv05" on,
|
|
1140
1141
|
"cv08" on,
|
|
1141
1142
|
"ss03" on;
|
|
1143
|
+
white-space: nowrap;
|
|
1144
|
+
text-overflow: ellipsis;
|
|
1145
|
+
max-width: 100%;
|
|
1146
|
+
overflow: hidden;
|
|
1142
1147
|
}
|
|
1143
1148
|
.Layer__select .Layer__select__option-label {
|
|
1144
1149
|
display: flex;
|
|
@@ -1317,6 +1322,17 @@
|
|
|
1317
1322
|
right: 8px;
|
|
1318
1323
|
z-index: 1;
|
|
1319
1324
|
}
|
|
1325
|
+
@media screen and (-webkit-min-device-pixel-ratio: 2) {
|
|
1326
|
+
.Layer__component .Layer__textarea,
|
|
1327
|
+
.Layer__component .Layer__select__control,
|
|
1328
|
+
.Layer__component .Layer__input {
|
|
1329
|
+
font-size: 16px;
|
|
1330
|
+
min-height: 39px;
|
|
1331
|
+
}
|
|
1332
|
+
.Layer__component .Layer__bank-transaction-list-item__expanded-row .Layer__select .Layer__select__control {
|
|
1333
|
+
min-height: 39px;
|
|
1334
|
+
}
|
|
1335
|
+
}
|
|
1320
1336
|
.Layer__onboarding {
|
|
1321
1337
|
transition:
|
|
1322
1338
|
max-height 500ms ease-out,
|
|
@@ -1659,11 +1675,13 @@
|
|
|
1659
1675
|
display: flex;
|
|
1660
1676
|
flex-direction: column;
|
|
1661
1677
|
gap: var(--spacing-md);
|
|
1678
|
+
container-type: inline-size;
|
|
1662
1679
|
}
|
|
1663
1680
|
.Layer__view-header {
|
|
1664
1681
|
display: flex;
|
|
1665
1682
|
width: 100%;
|
|
1666
1683
|
border-bottom: 1px solid var(--color-base-200);
|
|
1684
|
+
container-type: inline-size;
|
|
1667
1685
|
}
|
|
1668
1686
|
.Layer__view-header__content {
|
|
1669
1687
|
padding: var(--spacing-lg);
|
|
@@ -1677,6 +1695,16 @@
|
|
|
1677
1695
|
display: flex;
|
|
1678
1696
|
align-items: center;
|
|
1679
1697
|
}
|
|
1698
|
+
@container (max-width: 760px) {
|
|
1699
|
+
.Layer__view-header__content {
|
|
1700
|
+
flex-direction: column;
|
|
1701
|
+
align-items: flex-start;
|
|
1702
|
+
gap: var(--spacing-sm);
|
|
1703
|
+
}
|
|
1704
|
+
.Layer__view-header__content .Layer__heading {
|
|
1705
|
+
align-self: flex-start;
|
|
1706
|
+
}
|
|
1707
|
+
}
|
|
1680
1708
|
.Layer__ledger-account__index {
|
|
1681
1709
|
background-color: var(--color-base-0);
|
|
1682
1710
|
width: 100%;
|
|
@@ -2241,6 +2269,7 @@
|
|
|
2241
2269
|
display: flex;
|
|
2242
2270
|
gap: var(--spacing-sm);
|
|
2243
2271
|
flex: 1;
|
|
2272
|
+
align-items: center;
|
|
2244
2273
|
}
|
|
2245
2274
|
.Layer__expanded-bank-transaction-row__table-cell--split-entry__merge-btn {
|
|
2246
2275
|
width: 36px;
|
|
@@ -3188,8 +3217,8 @@
|
|
|
3188
3217
|
.Layer__table__expand-icon {
|
|
3189
3218
|
transition: transform 150ms ease-out;
|
|
3190
3219
|
color: var(--color-base-600);
|
|
3191
|
-
margin-left: -
|
|
3192
|
-
|
|
3220
|
+
margin-left: -15px;
|
|
3221
|
+
padding: var(--spacing-sm);
|
|
3193
3222
|
}
|
|
3194
3223
|
.Layer__chart-of-accounts__table .Layer__table-row:not(.Layer__table-row--depth-0):not(.Layer__table-row--header) {
|
|
3195
3224
|
background-color: var(--color-base-50);
|
|
@@ -3461,15 +3490,6 @@
|
|
|
3461
3490
|
.Layer__row--expanded .Layer__table-cell {
|
|
3462
3491
|
background-color: var(--bg-element-focus);
|
|
3463
3492
|
}
|
|
3464
|
-
.Layer__table__expand-icon {
|
|
3465
|
-
transition: transform 150ms ease-out;
|
|
3466
|
-
color: var(--color-base-600);
|
|
3467
|
-
margin-left: -3px;
|
|
3468
|
-
margin-right: var(--spacing-sm);
|
|
3469
|
-
}
|
|
3470
|
-
.Layer__journal__table .Layer__table-row--collapsed .Layer__table__expand-icon {
|
|
3471
|
-
transform: rotate(-90deg);
|
|
3472
|
-
}
|
|
3473
3493
|
.Layer__journal__form {
|
|
3474
3494
|
display: flex;
|
|
3475
3495
|
flex-direction: column;
|
|
@@ -4589,16 +4609,25 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
|
|
|
4589
4609
|
display: none;
|
|
4590
4610
|
}
|
|
4591
4611
|
.Layer__profit-and-loss-detailed-charts {
|
|
4592
|
-
width:
|
|
4612
|
+
width: 100%;
|
|
4593
4613
|
background: var(--color-base-0);
|
|
4594
4614
|
}
|
|
4615
|
+
.Layer__profit-and-loss-detailed-charts .chart-field {
|
|
4616
|
+
width: 100%;
|
|
4617
|
+
}
|
|
4595
4618
|
.Layer__profit-and-loss-detailed-charts .chart-container {
|
|
4596
|
-
width:
|
|
4619
|
+
width: 100%;
|
|
4597
4620
|
height: 280px;
|
|
4598
4621
|
padding-top: var(--spacing-2xl);
|
|
4599
4622
|
padding-bottom: var(--spacing-lg);
|
|
4600
4623
|
padding-left: var(--spacing-md);
|
|
4601
4624
|
padding-right: var(--spacing-md);
|
|
4625
|
+
box-sizing: border-box;
|
|
4626
|
+
}
|
|
4627
|
+
@container (max-width: 280px) {
|
|
4628
|
+
.Layer__profit-and-loss-detailed-charts .chart-container {
|
|
4629
|
+
width: 100%;
|
|
4630
|
+
}
|
|
4602
4631
|
}
|
|
4603
4632
|
.Layer__profit-and-loss-detailed-charts .recharts-responsive-container {
|
|
4604
4633
|
box-shadow: none;
|
|
@@ -4786,6 +4815,9 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
|
|
|
4786
4815
|
flex-direction: row;
|
|
4787
4816
|
justify-content: space-between;
|
|
4788
4817
|
}
|
|
4818
|
+
.Layer__profit-and-loss-detailed-charts .Layer__profit-and-loss-detailed-charts__content .chart-field {
|
|
4819
|
+
max-width: 300px;
|
|
4820
|
+
}
|
|
4789
4821
|
.Layer__profit-and-loss-detailed-charts .Layer__profit-and-loss-detailed-charts__content .chart-container {
|
|
4790
4822
|
max-width: 300px;
|
|
4791
4823
|
}
|
|
@@ -4898,8 +4930,9 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
|
|
|
4898
4930
|
.Layer__accounting-overview__summaries-row {
|
|
4899
4931
|
display: flex;
|
|
4900
4932
|
align-items: center;
|
|
4901
|
-
|
|
4933
|
+
gap: var(--spacing-md);
|
|
4902
4934
|
max-width: 1406px;
|
|
4935
|
+
width: 100%;
|
|
4903
4936
|
}
|
|
4904
4937
|
.Layer__accounting-overview__summaries-row .Layer__notification-card {
|
|
4905
4938
|
width: calc(25% - 12px);
|
|
@@ -4908,4 +4941,33 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
|
|
|
4908
4941
|
.Layer__component.Layer__accounting-overview-profit-and-loss .recharts-responsive-container {
|
|
4909
4942
|
margin-top: -42px;
|
|
4910
4943
|
}
|
|
4944
|
+
.accounting-overview-profit-and-loss-charts > .Layer__toggle {
|
|
4945
|
+
display: none;
|
|
4946
|
+
}
|
|
4947
|
+
@container (max-width: 1023px) {
|
|
4948
|
+
.Layer__accounting-overview-profit-and-loss .recharts-legend-wrapper {
|
|
4949
|
+
margin-top: -40px;
|
|
4950
|
+
}
|
|
4951
|
+
}
|
|
4952
|
+
@container (max-width: 796px) {
|
|
4953
|
+
.Layer__accounting-overview__summaries-row {
|
|
4954
|
+
flex-direction: column;
|
|
4955
|
+
}
|
|
4956
|
+
.Layer__accounting-overview__summaries-row .Layer__profit-and-loss-summaries {
|
|
4957
|
+
width: 100%;
|
|
4958
|
+
flex-direction: column;
|
|
4959
|
+
}
|
|
4960
|
+
.Layer__accounting-overview__summaries-row .Layer__notification-card.Layer__txs-to-review {
|
|
4961
|
+
width: 100%;
|
|
4962
|
+
}
|
|
4963
|
+
.accounting-overview-profit-and-loss-charts {
|
|
4964
|
+
flex-direction: column;
|
|
4965
|
+
}
|
|
4966
|
+
.accounting-overview-profit-and-loss-charts > .Layer__toggle {
|
|
4967
|
+
display: flex;
|
|
4968
|
+
}
|
|
4969
|
+
.Layer__component.Layer__accounting-overview-profit-and-loss-chart.accounting-overview-profit-and-loss-chart--hidden {
|
|
4970
|
+
display: none;
|
|
4971
|
+
}
|
|
4972
|
+
}
|
|
4911
4973
|
/*# sourceMappingURL=index.css.map */
|