@layerfi/components 0.1.77 → 0.1.79

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.
@@ -4,6 +4,7 @@
4
4
 
5
5
  /* src/styles/index.scss */
6
6
  .Layer__component,
7
+ .Layer__Portal,
7
8
  .Layer__view,
8
9
  .Layer__select__menu-portal,
9
10
  .Layer__tooltip,
@@ -179,7 +180,7 @@
179
180
  margin: 0;
180
181
  box-sizing: border-box;
181
182
  font-family: var(--font-family);
182
- font-variation-settings: "wght" var(--font-weight-normal);
183
+ font-weight: var(--font-weight-normal);
183
184
  font-feature-settings:
184
185
  "cv10" on,
185
186
  "cv01" on,
@@ -187,6 +188,24 @@
187
188
  "cv08" on,
188
189
  "ss03" on;
189
190
  }
191
+ .Layer__component,
192
+ .Layer__Portal {
193
+ --bg-default: var(--color-base-0);
194
+ --bg-subtle: var(--color-base-50);
195
+ --fg-default: var(--color-base-900);
196
+ --outline-subtle: var(--color-base-100);
197
+ --outline-default: var(--color-base-200);
198
+ --outline-active: var(--color-base-400);
199
+ --button-bg-default: var(--color-base-900);
200
+ --button-bg-active: var(--color-base-1000);
201
+ --button-bg-disabled: var(--color-base-700);
202
+ --button-fg-default: var(--color-base-0);
203
+ --button-fg-disabled: var(--color-base-200);
204
+ --button-bg-ghost-active: var(--color-base-50);
205
+ --button-outline-ghost-active: var(--color-base-100);
206
+ --button-fg-ghost: var(--color-base-900);
207
+ --button-fg-ghost-active: var(--color-base-1000);
208
+ }
190
209
  .Layer__component *::-webkit-scrollbar {
191
210
  width: 6px;
192
211
  height: 6px;
@@ -290,6 +309,14 @@
290
309
  color: var(--color-base-500);
291
310
  font-size: var(--text-sm);
292
311
  }
312
+ @keyframes Layer__rotate {
313
+ from {
314
+ transform: rotate(0deg);
315
+ }
316
+ to {
317
+ transform: rotate(360deg);
318
+ }
319
+ }
293
320
  .Layer__badge {
294
321
  display: inline-flex;
295
322
  gap: var(--spacing-3xs);
@@ -392,7 +419,7 @@
392
419
  border-radius: var(--btn-border-radius);
393
420
  border-width: 0px;
394
421
  font-family: var(--font-family);
395
- font-variation-settings: "wght" var(--font-weight-normal);
422
+ font-weight: var(--font-weight-normal);
396
423
  font-variant-numeric: lining-nums proportional-nums;
397
424
  font-feature-settings:
398
425
  "cv10" on,
@@ -598,7 +625,7 @@
598
625
  border-radius: var(--btn-border-radius);
599
626
  border-width: 0px;
600
627
  font-family: var(--font-family);
601
- font-variation-settings: "wght" var(--font-weight-normal);
628
+ font-weight: var(--font-weight-normal);
602
629
  font-variant-numeric: lining-nums proportional-nums;
603
630
  font-feature-settings:
604
631
  "cv10" on,
@@ -1804,7 +1831,7 @@
1804
1831
  max-width: 140px;
1805
1832
  color: var(--color-base-600);
1806
1833
  font-size: 12px;
1807
- font-variation-settings: "wght" var(--font-weight-normal);
1834
+ font-weight: var(--font-weight-normal);
1808
1835
  line-height: 140%;
1809
1836
  }
