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

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);
@@ -4705,6 +4740,9 @@ tbody .Layer__table__empty-row:first-child {
4705
4740
  .Layer__UI__DateSegment:not([data-interactive]) {
4706
4741
  background-color: transparent;
4707
4742
  }
4743
+ .Layer__UI__DatePicker .Layer__UI__FieldError {
4744
+ padding-block-start: 0;
4745
+ }
4708
4746
  .Layer__UI__DropdownMenu__Popover[data-entering] {
4709
4747
  animation: popover-slide 120ms;
4710
4748
  }
@@ -4828,6 +4866,10 @@ tbody .Layer__table__empty-row:first-child {
4828
4866
  border-color: var(--color-base-800);
4829
4867
  outline: 2px solid var(--outline-default);
4830
4868
  }
4869
+ .Layer__InputGroup[data-invalid] {
4870
+ border-color: var(--color-danger);
4871
+ outline: none;
4872
+ }
4831
4873
  .Layer__InputGroup[data-action-count="2"] {
4832
4874
  grid-template-columns: minmax(0, 1fr) auto auto;
4833
4875
  }
@@ -4986,9 +5028,6 @@ tbody .Layer__table__empty-row:first-child {
4986
5028
  block-size: min(42rem, 90%);
4987
5029
  inline-size: min(36rem, 90%);
4988
5030
  }
4989
- .Layer__Modal[data-flex-block] {
4990
- block-size: auto;
4991
- }
4992
5031
  .Layer__Modal[data-size=lg] {
4993
5032
  inline-size: min(42rem, 90%);
4994
5033
  }
@@ -5018,6 +5057,9 @@ tbody .Layer__table__empty-row:first-child {
5018
5057
  .Layer__Modal[data-variant=mobile-drawer][data-exiting] {
5019
5058
  animation: mobile-drawer-slide 200ms reverse ease-in;
5020
5059
  }
5060
+ .Layer__Modal[data-flex-block] {
5061
+ block-size: auto;
5062
+ }
5021
5063
  .Layer__Dialog {
5022
5064
  display: flex;
5023
5065
  flex-direction: column;
@@ -5121,12 +5163,15 @@ tbody .Layer__table__empty-row:first-child {
5121
5163
  display: grid;
5122
5164
  inline-size: min(90svi, 60ch);
5123
5165
  border-radius: var(--border-radius-xs);
5124
- border: 2px solid var(--outline-default);
5166
+ border: 1px solid var(--outline-default);
5125
5167
  background: var(--color-base-0);
5126
5168
  }
5127
5169
  .Layer__Popover[data-trigger=ComboBox] {
5128
5170
  inline-size: clamp(min(var(--trigger-width), 90svi), var(--trigger-width) * 1.5, min(80ch, 90svi));
5129
5171
  }
5172
+ .Layer__Popover[data-trigger=DatePicker] {
5173
+ inline-size: unset;
5174
+ }
5130
5175
  .Layer__Stack {
5131
5176
  display: flex;
5132
5177
  }
@@ -5441,12 +5486,25 @@ tbody .Layer__table__empty-row:first-child {
5441
5486
  .Layer__UI__Table-TableHeader > tr {
5442
5487
  height: inherit;
5443
5488
  }
5489
+ .Layer__UI__Table-TableHeader--hidden {
5490
+ display: none;
5491
+ }
5444
5492
  .Layer__UI__Table-Row {
5445
5493
  height: 3.25rem;
5494
+ background-color: var(--color-base-200);
5446
5495
  }
5447
5496
  .Layer__UI__Table-Row:not(:last-child) .Layer__UI__Table-Cell {
5448
5497
  border-bottom: 1px solid var(--color-base-300);
5449
5498
  }
5499
+ .Layer__UI__Table-Row[data-depth="0"] {
5500
+ background-color: var(--color-base-0);
5501
+ }
5502
+ .Layer__UI__Table-Row[data-depth="1"] {
5503
+ background-color: var(--color-base-50);
5504
+ }
5505
+ .Layer__UI__Table-Row[data-depth="2"] {
5506
+ background-color: var(--color-base-100);
5507
+ }
5450
5508
  .Layer__UI__Table-Column {
5451
5509
  box-sizing: border-box;
5452
5510
  display: flex;
@@ -5537,6 +5595,9 @@ tbody .Layer__table__empty-row:first-child {
5537
5595
  color: var(--color-base-700);
5538
5596
  text-wrap: pretty;
5539
5597
  }
5598
+ .Layer__UI__Heading[data-variant=dark] {
5599
+ color: var(--color-base-900);
5600
+ }
5540
5601
  .Layer__UI__Heading[data-variant=subtle] {
5541
5602
  color: var(--fg-subtle);
5542
5603
  }
@@ -6800,6 +6861,28 @@ tbody .Layer__table__empty-row:first-child {
6800
6861
  font-size: var(--text-md);
6801
6862
  }
6802
6863
  }
6864
+ .Layer__CategorizationRulesTable {
6865
+ border: none;
6866
+ }
6867
+ .Layer__UI__Table__CategorizationRulesTable {
6868
+ table-layout: fixed;
6869
+ width: 100%;
6870
+ }
6871
+ .Layer__UI__Table__CategorizationRulesTable .Layer__UI__Table-Row,
6872
+ .Layer__UI__Table__CategorizationRulesTable .Layer__UI__Table-TableHeader > tr {
6873
+ display: grid;
6874
+ grid-template-columns: minmax(8rem, 45%) minmax(8rem, 45%) auto;
6875
+ }
6876
+ .Layer__UI__Table__CategorizationRulesTable .Layer__UI__Table-Row > *:last-child,
6877
+ .Layer__UI__Table__CategorizationRulesTable .Layer__UI__Table-TableHeader > tr > *:last-child {
6878
+ justify-content: end;
6879
+ }
6880
+ .Layer__bulk-actions-header__selection-container {
6881
+ height: 2.25rem;
6882
+ min-width: 11rem;
6883
+ border-radius: var(--border-radius-2xs);
6884
+ border: 1px solid var(--color-base-300);
6885
+ }
6803
6886
  .Layer__InvoiceTable {
6804
6887
  width: clamp(48rem, 100%, 1406px);
6805
6888
  }
@@ -7961,6 +8044,41 @@ tbody .Layer__table__empty-row:first-child {
7961
8044
  background: var(--color-info-error-bg);
7962
8045
  color: var(--color-info-error-fg);
7963
8046
  }
8047
+ .Layer__suggested-categorization-rule-updates-drawer {
8048
+ padding: var(--spacing-sm);
8049
+ }
8050
+ .Layer__suggested-categorization-rule-updates .Layer__UI__Button {
8051
+ width: 100%;
8052
+ }
8053
+ .Layer__suggested-categorization-rule-updates-header {
8054
+ padding-bottom: var(--spacing-sm);
8055
+ }
8056
+ .Layer__AffectedTransactionsTable {
8057
+ container-type: inline-size;
8058
+ --affected-transactions-table-cols: minmax(10rem, 25%) minmax(20rem, 50%) minmax(10rem, 25%);
8059
+ }
8060
+ .Layer__AffectedTransactionsTable .Layer__UI__Table__AffectedTransactionsTable {
8061
+ table-layout: fixed;
8062
+ }
8063
+ .Layer__AffectedTransactionsTable .Layer__UI__Table__AffectedTransactionsTable .Layer__UI__VirtualizedTable__row,
8064
+ .Layer__AffectedTransactionsTable .Layer__UI__Table__AffectedTransactionsTable .Layer__UI__VirtualizedTable__header > tr {
8065
+ display: grid;
8066
+ grid-template-columns: var(--affected-transactions-table-cols);
8067
+ }
8068
+ .Layer__AffectedTransactionsTable .Layer__UI__Table__AffectedTransactionsTable .Layer__UI__Table-Column__AffectedTransactionsTable--Date,
8069
+ .Layer__AffectedTransactionsTable .Layer__UI__Table__AffectedTransactionsTable .Layer__UI__Table-Cell__AffectedTransactionsTable--Date {
8070
+ color: var(--color-base-600);
8071
+ }
8072
+ .Layer__AffectedTransactionsTable .Layer__UI__Table__AffectedTransactionsTable .Layer__UI__Table-Column__AffectedTransactionsTable--Amount,
8073
+ .Layer__AffectedTransactionsTable .Layer__UI__Table__AffectedTransactionsTable .Layer__UI__Table-Cell__AffectedTransactionsTable--Amount {
8074
+ justify-content: flex-end;
8075
+ }
8076
+ @container (width <= 840px) {
8077
+ .Layer__AffectedTransactionsTable .Layer__UI__Table__AffectedTransactionsTable .Layer__UI__VirtualizedTable__row,
8078
+ .Layer__AffectedTransactionsTable .Layer__UI__Table__AffectedTransactionsTable .Layer__UI__VirtualizedTable__header > tr {
8079
+ grid-template-columns: minmax(4rem, 25%) minmax(8rem, 50%) minmax(4rem, 25%);
8080
+ }
8081
+ }
7964
8082
  .Layer__tabs__container {
7965
8083
  overflow: auto hidden;
7966
8084
  min-height: 50px;
@@ -8248,6 +8366,56 @@ tbody .Layer__table__empty-row:first-child {
8248
8366
  max-width: 16rem;
8249
8367
  }
8250
8368
  }
8369
+ .Layer__ExpandButton {
8370
+ height: 16px;
8371
+ min-width: 16px;
8372
+ transition: transform 0.1s ease-in-out;
8373
+ }
8374
+ .Layer__ExpandButton--collapsed {
8375
+ transform: rotate(-90deg);
8376
+ }
8377
+ .Layer__ExpandButton--expanded {
8378
+ transform: rotate(0deg);
8379
+ }
8380
+ .Layer__UnifiedReport {
8381
+ overflow: hidden;
8382
+ width: clamp(24rem, 100%, 1406px);
8383
+ }
8384
+ .Layer__UnifiedReport__Header {
8385
+ height: 4.75rem;
8386
+ border-bottom: 1px solid var(--border-color);
8387
+ }
8388
+ .Layer__UI__Table__UnifiedReport {
8389
+ table-layout: fixed;
8390
+ width: 100%;
8391
+ }
8392
+ .Layer__UI__Table__UnifiedReport .Layer__UI__Table-Row,
8393
+ .Layer__UI__Table__UnifiedReport .Layer__UI__Table-TableHeader > tr {
8394
+ display: grid;
8395
+ grid-template-columns: minmax(16rem, 80%) minmax(8rem, 20%);
8396
+ }
8397
+ .Layer__UI__Table__UnifiedReport .Layer__UI__Table-Column__UnifiedReport--Value,
8398
+ .Layer__UI__Table__UnifiedReport .Layer__UI__Table-Cell__UnifiedReport--Value {
8399
+ justify-content: flex-end;
8400
+ }
8401
+ .Layer__DateCalendar__Header {
8402
+ border-bottom: 1px solid var(--border-color);
8403
+ }
8404
+ .Layer__DateSelection {
8405
+ display: grid;
8406
+ grid-template-columns: repeat(2, minmax(10rem, 12rem));
8407
+ min-width: 18.5rem;
8408
+ }
8409
+ .Layer__DateSelection .Layer__tooltip-trigger {
8410
+ padding-top: 0;
8411
+ }
8412
+ .Layer__DateRangeSelection {
8413
+ display: grid;
8414
+ grid-template-columns: 9rem repeat(2, minmax(10rem, 12rem));
8415
+ }
8416
+ .Layer__DateRangeSelection .Layer__tooltip-trigger {
8417
+ padding-top: 0;
8418
+ }
8251
8419
  .Layer__TagSelectorLayoutGroup {
8252
8420
  display: grid;
8253
8421
  grid-template-columns: repeat(2, minmax(0, 1fr));
@@ -8587,6 +8755,7 @@ tbody .Layer__table__empty-row:first-child {
8587
8755
  left: 0;
8588
8756
  display: flex;
8589
8757
  flex-direction: column;
8758
+ gap: var(--spacing-xs);
8590
8759
  align-items: stretch;
8591
8760
  width: 100%;
8592
8761
  }
@@ -8614,7 +8783,7 @@ tbody .Layer__table__empty-row:first-child {
8614
8783
  .Layer__bank-transactions__header--with-date-picker.Layer__bank-transactions__header--mobile .Layer__datepicker__wrapper {
8615
8784
  margin-right: 4px;
8616
8785
  }
8617
- .Layer__bank-transactions__header-menu__upload-transactions-icon {
8786
+ .Layer__bank-transactions__header-menu__icon {
8618
8787
  padding: var(--spacing-3xs);
8619
8788
  border-radius: var(--spacing-3xs);
8620
8789
  background: var(--color-base-200);
@@ -8675,7 +8844,7 @@ tbody .Layer__table__empty-row:first-child {
8675
8844
  }
8676
8845
  .Layer__bank-transaction-row .Layer__table-cell {
8677
8846
  background-color: var(--table-bg);
8678
- color: var(--text-color-primary);
8847
+ color: var(--color-base-900);
8679
8848
  transition: background-color var(--transition-speed) ease-out;
8680
8849
  }
8681
8850
  .Layer__bank-transaction-row .Layer__table-cell-content {
@@ -8911,8 +9080,8 @@ tbody .Layer__table__empty-row:first-child {
8911
9080
  transition: border 5s ease-out;
8912
9081
  }
8913
9082
  .Layer__bank-transaction-row__expand-button {
8914
- width: 36px;
8915
- min-width: 36px;
9083
+ width: fit-content;
9084
+ vertical-align: middle;
8916
9085
  }
8917
9086
  .Layer__bank-transaction-row__actions-cell--open {
8918
9087
  border-left: 1px solid transparent;
@@ -8976,6 +9145,9 @@ tbody .Layer__table__empty-row:first-child {
8976
9145
  opacity: 1;
8977
9146
  transition: max-height 350ms ease-out, opacity 200ms ease-out;
8978
9147
  }
9148
+ .Layer__bank-transaction-list-item .Layer__bank-transaction-list-item__base-row .Layer__tooltip-trigger {
9149
+ padding: 0;
9150
+ }
8979
9151
  .Layer__bank-transaction-list-item .Layer__bank-transaction-list-item__expanded-row {
8980
9152
  overflow: hidden;
8981
9153
  max-height: 0;
@@ -9132,6 +9304,12 @@ tbody .Layer__table__empty-row:first-child {
9132
9304
  min-width: var(--width);
9133
9305
  max-width: var(--width);
9134
9306
  }
9307
+ .Layer__bank-transactions__checkbox-col {
9308
+ width: 48px;
9309
+ }
9310
+ .Layer__bank-transactions__checkbox-col .Layer__table-cell-content {
9311
+ justify-content: center;
9312
+ }
9135
9313
  .Layer__bank-transactions__date-col {
9136
9314
  box-sizing: border-box;
9137
9315
  width: 140px;
@@ -9166,6 +9344,9 @@ tbody .Layer__table__empty-row:first-child {
9166
9344
  padding-right: var(--spacing-md);
9167
9345
  padding-left: var(--spacing-xl);
9168
9346
  }
9347
+ .Layer__table.Layer__bank-transactions__table .Layer__bank-transactions__checkbox-col + .Layer__table-header.Layer__bank-transactions__date-col {
9348
+ padding-left: var(--spacing-md);
9349
+ }
9169
9350
  .Layer__table.Layer__bank-transactions__table .Layer__table-header.Layer__table-cell__category-col {
9170
9351
  padding-right: var(--spacing-xl);
9171
9352
  padding-left: var(--spacing-md);
@@ -10229,7 +10410,6 @@ tbody .Layer__table__empty-row:first-child {
10229
10410
  position: relative;
10230
10411
  display: flex;
10231
10412
  align-items: stretch;
10232
- overflow: auto;
10233
10413
  }
10234
10414
  .Layer__component-container.Layer__journal .Layer__table-state-container {
10235
10415
  height: calc(100% - 160px);
@@ -12072,9 +12252,8 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
12072
12252
  .Layer__service-offering-options__grid {
12073
12253
  display: grid;
12074
12254
  grid-template-columns: 1fr 1fr;
12075
- gap: var(--spacing-md);
12255
+ gap: var(--spacing-2xl);
12076
12256
  justify-items: center;
12077
- width: fit-content;
12078
12257
  margin: 0 auto;
12079
12258
  }
12080
12259
  @media (width <= 720px) {
@@ -12087,13 +12266,15 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
12087
12266
  display: flex;
12088
12267
  flex-direction: column;
12089
12268
  gap: var(--spacing-xs);
12090
- max-width: 420px;
12091
- padding: var(--spacing-md);
12092
12269
  border-radius: 16px;
12093
- border: none;
12270
+ border: 1px solid var(--color-base-100);
12094
12271
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
12095
12272
  margin: 0;
12096
12273
  background: white;
12274
+ overflow-wrap: break-word;
12275
+ }
12276
+ .Layer__service-offering-options__feature-check {
12277
+ color: var(--fg-subtle);
12097
12278
  }
12098
12279
  .Layer__service-offering__content {
12099
12280
  display: flex;
@@ -12101,15 +12282,9 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
12101
12282
  gap: var(--spacing-xl);
12102
12283
  }
12103
12284
  .Layer__service-offering__offers {
12104
- flex-shrink: 0;
12105
- min-width: 0;
12285
+ width: 100%;
12106
12286
  background-color: transparent;
12107
12287
  }
12108
- @media (width <= 1440px) {
12109
- .Layer__service-offering__offers {
12110
- padding: 0 var(--spacing-lg);
12111
- }
12112
- }
12113
12288
  .Layer__service-offering__responsive-layout {
12114
12289
  display: flex;
12115
12290
  flex-direction: row;
@@ -12118,25 +12293,24 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
12118
12293
  @media (width <= 1440px) {
12119
12294
  .Layer__service-offering__responsive-layout {
12120
12295
  flex-direction: column;
12121
- gap: var(--spacing-xl);
12122
12296
  }
12123
12297
  }
12124
12298
  .Layer__service-offering__responsive-content {
12125
12299
  display: flex;
12126
12300
  flex-direction: column;
12127
12301
  gap: var(--spacing-2xl);
12128
- padding: var(--spacing-3xl);
12129
- padding-bottom: var(--spacing-3xl);
12302
+ max-width: 420px;
12130
12303
  }
12131
12304
  @media (width <= 1440px) {
12132
12305
  .Layer__service-offering__responsive-content {
12133
- padding: var(--spacing-xl);
12306
+ max-width: 100%;
12134
12307
  }
12135
12308
  }
12136
12309
  .Layer__service-offering__responsive-image {
12137
12310
  display: flex;
12138
12311
  align-items: center;
12139
12312
  justify-content: center;
12313
+ transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;
12140
12314
  }
12141
12315
  @media (width <= 1440px) {
12142
12316
  .Layer__service-offering__responsive-image {
@@ -12145,23 +12319,19 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
12145
12319
  }
12146
12320
  .Layer__service-offering__responsive-image img {
12147
12321
  height: auto;
12322
+ max-height: 480px;
12148
12323
  max-width: 100%;
12324
+ object-fit: cover;
12325
+ opacity: 0;
12326
+ animation: fade-in-image 0.4s ease-in forwards;
12327
+ animation-delay: 0.1s;
12149
12328
  }
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);
12329
+ @keyframes fade-in-image {
12330
+ from {
12331
+ opacity: 0;
12159
12332
  }
12160
- }
12161
- @media (width <= 768px) {
12162
- .Layer__service-offering__value-props-responsive {
12163
- grid-template-columns: 1fr;
12164
- gap: var(--spacing-xl);
12333
+ to {
12334
+ opacity: 1;
12165
12335
  }
12166
12336
  }
12167
12337
  .Layer__mobile-feature-section {