@layerfi/components 0.1.28 → 0.1.29

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.
@@ -635,7 +635,7 @@
635
635
  border-top-left-radius: 0;
636
636
  border-bottom-left-radius: 0;
637
637
  }
638
- @media screen and (min-width: 760px) {
638
+ @container (min-width: 760px) {
639
639
  .Layer__date-month-picker__wrapper.Layer__date-month-picker__wrapper--current-date-option .Layer__date-month-picker {
640
640
  border-top-right-radius: 0;
641
641
  border-bottom-right-radius: 0;
@@ -707,7 +707,7 @@
707
707
  background: linear-gradient(-90deg, #fff 50%, rgba(255, 255, 255, 0) 100%);
708
708
  z-index: 2;
709
709
  }
710
- @media screen and (max-width: 760px) {
710
+ @container (max-width: 760px) {
711
711
  .Layer__date-month-picker__wrapper .Layer__date-month-picker {
712
712
  border: none;
713
713
  background: none;
@@ -1508,6 +1508,39 @@
1508
1508
  max-width: 100%;
1509
1509
  flex: 1;
1510
1510
  }
1511
+ .Layer__category-menu__drawer-btn {
1512
+ display: flex;
1513
+ flex: 1;
1514
+ width: 100%;
1515
+ color: var(--color-base-500);
1516
+ padding: 8px;
1517
+ box-sizing: border-box;
1518
+ position: relative;
1519
+ border: 1px solid var(--border-color);
1520
+ border-radius: var(--input-border-radius);
1521
+ border-width: 0px;
1522
+ box-shadow: 0px 0px 0px 1px var(--input-border-color), 0px 0px 0px 2px rgba(0, 0, 0, 0);
1523
+ margin: 1px;
1524
+ font-family: var(--font-family);
1525
+ font-size: var(--input-font-size);
1526
+ line-height: 140%;
1527
+ background-color: var(--color-base-0);
1528
+ min-height: 39px;
1529
+ align-items: center;
1530
+ cursor: pointer;
1531
+ }
1532
+ .Layer__category-menu__drawer-btn:hover {
1533
+ color: var(--text-color-primary);
1534
+ background-color: var(--color-base-50);
1535
+ }
1536
+ .Layer__category-menu__drawer-btn.Layer__category-menu__drawer-btn--selected {
1537
+ color: var(--text-color-primary);
1538
+ }
1539
+ .Layer__category-menu__drawer-btn .Layer__category-menu__drawer-btn__arrow {
1540
+ position: absolute;
1541
+ right: 12px;
1542
+ top: 12px;
1543
+ }
1511
1544
  @media screen and (max-width: 400px) {
1512
1545
  .Layer__select__menu-portal .Layer__select__option {
1513
1546
  font-size: var(--text-sm) !important;
@@ -2469,6 +2502,8 @@
2469
2502
  }
2470
2503
  .Layer__bank-transactions__header.Layer__bank-transactions__header--mobile {
2471
2504
  background-color: transparent;
2505
+ max-width: 414px;
2506
+ margin: auto;
2472
2507
  }
2473
2508
  .Layer__bank-transactions__header.Layer__bank-transactions__header--mobile,
2474
2509
  .Layer__bank-transactions__header.Layer__bank-transactions__header--with-date-picker {
@@ -2739,6 +2774,9 @@
2739
2774
  .Layer__expanded-bank-transaction-row__file-upload {
2740
2775
  padding: 0 var(--spacing-md);
2741
2776
  padding-bottom: var(--spacing-sm);
2777
+ display: flex;
2778
+ align-items: center;
2779
+ gap: 10px;
2742
2780
  }
2743
2781
  .Layer__bank-transaction-row__actions-cell {
2744
2782
  border-left: 1px solid var(--border-color);
@@ -3562,6 +3600,8 @@
3562
3600
  gap: var(--spacing-sm);
3563
3601
  list-style: none;
3564
3602
  overflow: hidden;
3603
+ max-width: 414px;
3604
+ margin: auto;
3565
3605
  }
3566
3606
  .Layer__bank-transaction-mobile-list-item {
3567
3607
  padding: 0;
@@ -3744,6 +3784,9 @@
3744
3784
  padding-bottom: var(--spacing-lg);
3745
3785
  font-size: 18px;
3746
3786
  }
3787
+ .Layer__bank-transaction-mobile-list-item__categories_list-container {
3788
+ width: 100%;
3789
+ }
3747
3790
  .Layer__component-container.Layer__chart-of-accounts {
3748
3791
  display: flex;
3749
3792
  align-items: stretch;
@@ -4360,8 +4403,12 @@
4360
4403
  left: 0;
4361
4404
  right: 0;
4362
4405
  bottom: 0;
4406
+ opacity: 0;
4363
4407
  z-index: 1000;
4364
- transition: background 0.3s ease-in-out;
4408
+ transition: background 0.2s ease-in-out, opacity 0.2s ease-in-out;
4409
+ }
4410
+ .Layer__drawer-background.open.closing {
4411
+ opacity: 0;
4365
4412
  }
4366
4413
  .Layer__drawer-background.open {
4367
4414
  display: block;
@@ -4370,6 +4417,7 @@
4370
4417
  }
4371
4418
  .Layer__drawer {
4372
4419
  position: fixed;
4420
+ display: flex;
4373
4421
  bottom: -100%;
4374
4422
  left: 0;
4375
4423
  right: 0;
@@ -4378,9 +4426,13 @@
4378
4426
  width: 100%;
4379
4427
  max-height: 80%;
4380
4428
  overflow-y: auto;
4381
- padding: var(--spacing-xl) 28px 28px 28px;
4429
+ padding: 0 14px;
4382
4430
  border-radius: var(--spacing-md) var(--spacing-md) 0px 0px;
4383
4431
  transition: bottom 0.2s ease-in-out;
4432
+ border: 28px solid var(--color-base-0);
4433
+ border-left: 14px solid var(--color-base-0);
4434
+ border-right: 14px solid var(--color-base-0);
4435
+ box-sizing: border-box;
4384
4436
  }
4385
4437
  .Layer__drawer::after {
4386
4438
  position: absolute;
@@ -4390,12 +4442,24 @@
4390
4442
  background-color: var(--color-base-50);
4391
4443
  left: 50%;
4392
4444
  transform: translateX(-50%);
4393
- top: 16px;
4445
+ top: 0px;
4394
4446
  border-radius: 80px;
4395
4447
  }
4396
- .Layer__drawer.open {
4448
+ .Layer__drawer.open:not(.closing) {
4397
4449
  bottom: 0;
4398
4450
  }
4451
+ @media (min-width: 414px) {
4452
+ .Layer__drawer {
4453
+ max-height: calc(82% - 32px);
4454
+ max-width: 414px;
4455
+ margin-left: auto;
4456
+ margin-right: auto;
4457
+ border-radius: var(--spacing-md);
4458
+ }
4459
+ .Layer__drawer.open:not(.closing) {
4460
+ bottom: 32px;
4461
+ }
4462
+ }
4399
4463
  .Layer__chevron {
4400
4464
  stroke: var(--text-color);
4401
4465
  transition: transform 0.33s;
@@ -4466,7 +4530,7 @@
4466
4530
  justify-content: center;
4467
4531
  flex: 1;
4468
4532
  max-width: 272px;
4469
- min-height: 135px;
4533
+ min-height: 115px;
4470
4534
  padding: var(--spacing-2xs);
4471
4535
  border-radius: var(--border-radius-sm);
4472
4536
  background: var(--base-transparent-1);
@@ -4475,6 +4539,9 @@
4475
4539
  .Layer__linked-accounts__new-account.--as-widget {
4476
4540
  min-height: 90px;
4477
4541
  }
4542
+ .Layer__linked-accounts__new-account.--show-ledger-balance {
4543
+ min-height: 135px;
4544
+ }
4478
4545
  .Layer__linked-accounts__new-account:hover {
4479
4546
  background: var(--base-transparent-2);
4480
4547
  }