1810
1837
  .Layer__details-list-item__value {
@@ -2192,7 +2219,7 @@
2192
2219
  border-width: 0px;
2193
2220
  font-family: var(--font-family);
2194
2221
  font-size: var(--input-font-size);
2195
- font-variation-settings: "wght" var(--font-weight-normal);
2222
+ font-weight: var(--font-weight-normal);
2196
2223
  font-variant-numeric: lining-nums proportional-nums;
2197
2224
  font-feature-settings:
2198
2225
  "cv10" on,
@@ -2247,7 +2274,7 @@
2247
2274
  .Layer__select .Layer__select__placeholder {
2248
2275
  color: var(--color-base-500);
2249
2276
  font-family: var(--font-family);
2250
- font-variation-settings: "wght" var(--font-weight-normal);
2277
+ font-weight: var(--font-weight-normal);
2251
2278
  font-variant-numeric: lining-nums proportional-nums;
2252
2279
  font-feature-settings:
2253
2280
  "cv10" on,
@@ -2354,7 +2381,7 @@
2354
2381
  .Layer__select__menu-portal .Layer__select__option-content__match .Layer__select__option-content__match__amount {
2355
2382
  font-size: var(--text-sm);
2356
2383
  color: var(--color-base-900);
2357
- font-variation-settings: "wght" var(--font-weight-bold);
2384
+ font-weight: var(--font-weight-bold);
2358
2385
  }
2359
2386
  .Layer__select__menu.Layer__select__menu--lg {
2360
2387
  width: calc(100% + 60px);
@@ -2530,7 +2557,7 @@
2530
2557
  .Layer__table .Layer__table-header {
2531
2558
  color: var(--text-color-secondary);
2532
2559
  font-size: var(--text-sm);
2533
- font-variation-settings: "wght" var(--font-weight-normal);
2560
+ font-weight: var(--font-weight-normal);
2534
2561
  font-variant-numeric: lining-nums proportional-nums;
2535
2562
  font-feature-settings:
2536
2563
  "cv10" on,
@@ -2549,7 +2576,7 @@
2549
2576
  }
2550
2577
  .Layer__table .Layer__table-header.Layer__table-header--primary .Layer__table-cell.Layer__table-cell--primary {
2551
2578
  color: var(--text-color-primary);
2552
- font-variation-settings: "wght" var(--font-weight-bold);
2579
+ font-weight: var(--font-weight-bold);
2553
2580
  }
2554
2581
  .Layer__table .Layer__table-body .Layer__table-empty-row:first-child {
2555
2582
  display: none;
@@ -2670,7 +2697,7 @@
2670
2697
  }
2671
2698
  .Layer__table .Layer__table-cell.Layer__table-cell--primary {
2672
2699
  color: var(--color-base-800);
2673
- font-variation-settings: "wght" var(--font-weight-bold);
2700
+ font-weight: var(--font-weight-bold);
2674
2701
  }
2675
2702
  .Layer__table .Layer__table-cell.Layer__table-cell--right .Layer__table-cell-content {
2676
2703
  text-align: right;
@@ -2798,7 +2825,7 @@
2798
2825
  .Layer__table-header {
2799
2826
  color: var(--text-color-secondary);
2800
2827
  font-size: var(--text-sm);
2801
- font-variation-settings: "wght" var(--font-weight-normal);
2828
+ font-weight: var(--font-weight-normal);
2802
2829
  font-variant-numeric: lining-nums proportional-nums;
2803
2830
  font-feature-settings:
2804
2831
  "cv10" on,
@@ -2814,12 +2841,12 @@
2814
2841
  }
2815
2842
  .Layer__table-header.Layer__table-header--primary {
2816
2843
  color: var(--text-color-primary);
2817
- font-variation-settings: "wght" var(--font-weight-bold);
2844
+ font-weight: var(--font-weight-bold);
2818
2845
  }
2819
2846
  .Layer__table-cell--primary,
2820
2847
  .Layer__table-cell--primary .Layer__table-cell-content {
2821
2848
  color: var(--color-base-800);
2822
- font-variation-settings: "wght" var(--font-weight-bold);
2849
+ font-weight: var(--font-weight-bold);
2823
2850
  }
2824
2851
  .Layer__table-cell {
2825
2852
  font-size: var(--text-md);
@@ -3052,7 +3079,7 @@ tbody .Layer__table__empty-row:first-child {
3052
3079
  .Layer__heading {
3053
3080
  color: var(--text-color-primary);
3054
3081
  font-size: var(--text-heading);
3055
- font-variation-settings: "wght" var(--font-weight-bold);
3082
+ font-weight: var(--font-weight-bold);
3056
3083
  line-height: 140%;
3057
3084
  letter-spacing: -0.12px;
3058
3085
  margin: 0;
@@ -3062,23 +3089,23 @@ tbody .Layer__table__empty-row:first-child {
3062
3089
  .Layer__heading.Layer__heading--secondary {
3063
3090
  color: var(--text-color-primary);
3064
3091
  font-size: var(--text-heading-sm);
3065
- font-variation-settings: "wght" var(--font-weight-bold);
3092
+ font-weight: var(--font-weight-bold);
3066
3093
  }
3067
3094
  .Layer__heading--view,
3068
3095
  .Layer__heading.Layer__heading--view {
3069
3096
  color: var(--text-color-primary);
3070
3097
  font-size: var(--text-heading-view);
3071
- font-variation-settings: "wght" var(--font-weight-bold);
3098
+ font-weight: var(--font-weight-bold);
3072
3099
  }
3073
3100
  .Layer__heading--page,
3074
3101
  .Layer__heading.Layer__heading--page {
3075
3102
  color: var(--text-color-primary);
3076
3103
  font-size: var(--text-heading-page);
3077
- font-variation-settings: "wght" var(--font-weight-bold);
3104
+ font-weight: var(--font-weight-bold);
3078
3105
  }
3079
3106
  .Layer__text {
3080
3107
  font-family: var(--font-family);
3081
- font-variation-settings: "wght" var(--font-weight-normal);
3108
+ font-weight: var(--font-weight-normal);
3082
3109
  font-variant-numeric: lining-nums proportional-nums;
3083
3110
  font-feature-settings:
3084
3111
  "cv10" on,
@@ -3099,14 +3126,14 @@ tbody .Layer__table__empty-row:first-child {
3099
3126
  }
3100
3127
  .Layer__text--bold,
3101
3128
  .Layer__text.Layer__text--bold {
3102
- font-variation-settings: "wght" var(--font-weight-bold);
3129
+ font-weight: var(--font-weight-bold);
3103
3130
  }
3104
3131
  .Layer__text--error {
3105
3132
  color: var(--color-danger);
3106
3133
  }
3107
3134
  .Layer__label {
3108
3135
  color: var(--color-base-500);
3109
- font-variation-settings: "wght" var(--font-weight-normal);
3136
+ font-weight: var(--font-weight-normal);
3110
3137
  white-space: nowrap;
3111
3138
  overflow: hidden;
3112
3139
  }
@@ -3300,6 +3327,223 @@ tbody .Layer__table__empty-row:first-child {
3300
3327
  .Layer__view.Layer__view--panel .Layer__view-header__content {
3301
3328
  max-width: 1406px;
3302
3329
  }
3330
+ .Layer__UI__Button {
3331
+ all: unset;
3332
+ align-items: center;
3333
+ appearance: none;
3334
+ border-radius: var(--btn-border-radius);
3335
+ cursor: pointer;
3336
+ display: inline-grid;
3337
+ min-inline-size: 0;
3338
+ min-block-size: 2rem;
3339
+ padding-inline: var(--spacing-md);
3340
+ justify-content: center;
3341
+ outline: none;
3342
+ user-select: none;
3343
+ white-space: nowrap;
3344
+ vertical-align: middle;
3345
+ }
3346
+ .Layer__UI__Button[data-icon] {
3347
+ padding-inline: 0;
3348
+ inline-size: 2rem;
3349
+ block-size: 2rem;
3350
+ }
3351
+ .Layer__UI__Button[data-variant=solid] {
3352
+ background-color: var(--button-bg-default);
3353
+ color: var(--button-fg-default);
3354
+ }
3355
+ .Layer__UI__Button[data-variant=solid][data-hovered] {
3356
+ background-color: var(--button-bg-active);
3357
+ }
3358
+ .Layer__UI__Button[data-variant=ghost] {
3359
+ background-color: transparent;
3360
+ color: var(--button-fg-ghost);
3361
+ border: 2px solid transparent;
3362
+ }
3363
+ .Layer__UI__Button[data-variant=ghost][data-hovered] {
3364
+ background-color: var(--button-bg-ghost-active);
3365
+ color: var(--button-fg-ghost-active);
3366
+ border-color: var(--button-outline-ghost-active);
3367
+ }
3368
+ .Layer__UI__Button[data-size=lg] {
3369
+ min-block-size: 2.25rem;
3370
+ font-size: var(--text-lg);
3371
+ }
3372
+ .Layer__UI__Button[data-disabled] {
3373
+ cursor: not-allowed;
3374
+ color: var(--button-fg-disabled);
3375
+ background-color: var(--button-bg-disabled);
3376
+ }
3377
+ .Layer__UI__Button[data-pending] {
3378
+ cursor: progress;
3379
+ background-color: var(--button-bg-disabled);
3380
+ }
3381
+ .Layer__LoadingSpinner {
3382
+ animation-name: Layer__rotate;
3383
+ animation-duration: 2s;
3384
+ animation-timing-function: linear;
3385
+ animation-iteration-count: infinite;
3386
+ }
3387
+ .Layer__Checkbox {
3388
+ display: grid;
3389
+ grid-template-columns: auto minmax(0, 1fr);
3390
+ align-items: center;
3391
+ gap: var(--spacing-xs);
3392
+ cursor: pointer;
3393
+ }
3394
+ .Layer__Checkbox [slot=checkbox] {
3395
+ background-color: var(--bg-default);
3396
+ color: transparent;
3397
+ padding: var(--spacing-3xs);
3398
+ border: 2px solid var(--outline-default);
3399
+ border-radius: var(--border-radius-xs);
3400
+ display: grid;
3401
+ place-items: center;
3402
+ }
3403
+ .Layer__Checkbox svg {
3404
+ transition: all 200ms;
3405
+ }
3406
+ .Layer__Checkbox[data-pressed] [slot=checkbox] {
3407
+ border-color: var(--outline-active);
3408
+ }
3409
+ .Layer__Checkbox[data-focus-visible] [slot=checkbox] {
3410
+ outline: 2px solid var(--outline-active);
3411
+ outline-offset: 2px;
3412
+ }
3413
+ .Layer__Checkbox[data-selected] [slot=checkbox] {
3414
+ color: var(--bg-default);
3415
+ background-color: var(--fg-default);
3416
+ }
3417
+ .Layer__UI__Heading {
3418
+ all: unset;
3419
+ font-weight: bold;
3420
+ font-size: var(--text-heading);
3421
+ }
3422
+ .Layer__UI__Heading[data-size=sm] {
3423
+ font-size: var(--text-heading-sm);
3424
+ }
3425
+ .Layer__UI__Heading[data-pbe="2xs"] {
3426
+ padding-block-end: var(--spacing-2xs);
3427
+ }
3428
+ .Layer__UI__Heading[data-pbe=xs] {
3429
+ padding-block-end: var(--spacing-xs);
3430
+ }
3431
+ .Layer__UI__Heading[data-pbe=sm] {
3432
+ padding-block-end: var(--spacing-sm);
3433
+ }
3434
+ .Layer__UI__Heading[data-pbe=md] {
3435
+ padding-block-end: var(--spacing-md);
3436
+ }
3437
+ .Layer__UI__Heading[data-pbe=lg] {
3438
+ padding-block-end: var(--spacing-lg);
3439
+ }
3440
+ .Layer__P {
3441
+ margin: 0;
3442
+ font-size: var(--text-md);
3443
+ text-wrap: pretty;
3444
+ }
3445
+ .Layer__P[data-size=xs] {
3446
+ font-size: var(--text-xs);
3447
+ }
3448
+ .Layer__P[data-size=sm] {
3449
+ font-size: var(--text-sm);
3450
+ }
3451
+ .Layer__P[data-size=md] {
3452
+ font-size: var(--text-md);
3453
+ }
3454
+ .Layer__P[data-size=lg] {
3455
+ font-size: var(--text-lg);
3456
+ }
3457
+ .Layer__P[data-pbe=xs] {
3458
+ padding-block-end: var(--spacing-xs);
3459
+ }
3460
+ .Layer__P[data-pbe=sm] {
3461
+ padding-block-end: var(--spacing-sm);
3462
+ }
3463
+ .Layer__P[data-pbe=md] {
3464
+ padding-block-end: var(--spacing-md);
3465
+ }
3466
+ .Layer__P[data-pbe=lg] {
3467
+ padding-block-end: var(--spacing-lg);
3468
+ }
3469
+ .Layer__P[data-align=left] {
3470
+ text-align: left;
3471
+ }
3472
+ .Layer__P[data-align=center] {
3473
+ text-align: center;
3474
+ }
3475
+ .Layer__P[data-align=right] {
3476
+ text-align: right;
3477
+ }
3478
+ .Layer__P[data-align=justify] {
3479
+ text-align: justify;
3480
+ }
3481
+ .Layer__ModalOverlay {
3482
+ display: grid;
3483
+ place-items: center;
3484
+ position: fixed;
3485
+ inset: 0;
3486
+ max-inline-size: 100dvi;
3487
+ max-block-size: 100dvh;
3488
+ background: rgba(0, 0, 0, 0.5);
3489
+ z-index: 100;
3490
+ }
3491
+ .Layer__ModalOverlay[data-entering] {
3492
+ animation-duration: 150ms;
3493
+ }
3494
+ .Layer__ModalOverlay[data-exiting] {
3495
+ animation-duration: 150ms;
3496
+ }
3497
+ .Layer__Modal {
3498
+ inline-size: min(24rem, 90dvi);
3499
+ block-size: min(36rem, 90dvb);
3500
+ }
3501
+ .Layer__Modal[data-entering] {
3502
+ animation-duration: 300ms;
3503
+ }
3504
+ .Layer__Modal[data-exiting] {
3505
+ animation-duration: 300ms;
3506
+ }
3507
+ .Layer__Dialog {
3508
+ outline: none;
3509
+ background-color: white;
3510
+ block-size: 100%;
3511
+ padding: var(--spacing-md);
3512
+ border-radius: var(--border-radius-2xs);
3513
+ display: flex;
3514
+ flex-direction: column;
3515
+ }
3516
+ .Layer__Dialog [slot=content] {
3517
+ flex: 1;
3518
+ }
3519
+ .Layer__ModalContextBar {
3520
+ display: grid;
3521
+ grid-template-columns: minmax(0, 2rem) 1fr minmax(0, 2rem);
3522
+ column-gap: var(--spacing-md);
3523
+ grid-template-areas: "back logo close";
3524
+ align-items: center;
3525
+ }
3526
+ .Layer__ModalContextBar > [slot=back] {
3527
+ grid-area: back;
3528
+ }
3529
+ .Layer__ModalContextBar > [slot=logo] {
3530
+ grid-area: logo;
3531
+ }
3532
+ .Layer__ModalContextBar > [slot=close] {
3533
+ grid-area: close;
3534
+ }
3535
+ .Layer__ModalContent {
3536
+ display: grid;
3537
+ block-size: 100%;
3538
+ overflow-y: auto;
3539
+ }
3540
+ .Layer__ModalContent > [slot=center] {
3541
+ align-self: center;
3542
+ justify-self: center;
3543
+ }
3544
+ .Layer__ModalActions {
3545
+ padding-block-start: var(--spacing-lg);
3546
+ }
3303
3547
  .Layer__VStack {
3304
3548
  display: flex;
3305
3549
  flex-direction: column;
@@ -3307,6 +3551,21 @@ tbody .Layer__table__empty-row:first-child {
3307
3551
  .Layer__VStack[data-align=start] {
3308
3552
  align-items: start;
3309
3553
  }
3554
+ .Layer__VStack[data-align=center] {
3555
+ align-items: center;
3556
+ }
3557
+ .Layer__VStack[data-align=end] {
3558
+ align-items: end;
3559
+ }
3560
+ .Layer__VStack[data-justify=start] {
3561
+ justify-content: start;
3562
+ }
3563
+ .Layer__VStack[data-justify=center] {
3564
+ justify-content: center;
3565
+ }
3566
+ .Layer__VStack[data-justify=end] {
3567
+ justify-content: end;
3568
+ }
3310
3569
  .Layer__VStack[data-gap="3xs"] {
3311
3570
  gap: var(--spacing-3xs);
3312
3571
  }
@@ -3337,6 +3596,13 @@ tbody .Layer__table__empty-row:first-child {
3337
3596
  .Layer__VStack[data-gap="5xl"] {
3338
3597
  gap: var(--spacing-5xl);
3339
3598
  }
3599
+ .Layer__LinkedAccountToConfirm {
3600
+ background-color: var(--bg-subtle);
3601
+ padding-inline: var(--spacing-md);
3602
+ padding-block: var(--spacing-sm);
3603
+ display: grid;
3604
+ grid-template-columns: 1fr auto;
3605
+ }
3340
3606
  .Layer__ledger-account__index {
3341
3607
  background-color: var(--color-base-0);
3342
3608
  width: 100%;
@@ -3431,7 +3697,7 @@ tbody .Layer__table__empty-row:first-child {
3431
3697
  justify-content: space-between;
3432
3698
  }
3433
3699
  .Layer__ledger_account-table__balance-item .Layer__ledger_account-table__balances-mobile__value {
3434
- font-variation-settings: "wght" var(--font-weight-bold);
3700
+ font-weight: var(--font-weight-bold);
3435
3701
  color: var(--color-base-900);
3436
3702
  }
3437
3703
  @container (max-width: 1024px) {
@@ -5185,10 +5451,10 @@ tbody .Layer__table__empty-row:first-child {
5185
5451
  }
5186
5452
  .Layer__chart-of-accounts__mobile-row-content__balance {
5187
5453
  color: var(--color-base-800);
5188
- font-variation-settings: "wght" var(--font-weight-bold);
5454
+ font-weight: var(--font-weight-bold);
5189
5455
  }
5190
5456
  .Layer__chart-of-accounts__row---mobile.Layer__table-row--depth-0 .Layer__chart-of-accounts__mobile-row-content__name {
5191
- font-variation-settings: "wght" var(--font-weight-bold);
5457
+ font-weight: var(--font-weight-bold);
5192
5458
  }
5193
5459
  .Layer__chart-of-accounts__mobile-row-content__types {
5194
5460
  display: flex;
@@ -5353,10 +5619,10 @@ tbody .Layer__table__empty-row:first-child {
5353
5619
  width: calc(100% - 192px - 75%);
5354
5620
  }
5355
5621
  .Layer__table-cell.Layer__journal__balance {
5356
- font-variation-settings: "wght" var(--font-weight-bold);
5622
+ font-weight: var(--font-weight-bold);
5357
5623
  }
5358
5624
  .Layer__journal__table .Layer__table-row--depth-0 .Layer__table-cell.Layer__journal__arrow {
5359
- font-variation-settings: "wght" var(--font-weight-bold);
5625
+ font-weight: var(--font-weight-bold);
5360
5626
  }
5361
5627
  .Layer__journal__balance {
5362
5628
  text-align: right;
@@ -6738,7 +7004,7 @@ tbody .Layer__table__empty-row:first-child {
6738
7004
  .Layer__ProfitAndLossSummariesSummaryAmount {
6739
7005
  grid-area: amount;
6740
7006
  font-size: var(--text-lg);
6741
- font-variation-settings: "wght" var(--font-weight-bold);
7007
+ font-weight: var(--font-weight-bold);
6742
7008
  overflow-x: hidden;
6743
7009
  text-overflow: ellipsis;
6744
7010
  }
@@ -6757,6 +7023,7 @@ tbody .Layer__table__empty-row:first-child {
6757
7023
  margin: unset;
6758
7024
  color: var(--color-base-700);
6759
7025
  font-size: var(--text-sm);
7026
+ font-weight: var(--font-weight-bold);
6760
7027
  }
6761
7028
  .Layer__ProfitAndLossSummariesSummaryHeading[data-size=lg] {
6762
7029
  font-size: var(--text-lg);
@@ -6922,12 +7189,12 @@ tbody .Layer__table__empty-row:first-child {
6922
7189
  }
6923
7190
  .Layer__profit-and-loss-row__label .Layer__text {
6924
7191
  color: var(--color-base-700);
6925
- font-variation-settings: "wght" var(--font-weight-normal);
7192
+ font-weight: var(--font-weight-normal);
6926
7193
  margin: 0;
6927
7194
  }
6928
7195
  .Layer__profit-and-loss-row__label.Layer__profit-and-loss-row__label--depth-0 .Layer__text {
6929
7196
  color: var(--color-base-800);
6930
- font-variation-settings: "wght" var(--font-weight-bold);
7197
+ font-weight: var(--font-weight-bold);
6931
7198
  margin: 0;
6932
7199
  }
6933
7200
  .Layer__profit-and-loss-row__label--depth-1 {
@@ -6938,7 +7205,7 @@ tbody .Layer__table__empty-row:first-child {
6938
7205
  }
6939
7206
  .Layer__profit-and-loss-row__label--depth-1 .Layer__text {
6940
7207
  color: var(--color-base-700);
6941
- font-variation-settings: "wght" var(--font-weight-normal);
7208
+ font-weight: var(--font-weight-normal);
6942
7209
  margin: 0;
6943
7210
  }
6944
7211
  .Layer__profit-and-loss-chart .recharts-cartesian-axis-tick-value tspan {
@@ -7281,7 +7548,7 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
7281
7548
  .Layer__profit-and-loss-detailed-charts .type-select {
7282
7549
  border-color: transparent;
7283
7550
  font-family: var(--font-family);
7284
- font-variation-settings: "wght" var(--font-weight-normal);
7551
+ font-weight: var(--font-weight-normal);
7285
7552
  font-variant-numeric: lining-nums proportional-nums;
7286
7553
  font-feature-settings:
7287
7554
  "cv10" on,
@@ -7293,7 +7560,7 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
7293
7560
  .Layer__profit-and-loss-detailed-charts .type-select .Layer__select__control {
7294
7561
  border-color: transparent;
7295
7562
  font-family: var(--font-family);
7296
- font-variation-settings: "wght" var(--font-weight-normal);
7563
+ font-weight: var(--font-weight-normal);
7297
7564
  font-variant-numeric: lining-nums proportional-nums;
7298
7565
  font-feature-settings:
7299
7566
  "cv10" on,
@@ -7305,7 +7572,7 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
7305
7572
  .Layer__profit-and-loss-detailed-charts .type-select .Layer__select__placeholder {
7306
7573
  font-size: 12px;
7307
7574
  font-family: var(--font-family);
7308
- font-variation-settings: "wght" var(--font-weight-normal);
7575
+ font-weight: var(--font-weight-normal);
7309
7576
  font-variant-numeric: lining-nums proportional-nums;
7310
7577
  font-feature-settings:
7311
7578
  "cv10" on,
@@ -7730,4 +7997,3 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
7730
7997
  border-top-right-radius: 0;
7731
7998
  }
7732
7999
  }
7733
- /*# sourceMappingURL=index.css.map */
package/package.json CHANGED
@@ -1,13 +1,24 @@
1
1
  {
2
2
  "name": "@layerfi/components",
3
- "version": "0.1.77",
3
+ "version": "0.1.79",
4
4
  "description": "Layer React Components",
5
- "main": "dist/index.js",
5
+ "main": "dist/cjs/index.cjs",
6
+ "module": "dist/esm/index.mjs",
6
7
  "types": "dist/index.d.ts",
8
+ "style": "dist/index.css",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/esm/index.mjs",
13
+ "require": "./dist/cjs/index.cjs"
14
+ },
15
+ "./index.css": "./dist/index.css"
16
+ },
7
17
  "scripts": {
8
18
  "test": "jest",
9
19
  "typecheck": "tsc --noEmit",
10
20
  "build": "node bin/build.js",
21
+ "dev": "node bin/build.js -- --watch",
11
22
  "prepack": "npm run typecheck && npm run build",
12
23
  "lint": "eslint .",
13
24
  "lint:fix": "eslint . --fix"
@@ -22,13 +33,14 @@
22
33
  "react"
23
34
  ],
24
35
  "author": "Layer Financial",
25
- "license": "MIT",
36
+ "license": "SEE LICENSE IN LICENSE",
26
37
  "bugs": {
27
38
  "url": "https://github.com/Layer-Fi/layer-react/issues"
28
39
  },
29
40
  "homepage": "https://github.com/Layer-Fi/layer-react#readme",
30
41
  "peerDependencies": {
31
- "react": "^18.2.0"
42
+ "react": "^18.2.0",
43
+ "react-dom": "^18.2.0"
32
44
  },
33
45
  "devDependencies": {
34
46
  "@stylistic/eslint-plugin": "^2.10.0",
@@ -36,9 +48,9 @@
36
48
  "@testing-library/react": "^14.0.0",
37
49
  "@testing-library/user-event": "^14.5.1",
38
50
  "@types/jest": "^29.5.7",
39
- "@types/react": "^18.2.31",
51
+ "@types/react": "^18.2.0",
40
52
  "@types/react-datepicker": "^6.2.0",
41
- "@types/react-dom": "^18.2.14",
53
+ "@types/react-dom": "^18.2.0",
42
54
  "@typescript-eslint/eslint-plugin": "^6.19.0",
43
55
  "esbuild": "^0.19.5",
44
56
  "esbuild-jest": "^0.5.0",
@@ -51,21 +63,22 @@
51
63
  "jest-environment-jsdom": "^29.7.0",
52
64
  "jsdom": "^22.1.0",
53
65
  "npm-dts": "^1.3.12",
54
- "postcss": "^8.4.31",
55
- "postcss-scss": "^4.0.9",
56
66
  "react": "^18.2.0",
57
67
  "react-dom": "^18.2.0",
58
- "typescript": "^5.2.2"
68
+ "typescript": "^5.6.3"
59
69
  },
60
70
  "dependencies": {
61
71
  "@floating-ui/react": "^0.26.8",
62
72
  "classnames": "^2.5.1",
63
73
  "date-fns": "^2.30.0",
74
+ "lucide-react": "^0.454.0",
75
+ "react-aria-components": "^1.4.1",
64
76
  "react-datepicker": "^6.9.0",
65
77
  "react-plaid-link": "^3.5.1",
66
78
  "react-select": "^5.8.0",
67
79
  "recharts": "^2.10.1",
68
- "swr": "^2.2.4"
80
+ "swr": "^2.2.4",
81
+ "zustand": "^5.0.1"
69
82
  },
70
83
  "jest": {
71
84
  "testEnvironment": "jsdom",
package/.nvmrc DELETED
@@ -1 +0,0 @@
1
- 20.2