@layerfi/components 0.1.112-alpha → 0.1.112-alpha.1

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/index.css CHANGED
@@ -4049,11 +4049,13 @@
4049
4049
  }
4050
4050
  @container (min-width: 1400px) {
4051
4051
  .Layer__table tr td:first-child .Layer__table-cell-content,
4052
- .Layer__table tr th:first-child.Layer__table-cell .Layer__table-cell-content {
4052
+ .Layer__table tr th:first-child.Layer__table-cell .Layer__table-cell-content,
4053
+ .Layer__table tr th:first-child.Layer__table-header .Layer__table-cell-content {
4053
4054
  padding-left: var(--spacing-xl);
4054
4055
  }
4055
4056
  .Layer__table tr td:last-child .Layer__table-cell-content,
4056
- .Layer__table tr th:last-child.Layer__table-cell .Layer__table-cell-content {
4057
+ .Layer__table tr th:last-child.Layer__table-cell .Layer__table-cell-content,
4058
+ .Layer__table tr th:last-child.Layer__table-header .Layer__table-cell-content {
4057
4059
  padding-right: var(--spacing-xl);
4058
4060
  }
4059
4061
  }
@@ -4498,6 +4500,38 @@ tbody .Layer__table__empty-row:first-child {
4498
4500
  height: 1rem;
4499
4501
  place-self: center;
4500
4502
  }
4503
+ .Layer__UI__Calendar {
4504
+ width: min-content;
4505
+ }
4506
+ .Layer__UI__CalendarGrid {
4507
+ border-collapse: collapse;
4508
+ }
4509
+ .Layer__UI__CalendarCell,
4510
+ .Layer__UI__CalendarHeaderCell {
4511
+ height: 2rem;
4512
+ width: 2rem;
4513
+ border-radius: var(--border-radius-3xs);
4514
+ font-size: var(--text-sm);
4515
+ line-height: 2rem;
4516
+ text-align: center;
4517
+ }
4518
+ .Layer__UI__CalendarCell {
4519
+ transition: background-color 0.2s ease, color 0.2s ease;
4520
+ }
4521
+ .Layer__UI__CalendarCell[data-hovered] {
4522
+ background-color: var(--color-base-400);
4523
+ }
4524
+ .Layer__UI__CalendarCell[data-selected] {
4525
+ background-color: var(--color-base-900);
4526
+ color: var(--color-base-0);
4527
+ }
4528
+ .Layer__UI__CalendarCell[data-disabled] {
4529
+ color: var(--color-base-400);
4530
+ }
4531
+ .Layer__UI__CalendarCell[data-outside-month] {
4532
+ color: var(--color-base-0);
4533
+ transition: none;
4534
+ }
4501
4535
  .Layer__Checkbox {
4502
4536
  position: relative;
4503
4537
  display: inline-flex;
@@ -4539,7 +4573,8 @@ tbody .Layer__table__empty-row:first-child {
4539
4573
  outline: 1px solid var(--outline-active);
4540
4574
  outline-offset: 2px;
4541
4575
  }
4542
- .Layer__Checkbox[data-selected] [slot=checkbox] {
4576
+ .Layer__Checkbox[data-selected] [slot=checkbox],
4577
+ .Layer__Checkbox[data-indeterminate] [slot=checkbox] {
4543
4578
  background-color: var(--fg-default);
4544
4579
  color: var(--bg-default);
4545
4580
  border-color: var(--fg-default);
@@ -4986,9 +5021,6 @@ tbody .Layer__table__empty-row:first-child {
4986
5021
  block-size: min(42rem, 90%);
4987
5022
  inline-size: min(36rem, 90%);
4988
5023
  }
4989
- .Layer__Modal[data-flex-block] {
4990
- block-size: auto;
4991
- }
4992
5024
  .Layer__Modal[data-size=lg] {
4993
5025
  inline-size: min(42rem, 90%);
4994
5026
  }
@@ -5018,6 +5050,9 @@ tbody .Layer__table__empty-row:first-child {
5018
5050
  .Layer__Modal[data-variant=mobile-drawer][data-exiting] {
5019
5051
  animation: mobile-drawer-slide 200ms reverse ease-in;
5020
5052
  }
5053
+ .Layer__Modal[data-flex-block] {
5054
+ block-size: auto;
5055
+ }
5021
5056
  .Layer__Dialog {
5022
5057
  display: flex;
5023
5058
  flex-direction: column;
@@ -5441,12 +5476,25 @@ tbody .Layer__table__empty-row:first-child {
5441
5476
  .Layer__UI__Table-TableHeader > tr {
5442
5477
  height: inherit;
5443
5478
  }
5479
+ .Layer__UI__Table-TableHeader--hidden {
5480
+ display: none;
5481
+ }
5444
5482
  .Layer__UI__Table-Row {
5445
5483
  height: 3.25rem;
5484
+ background-color: var(--color-base-200);
5446
5485
  }
5447
5486
  .Layer__UI__Table-Row:not(:last-child) .Layer__UI__Table-Cell {
5448
5487
  border-bottom: 1px solid var(--color-base-300);
5449
5488
  }
5489
+ .Layer__UI__Table-Row[data-depth="0"] {
5490
+ background-color: var(--color-base-0);
5491
+ }
5492
+ .Layer__UI__Table-Row[data-depth="1"] {
5493
+ background-color: var(--color-base-50);
5494
+ }
5495
+ .Layer__UI__Table-Row[data-depth="2"] {
5496
+ background-color: var(--color-base-100);
5497
+ }
5450
5498
  .Layer__UI__Table-Column {
5451
5499
  box-sizing: border-box;
5452
5500
  display: flex;
@@ -5537,6 +5585,9 @@ tbody .Layer__table__empty-row:first-child {
5537
5585
  color: var(--color-base-700);
5538
5586
  text-wrap: pretty;
5539
5587
  }
5588
+ .Layer__UI__Heading[data-variant=dark] {
5589
+ color: var(--color-base-900);
5590
+ }
5540
5591
  .Layer__UI__Heading[data-variant=subtle] {
5541
5592
  color: var(--fg-subtle);
5542
5593
  }
@@ -6800,6 +6851,28 @@ tbody .Layer__table__empty-row:first-child {
6800
6851
  font-size: var(--text-md);
6801
6852
  }
6802
6853
  }
6854
+ .Layer__CategorizationRulesTable {
6855
+ border: none;
6856
+ }
6857
+ .Layer__UI__Table__CategorizationRulesTable {
6858
+ table-layout: fixed;
6859
+ width: 100%;
6860
+ }
6861
+ .Layer__UI__Table__CategorizationRulesTable .Layer__UI__Table-Row,
6862
+ .Layer__UI__Table__CategorizationRulesTable .Layer__UI__Table-TableHeader > tr {
6863
+ display: grid;
6864
+ grid-template-columns: minmax(8rem, 45%) minmax(8rem, 45%) auto;
6865
+ }
6866
+ .Layer__UI__Table__CategorizationRulesTable .Layer__UI__Table-Row > *:last-child,
6867
+ .Layer__UI__Table__CategorizationRulesTable .Layer__UI__Table-TableHeader > tr > *:last-child {
6868
+ justify-content: end;
6869
+ }
6870
+ .Layer__bulk-actions-header__selection-container {
6871
+ height: 2.25rem;
6872
+ min-width: 11rem;
6873
+ border-radius: var(--border-radius-2xs);
6874
+ border: 1px solid var(--color-base-300);
6875
+ }
6803
6876
  .Layer__InvoiceTable {
6804
6877
  width: clamp(48rem, 100%, 1406px);
6805
6878
  }
@@ -7961,6 +8034,41 @@ tbody .Layer__table__empty-row:first-child {
7961
8034
  background: var(--color-info-error-bg);
7962
8035
  color: var(--color-info-error-fg);
7963
8036
  }
8037
+ .Layer__suggested-categorization-rule-updates-drawer {
8038
+ padding: var(--spacing-sm);
8039
+ }
8040
+ .Layer__suggested-categorization-rule-updates .Layer__UI__Button {
8041
+ width: 100%;
8042
+ }
8043
+ .Layer__suggested-categorization-rule-updates-header {
8044
+ padding-bottom: var(--spacing-sm);
8045
+ }
8046
+ .Layer__AffectedTransactionsTable {
8047
+ container-type: inline-size;
8048
+ --affected-transactions-table-cols: minmax(10rem, 25%) minmax(20rem, 50%) minmax(10rem, 25%);
8049
+ }
8050
+ .Layer__AffectedTransactionsTable .Layer__UI__Table__AffectedTransactionsTable {
8051
+ table-layout: fixed;
8052
+ }
8053
+ .Layer__AffectedTransactionsTable .Layer__UI__Table__AffectedTransactionsTable .Layer__UI__VirtualizedTable__row,
8054
+ .Layer__AffectedTransactionsTable .Layer__UI__Table__AffectedTransactionsTable .Layer__UI__VirtualizedTable__header > tr {
8055
+ display: grid;
8056
+ grid-template-columns: var(--affected-transactions-table-cols);
8057
+ }
8058
+ .Layer__AffectedTransactionsTable .Layer__UI__Table__AffectedTransactionsTable .Layer__UI__Table-Column__AffectedTransactionsTable--Date,
8059
+ .Layer__AffectedTransactionsTable .Layer__UI__Table__AffectedTransactionsTable .Layer__UI__Table-Cell__AffectedTransactionsTable--Date {
8060
+ color: var(--color-base-600);
8061
+ }
8062
+ .Layer__AffectedTransactionsTable .Layer__UI__Table__AffectedTransactionsTable .Layer__UI__Table-Column__AffectedTransactionsTable--Amount,
8063
+ .Layer__AffectedTransactionsTable .Layer__UI__Table__AffectedTransactionsTable .Layer__UI__Table-Cell__AffectedTransactionsTable--Amount {
8064
+ justify-content: flex-end;
8065
+ }
8066
+ @container (width <= 840px) {
8067
+ .Layer__AffectedTransactionsTable .Layer__UI__Table__AffectedTransactionsTable .Layer__UI__VirtualizedTable__row,
8068
+ .Layer__AffectedTransactionsTable .Layer__UI__Table__AffectedTransactionsTable .Layer__UI__VirtualizedTable__header > tr {
8069
+ grid-template-columns: minmax(4rem, 25%) minmax(8rem, 50%) minmax(4rem, 25%);
8070
+ }
8071
+ }
7964
8072
  .Layer__tabs__container {
7965
8073
  overflow: auto hidden;
7966
8074
  min-height: 50px;
@@ -8248,6 +8356,41 @@ tbody .Layer__table__empty-row:first-child {
8248
8356
  max-width: 16rem;
8249
8357
  }
8250
8358
  }
8359
+ .Layer__ExpandButton {
8360
+ height: 16px;
8361
+ min-width: 16px;
8362
+ transition: transform 0.1s ease-in-out;
8363
+ }
8364
+ .Layer__ExpandButton--collapsed {
8365
+ transform: rotate(-90deg);
8366
+ }
8367
+ .Layer__ExpandButton--expanded {
8368
+ transform: rotate(0deg);
8369
+ }
8370
+ .Layer__UnifiedReport {
8371
+ overflow: hidden;
8372
+ width: clamp(24rem, 100%, 1406px);
8373
+ }
8374
+ .Layer__UnifiedReport__Header {
8375
+ height: 4.75rem;
8376
+ border-bottom: 1px solid var(--border-color);
8377
+ }
8378
+ .Layer__UI__Table__UnifiedReport {
8379
+ table-layout: fixed;
8380
+ width: 100%;
8381
+ }
8382
+ .Layer__UI__Table__UnifiedReport .Layer__UI__Table-Row,
8383
+ .Layer__UI__Table__UnifiedReport .Layer__UI__Table-TableHeader > tr {
8384
+ display: grid;
8385
+ grid-template-columns: minmax(16rem, 80%) minmax(8rem, 20%);
8386
+ }
8387
+ .Layer__UI__Table__UnifiedReport .Layer__UI__Table-Column__UnifiedReport--Value,
8388
+ .Layer__UI__Table__UnifiedReport .Layer__UI__Table-Cell__UnifiedReport--Value {
8389
+ justify-content: flex-end;
8390
+ }
8391
+ .Layer__DateCalendar__Header {
8392
+ border-bottom: 1px solid var(--border-color);
8393
+ }
8251
8394
  .Layer__TagSelectorLayoutGroup {
8252
8395
  display: grid;
8253
8396
  grid-template-columns: repeat(2, minmax(0, 1fr));
@@ -8587,6 +8730,7 @@ tbody .Layer__table__empty-row:first-child {
8587
8730
  left: 0;
8588
8731
  display: flex;
8589
8732
  flex-direction: column;
8733
+ gap: var(--spacing-xs);
8590
8734
  align-items: stretch;
8591
8735
  width: 100%;
8592
8736
  }
@@ -8614,7 +8758,7 @@ tbody .Layer__table__empty-row:first-child {
8614
8758
  .Layer__bank-transactions__header--with-date-picker.Layer__bank-transactions__header--mobile .Layer__datepicker__wrapper {
8615
8759
  margin-right: 4px;
8616
8760
  }
8617
- .Layer__bank-transactions__header-menu__upload-transactions-icon {
8761
+ .Layer__bank-transactions__header-menu__icon {
8618
8762
  padding: var(--spacing-3xs);
8619
8763
  border-radius: var(--spacing-3xs);
8620
8764
  background: var(--color-base-200);
@@ -8675,7 +8819,7 @@ tbody .Layer__table__empty-row:first-child {
8675
8819
  }
8676
8820
  .Layer__bank-transaction-row .Layer__table-cell {
8677
8821
  background-color: var(--table-bg);
8678
- color: var(--text-color-primary);
8822
+ color: var(--color-base-900);
8679
8823
  transition: background-color var(--transition-speed) ease-out;
8680
8824
  }
8681
8825
  .Layer__bank-transaction-row .Layer__table-cell-content {
@@ -9132,6 +9276,12 @@ tbody .Layer__table__empty-row:first-child {
9132
9276
  min-width: var(--width);
9133
9277
  max-width: var(--width);
9134
9278
  }
9279
+ .Layer__bank-transactions__checkbox-col {
9280
+ width: 48px;
9281
+ }
9282
+ .Layer__bank-transactions__checkbox-col .Layer__table-cell-content {
9283
+ justify-content: center;
9284
+ }
9135
9285
  .Layer__bank-transactions__date-col {
9136
9286
  box-sizing: border-box;
9137
9287
  width: 140px;
@@ -9166,6 +9316,9 @@ tbody .Layer__table__empty-row:first-child {
9166
9316
  padding-right: var(--spacing-md);
9167
9317
  padding-left: var(--spacing-xl);
9168
9318
  }
9319
+ .Layer__table.Layer__bank-transactions__table .Layer__bank-transactions__checkbox-col + .Layer__table-header.Layer__bank-transactions__date-col {
9320
+ padding-left: var(--spacing-md);
9321
+ }
9169
9322
  .Layer__table.Layer__bank-transactions__table .Layer__table-header.Layer__table-cell__category-col {
9170
9323
  padding-right: var(--spacing-xl);
9171
9324
  padding-left: var(--spacing-md);
@@ -12072,9 +12225,8 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
12072
12225
  .Layer__service-offering-options__grid {
12073
12226
  display: grid;
12074
12227
  grid-template-columns: 1fr 1fr;
12075
- gap: var(--spacing-md);
12228
+ gap: var(--spacing-2xl);
12076
12229
  justify-items: center;
12077
- width: fit-content;
12078
12230
  margin: 0 auto;
12079
12231
  }
12080
12232
  @media (width <= 720px) {
@@ -12087,13 +12239,15 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
12087
12239
  display: flex;
12088
12240
  flex-direction: column;
12089
12241
  gap: var(--spacing-xs);
12090
- max-width: 420px;
12091
- padding: var(--spacing-md);
12092
12242
  border-radius: 16px;
12093
- border: none;
12243
+ border: 1px solid var(--color-base-100);
12094
12244
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
12095
12245
  margin: 0;
12096
12246
  background: white;
12247
+ overflow-wrap: break-word;
12248
+ }
12249
+ .Layer__service-offering-options__feature-check {
12250
+ color: var(--fg-subtle);
12097
12251
  }
12098
12252
  .Layer__service-offering__content {
12099
12253
  display: flex;
@@ -12101,15 +12255,9 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
12101
12255
  gap: var(--spacing-xl);
12102
12256
  }
12103
12257
  .Layer__service-offering__offers {
12104
- flex-shrink: 0;
12105
- min-width: 0;
12258
+ width: 100%;
12106
12259
  background-color: transparent;
12107
12260
  }
12108
- @media (width <= 1440px) {
12109
- .Layer__service-offering__offers {
12110
- padding: 0 var(--spacing-lg);
12111
- }
12112
- }
12113
12261
  .Layer__service-offering__responsive-layout {
12114
12262
  display: flex;
12115
12263
  flex-direction: row;
@@ -12118,25 +12266,24 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
12118
12266
  @media (width <= 1440px) {
12119
12267
  .Layer__service-offering__responsive-layout {
12120
12268
  flex-direction: column;
12121
- gap: var(--spacing-xl);
12122
12269
  }
12123
12270
  }
12124
12271
  .Layer__service-offering__responsive-content {
12125
12272
  display: flex;
12126
12273
  flex-direction: column;
12127
12274
  gap: var(--spacing-2xl);
12128
- padding: var(--spacing-3xl);
12129
- padding-bottom: var(--spacing-3xl);
12275
+ max-width: 420px;
12130
12276
  }
12131
12277
  @media (width <= 1440px) {
12132
12278
  .Layer__service-offering__responsive-content {
12133
- padding: var(--spacing-xl);
12279
+ max-width: 100%;
12134
12280
  }
12135
12281
  }
12136
12282
  .Layer__service-offering__responsive-image {
12137
12283
  display: flex;
12138
12284
  align-items: center;
12139
12285
  justify-content: center;
12286
+ transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;
12140
12287
  }
12141
12288
  @media (width <= 1440px) {
12142
12289
  .Layer__service-offering__responsive-image {
@@ -12145,23 +12292,19 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
12145
12292
  }
12146
12293
  .Layer__service-offering__responsive-image img {
12147
12294
  height: auto;
12295
+ max-height: 480px;
12148
12296
  max-width: 100%;
12297
+ object-fit: cover;
12298
+ opacity: 0;
12299
+ animation: fade-in-image 0.4s ease-in forwards;
12300
+ animation-delay: 0.1s;
12149
12301
  }
12150
- .Layer__service-offering__value-props-responsive {
12151
- display: grid;
12152
- grid-template-columns: repeat(3, 1fr);
12153
- gap: var(--spacing-5xl);
12154
- justify-items: center;
12155
- }
12156
- @media (width <= 1440px) {
12157
- .Layer__service-offering__value-props-responsive {
12158
- grid-template-columns: repeat(2, 1fr);
12302
+ @keyframes fade-in-image {
12303
+ from {
12304
+ opacity: 0;
12159
12305
  }
12160
- }
12161
- @media (width <= 768px) {
12162
- .Layer__service-offering__value-props-responsive {
12163
- grid-template-columns: 1fr;
12164
- gap: var(--spacing-xl);
12306
+ to {
12307
+ opacity: 1;
12165
12308
  }
12166
12309
  }
12167
12310
  .Layer__mobile-feature-section {