@layerfi/components 0.1.30 → 0.1.31
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/.idea/codeStyles/Project.xml +61 -0
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/layer-react.iml +9 -0
- package/.idea/misc.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/README.md +21 -116
- package/dist/esm/index.js +6827 -6893
- package/dist/esm/index.js.map +4 -4
- package/dist/index.d.ts +56 -163
- package/dist/index.js +9497 -9562
- package/dist/index.js.map +4 -4
- package/dist/styles/index.css +173 -146
- package/dist/styles/index.css.map +3 -3
- package/package.json +1 -1
package/dist/styles/index.css
CHANGED
|
@@ -1826,12 +1826,6 @@
|
|
|
1826
1826
|
transform: scaleX(0.98);
|
|
1827
1827
|
opacity: 0;
|
|
1828
1828
|
}
|
|
1829
|
-
.Layer__table__empty-row {
|
|
1830
|
-
background: var(--color-base-100);
|
|
1831
|
-
height: var(--spacing-2xs);
|
|
1832
|
-
border-top: 1px solid var(--color-base-200);
|
|
1833
|
-
border-bottom: 1px solid var(--color-base-200);
|
|
1834
|
-
}
|
|
1835
1829
|
.Layer__tabs {
|
|
1836
1830
|
display: flex;
|
|
1837
1831
|
width: max-content;
|
|
@@ -2105,41 +2099,6 @@
|
|
|
2105
2099
|
align-self: flex-start;
|
|
2106
2100
|
}
|
|
2107
2101
|
}
|
|
2108
|
-
.Layer__panel_view-main {
|
|
2109
|
-
display: flex;
|
|
2110
|
-
flex-direction: column;
|
|
2111
|
-
gap: var(--spacing-md);
|
|
2112
|
-
container-type: inline-size;
|
|
2113
|
-
}
|
|
2114
|
-
.Layer__panel_view-header {
|
|
2115
|
-
display: flex;
|
|
2116
|
-
width: 100%;
|
|
2117
|
-
border-bottom: 1px solid var(--color-base-200);
|
|
2118
|
-
container-type: inline-size;
|
|
2119
|
-
}
|
|
2120
|
-
.Layer__panel_view-header__content {
|
|
2121
|
-
padding: var(--spacing-lg);
|
|
2122
|
-
display: flex;
|
|
2123
|
-
align-items: center;
|
|
2124
|
-
justify-content: space-between;
|
|
2125
|
-
width: 100%;
|
|
2126
|
-
max-width: 1406px;
|
|
2127
|
-
}
|
|
2128
|
-
.Layer__panel_view-header__controls {
|
|
2129
|
-
display: flex;
|
|
2130
|
-
align-items: center;
|
|
2131
|
-
gap: var(--spacing-sm);
|
|
2132
|
-
}
|
|
2133
|
-
@container (max-width: 760px) {
|
|
2134
|
-
.Layer__panel_view-header__content {
|
|
2135
|
-
flex-direction: column;
|
|
2136
|
-
align-items: flex-start;
|
|
2137
|
-
gap: var(--spacing-sm);
|
|
2138
|
-
}
|
|
2139
|
-
.Layer__panel_view-header__content .Layer__heading {
|
|
2140
|
-
align-self: flex-start;
|
|
2141
|
-
}
|
|
2142
|
-
}
|
|
2143
2102
|
.Layer__ledger-account__index {
|
|
2144
2103
|
background-color: var(--color-base-0);
|
|
2145
2104
|
width: 100%;
|
|
@@ -2304,153 +2263,221 @@
|
|
|
2304
2263
|
background-color: var(--background-color);
|
|
2305
2264
|
}
|
|
2306
2265
|
.Layer__balance-sheet * {
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
"cv08" on,
|
|
2313
|
-
"ss03" on;
|
|
2266
|
+
color: var(--text-color);
|
|
2267
|
+
stroke: var(--text-color);
|
|
2268
|
+
font-family: Inter;
|
|
2269
|
+
font-weight: 500;
|
|
2270
|
+
font-style: normal;
|
|
2314
2271
|
}
|
|
2315
|
-
.Layer__balance-
|
|
2316
|
-
display:
|
|
2272
|
+
.Layer__balance-sheet__table {
|
|
2273
|
+
display: grid;
|
|
2274
|
+
grid-template-columns: 1fr auto;
|
|
2275
|
+
gap: 1px 0;
|
|
2276
|
+
font-size: 1rem;
|
|
2317
2277
|
}
|
|
2318
|
-
.Layer__balance-
|
|
2319
|
-
display:
|
|
2278
|
+
.Layer__balance-sheet__header {
|
|
2279
|
+
display: flex;
|
|
2320
2280
|
flex: 1;
|
|
2321
|
-
|
|
2322
|
-
|
|
2281
|
+
flex-direction: row;
|
|
2282
|
+
padding: 0 1rem;
|
|
2323
2283
|
}
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2284
|
+
.Layer__balance-sheet__title {
|
|
2285
|
+
display: inline;
|
|
2286
|
+
flex: 1;
|
|
2287
|
+
font-size: 1.5rem;
|
|
2288
|
+
font-weight: 600;
|
|
2289
|
+
margin-bottom: 1.5rem;
|
|
2290
|
+
margin-left: 1.5rem;
|
|
2291
|
+
margin-right: 1.5rem;
|
|
2329
2292
|
}
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
flex-direction: row;
|
|
2333
|
-
gap: var(--spacing-sm);
|
|
2334
|
-
flex-wrap: wrap;
|
|
2335
|
-
}
|
|
2336
|
-
.Layer__balance-sheet .Layer__balance-sheet__header .Layer__balance-sheet__actions {
|
|
2337
|
-
flex-wrap: wrap;
|
|
2338
|
-
}
|
|
2339
|
-
.Layer__balance-sheet .Layer__balance-sheet__header .Layer__balance-sheet__actions__date-picker {
|
|
2340
|
-
flex-wrap: wrap;
|
|
2341
|
-
gap: var(--spacing-xs);
|
|
2342
|
-
}
|
|
2293
|
+
.Layer__balance-sheet__date {
|
|
2294
|
+
font-size: 0.75em;
|
|
2343
2295
|
}
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
.Layer__balance-sheet .Layer__table tr td:last-child .Layer__table-cell-content,
|
|
2347
|
-
.Layer__balance-sheet .Layer__table tr th:first-child.Layer__table-header,
|
|
2348
|
-
.Layer__balance-sheet .Layer__table tr th:last-child.Layer__table-header {
|
|
2349
|
-
padding-left: 0;
|
|
2350
|
-
}
|
|
2296
|
+
.Layer__balance-sheet__date::before {
|
|
2297
|
+
content: " - as of ";
|
|
2351
2298
|
}
|
|
2352
|
-
.Layer__balance-
|
|
2299
|
+
.Layer__balance-sheet__download-button {
|
|
2300
|
+
align-self: center;
|
|
2301
|
+
border: 2px solid var(--border-color);
|
|
2302
|
+
background-color: var(--background-color);
|
|
2303
|
+
padding: 0.5rem;
|
|
2304
|
+
border-radius: var(--corner-radius);
|
|
2305
|
+
margin-left: 0.5rem;
|
|
2353
2306
|
display: flex;
|
|
2354
|
-
flex: 1;
|
|
2355
2307
|
flex-direction: row;
|
|
2356
|
-
|
|
2308
|
+
justify-content: center;
|
|
2309
|
+
align-items: center;
|
|
2357
2310
|
}
|
|
2358
|
-
.Layer__balance-
|
|
2359
|
-
|
|
2311
|
+
.Layer__balance-sheet__download-button:active {
|
|
2312
|
+
background-color: var(--active);
|
|
2313
|
+
}
|
|
2314
|
+
.Layer__balance-sheet__download-button svg {
|
|
2315
|
+
margin-right: 0.5rem;
|
|
2360
2316
|
}
|
|
2361
|
-
.Layer__balance-
|
|
2317
|
+
.Layer__balance-sheet-date-picker {
|
|
2318
|
+
align-items: center;
|
|
2319
|
+
justify-content: center;
|
|
2362
2320
|
display: flex;
|
|
2363
|
-
flex-direction: row;
|
|
2364
|
-
justify-content: space-between;
|
|
2365
|
-
gap: var(--spacing-xs);
|
|
2366
2321
|
}
|
|
2367
|
-
.Layer__balance-
|
|
2322
|
+
.Layer__balance-sheet-date-picker button {
|
|
2323
|
+
position: relative;
|
|
2324
|
+
border: 2px solid var(--border-color);
|
|
2325
|
+
background-color: var(--background-color);
|
|
2326
|
+
padding: 0.5rem;
|
|
2327
|
+
border-radius: var(--corner-radius);
|
|
2368
2328
|
display: flex;
|
|
2369
2329
|
flex-direction: row;
|
|
2370
|
-
|
|
2330
|
+
justify-content: center;
|
|
2331
|
+
align-items: center;
|
|
2371
2332
|
}
|
|
2372
|
-
.Layer__balance-
|
|
2373
|
-
|
|
2374
|
-
|
|
2333
|
+
.Layer__balance-sheet-date-picker button:active {
|
|
2334
|
+
background-color: var(--active);
|
|
2335
|
+
}
|
|
2336
|
+
.Layer__balance-sheet-date-picker button svg {
|
|
2337
|
+
margin-right: 0.5rem;
|
|
2338
|
+
}
|
|
2339
|
+
.Layer__balance-sheet-date-picker button input {
|
|
2340
|
+
position: absolute;
|
|
2341
|
+
z-index: -1;
|
|
2342
|
+
bottom: 0;
|
|
2343
|
+
left: 0;
|
|
2344
|
+
width: 1px;
|
|
2345
|
+
height: 100%;
|
|
2346
|
+
opacity: 0;
|
|
2375
2347
|
}
|
|
2376
|
-
.Layer__balance-
|
|
2348
|
+
.Layer__balance-sheet-row {
|
|
2349
|
+
padding: 1em;
|
|
2350
|
+
background-color: var(--background-color);
|
|
2377
2351
|
font-size: 1em;
|
|
2378
|
-
height: 52px;
|
|
2379
2352
|
}
|
|
2380
|
-
.Layer__balance-
|
|
2353
|
+
.Layer__balance-sheet-row * {
|
|
2354
|
+
min-height: 0;
|
|
2355
|
+
}
|
|
2356
|
+
.Layer__balance-sheet-row__children {
|
|
2357
|
+
display: grid;
|
|
2358
|
+
grid-column: span 2;
|
|
2359
|
+
grid-template-columns: subgrid;
|
|
2360
|
+
grid-template-rows: 0fr;
|
|
2361
|
+
overflow: hidden;
|
|
2362
|
+
transition: grid-template-rows var(--transition-speed);
|
|
2363
|
+
}
|
|
2364
|
+
.Layer__balance-sheet-row__children--expanded {
|
|
2365
|
+
grid-template-rows: 1fr;
|
|
2366
|
+
}
|
|
2367
|
+
.Layer__balance-sheet-row__children--content {
|
|
2368
|
+
min-height: 0;
|
|
2369
|
+
display: grid;
|
|
2370
|
+
grid-column: span 2;
|
|
2371
|
+
grid-template-columns: subgrid;
|
|
2372
|
+
}
|
|
2373
|
+
.Layer__balance-sheet-row__label {
|
|
2374
|
+
display: flex;
|
|
2375
|
+
justify-content: flex-start;
|
|
2376
|
+
align-items: center;
|
|
2377
|
+
}
|
|
2378
|
+
.Layer__balance-sheet-row__label svg {
|
|
2379
|
+
stroke: var(--text-color);
|
|
2380
|
+
width: 1.25rem;
|
|
2381
|
+
height: 1.25rem;
|
|
2382
|
+
margin-right: 0.25rem;
|
|
2383
|
+
transition: transform var(--transition-speed);
|
|
2384
|
+
transform: rotate(-90deg);
|
|
2385
|
+
}
|
|
2386
|
+
.Layer__balance-sheet-row__label--expanded svg {
|
|
2387
|
+
transform: rotate(0deg);
|
|
2388
|
+
}
|
|
2389
|
+
.Layer__balance-sheet-row__value {
|
|
2390
|
+
display: flex;
|
|
2381
2391
|
justify-content: flex-end;
|
|
2392
|
+
align-items: center;
|
|
2382
2393
|
}
|
|
2383
|
-
.Layer__balance-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2394
|
+
.Layer__balance-sheet-row__value svg {
|
|
2395
|
+
stroke: var(--text-color);
|
|
2396
|
+
width: 1.25rem;
|
|
2397
|
+
height: 1.25rem;
|
|
2398
|
+
margin-right: 0.25rem;
|
|
2387
2399
|
}
|
|
2388
|
-
.Layer__balance-
|
|
2389
|
-
|
|
2400
|
+
.Layer__balance-sheet-row__value--amount-positive::before {
|
|
2401
|
+
content: "$";
|
|
2390
2402
|
}
|
|
2391
|
-
.Layer__balance-
|
|
2392
|
-
|
|
2403
|
+
.Layer__balance-sheet-row__value--amount-negative::before {
|
|
2404
|
+
content: "-$";
|
|
2393
2405
|
}
|
|
2394
|
-
.Layer__balance-
|
|
2395
|
-
font-
|
|
2396
|
-
font-variation-settings: "wght" var(--font-weight-bold);
|
|
2397
|
-
color: var(--color-base-700);
|
|
2406
|
+
.Layer__balance-sheet-row__label--depth-0 {
|
|
2407
|
+
font-weight: 700;
|
|
2398
2408
|
}
|
|
2399
|
-
.Layer__balance-
|
|
2400
|
-
|
|
2409
|
+
.Layer__balance-sheet-row__value--depth-0 {
|
|
2410
|
+
font-weight: 700;
|
|
2401
2411
|
}
|
|
2402
|
-
.Layer__balance-
|
|
2403
|
-
padding-
|
|
2412
|
+
.Layer__balance-sheet-row__label--depth-1 {
|
|
2413
|
+
padding-right: 2em;
|
|
2414
|
+
padding-left: 2em;
|
|
2415
|
+
font-size: 0.8em;
|
|
2404
2416
|
}
|
|
2405
|
-
.Layer__balance-
|
|
2406
|
-
font-size:
|
|
2407
|
-
|
|
2408
|
-
|
|
2417
|
+
.Layer__balance-sheet-row__value--depth-1 {
|
|
2418
|
+
font-size: 0.8em;
|
|
2419
|
+
}
|
|
2420
|
+
.Layer__balance-sheet-row__label--depth-2 {
|
|
2421
|
+
padding-right: 2em;
|
|
2422
|
+
padding-left: 4em;
|
|
2423
|
+
font-size: 0.8em;
|
|
2424
|
+
}
|
|
2425
|
+
.Layer__balance-sheet-row__value--depth-2 {
|
|
2426
|
+
font-size: 0.8em;
|
|
2409
2427
|
}
|
|
2410
|
-
.Layer__balance-
|
|
2428
|
+
.Layer__balance-sheet-row__label--display-children-true {
|
|
2429
|
+
font-weight: bold;
|
|
2430
|
+
}
|
|
2431
|
+
.Layer__balance-sheet-row__value--display-children-true {
|
|
2411
2432
|
font-weight: bold;
|
|
2412
|
-
cursor: pointer;
|
|
2413
2433
|
}
|
|
2414
|
-
.Layer__balance-
|
|
2434
|
+
.Layer__balance-sheet-row__label--display-children-false {
|
|
2415
2435
|
font-weight: normal;
|
|
2416
2436
|
}
|
|
2417
|
-
.Layer__balance-
|
|
2418
|
-
|
|
2437
|
+
.Layer__balance-sheet-row__label--display-children-false svg {
|
|
2438
|
+
display: none;
|
|
2419
2439
|
}
|
|
2420
|
-
.Layer__balance-
|
|
2421
|
-
font-
|
|
2422
|
-
font-variation-settings: "wght" var(--font-weight-bold);
|
|
2423
|
-
color: var(--text-color-primary);
|
|
2440
|
+
.Layer__balance-sheet-row__label--display-children-false {
|
|
2441
|
+
font-weight: normal;
|
|
2424
2442
|
}
|
|
2425
|
-
.Layer__balance-
|
|
2426
|
-
|
|
2443
|
+
.Layer__balance-sheet-row__label--display-children-false svg {
|
|
2444
|
+
display: none;
|
|
2427
2445
|
}
|
|
2428
|
-
.Layer__balance-
|
|
2429
|
-
|
|
2446
|
+
.Layer__balance-sheet-row__label--variant-summation {
|
|
2447
|
+
font-weight: bold;
|
|
2430
2448
|
}
|
|
2431
|
-
.Layer__balance-
|
|
2432
|
-
|
|
2433
|
-
align-items: center;
|
|
2449
|
+
.Layer__balance-sheet-row__value--variant-summation {
|
|
2450
|
+
font-weight: bold;
|
|
2434
2451
|
}
|
|
2435
|
-
.Layer__balance-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
transform: rotate(-90deg);
|
|
2452
|
+
.Layer__balance-sheet-row__value--expanded {
|
|
2453
|
+
color: transparent;
|
|
2454
|
+
user-select: none;
|
|
2439
2455
|
}
|
|
2440
|
-
|
|
2441
|
-
|
|
2456
|
+
@keyframes pulse {
|
|
2457
|
+
from {
|
|
2458
|
+
opacity: 100%;
|
|
2459
|
+
}
|
|
2460
|
+
to {
|
|
2461
|
+
opacity: 20%;
|
|
2462
|
+
}
|
|
2442
2463
|
}
|
|
2443
|
-
.Layer__balance-
|
|
2444
|
-
|
|
2464
|
+
.Layer__balance-sheet-row__skeleton-text {
|
|
2465
|
+
width: 4rem;
|
|
2466
|
+
background-color: var(--text-skeleton-color);
|
|
2467
|
+
height: 1rem;
|
|
2468
|
+
border-radius: var(--corner-radius);
|
|
2445
2469
|
}
|
|
2446
|
-
.Layer__balance-
|
|
2447
|
-
|
|
2470
|
+
.Layer__balance-sheet-row__children--skeleton {
|
|
2471
|
+
background-color: var(--background-color);
|
|
2472
|
+
padding-left: 1rem;
|
|
2448
2473
|
}
|
|
2449
|
-
.Layer__balance-
|
|
2450
|
-
|
|
2474
|
+
.Layer__balance-sheet-row__value--skeleton,
|
|
2475
|
+
.Layer__balance-sheet-row__label--skeleton {
|
|
2476
|
+
animation: 1s pulse ease-in-out alternate infinite;
|
|
2451
2477
|
}
|
|
2452
|
-
.Layer__balance-
|
|
2453
|
-
|
|
2478
|
+
.Layer__balance-sheet-row__value--skeleton svg,
|
|
2479
|
+
.Layer__balance-sheet-row__label--skeleton svg {
|
|
2480
|
+
stroke: var(--text-skeleton-color);
|
|
2454
2481
|
}
|
|
2455
2482
|
.Layer__bank-transactions {
|
|
2456
2483
|
max-width: var(--max-component-width);
|