@layerfi/components 0.1.128-alpha.1 → 0.1.128-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
@@ -216,6 +216,12 @@
216
216
  .Layer__Stack[data-direction=column] {
217
217
  flex-direction: column;
218
218
  }
219
+ .Layer__Stack[data-direction=row-reverse] {
220
+ flex-direction: row-reverse;
221
+ }
222
+ .Layer__Stack[data-direction=column-reverse] {
223
+ flex-direction: column-reverse;
224
+ }
219
225
  .Layer__Stack[data-align=start] {
220
226
  align-items: start;
221
227
  }
@@ -497,6 +503,15 @@
497
503
  border-radius: var(--border-radius-2xs);
498
504
  border: 1px solid var(--border-color);
499
505
  background-color: var(--color-base-0);
506
+ }
507
+ .Layer__MobileListSkeleton[data-variant=compact] {
508
+ gap: 0;
509
+ }
510
+ .Layer__MobileListSkeleton[data-variant=compact] .Layer__MobileListSkeleton__Item {
511
+ padding-inline: 0;
512
+ border-radius: 0;
513
+ border: none;
514
+ background-color: transparent;
500
515
  }.Layer__InvisibleDownload {
501
516
  display: none;
502
517
  }.Layer__UI__Toggle {
@@ -541,7 +556,7 @@
541
556
  background: var(--color-base-1000);
542
557
  }
543
558
 
544
- .Layer__UI__tooltip-content--text {
559
+ .Layer__UI__tooltip-content > .Layer__UI__tooltip-content--text {
545
560
  display: block;
546
561
  font-size: var(--text-sm);
547
562
  text-align: justify;
@@ -3104,10 +3119,35 @@
3104
3119
  .Layer__MobileListItem[data-selection-mode=multiple], .Layer__MobileListItem[data-selection-mode=single] {
3105
3120
  grid-template-areas: "selection content";
3106
3121
  grid-template-columns: auto 1fr;
3122
+ }
3123
+ [data-variant=compact] .Layer__MobileListItem {
3124
+ padding-inline: 0;
3125
+ border-radius: 0;
3126
+ border: none;
3127
+ }.Layer__MobileListSection {
3128
+ display: flex;
3129
+ flex-direction: column;
3130
+ }
3131
+ .Layer__MobileListSection__Heading {
3132
+ padding-block-end: var(--spacing-xs);
3133
+ padding-inline: var(--spacing-3xs);
3134
+ outline: none;
3135
+ background-color: transparent;
3136
+ cursor: default;
3137
+ }
3138
+ .Layer__MobileListSection:not(:last-child) {
3139
+ padding-block-end: var(--spacing-xs);
3140
+ }
3141
+ .Layer__MobileListSection:not(:first-child) {
3142
+ padding-block-start: var(--spacing-md);
3143
+ border-block-start: 1px solid var(--border-color);
3107
3144
  }.Layer__MobileList {
3108
3145
  display: flex;
3109
3146
  flex-direction: column;
3110
3147
  gap: var(--spacing-sm);
3148
+ }
3149
+ .Layer__MobileList[data-variant=compact] {
3150
+ gap: 0;
3111
3151
  }.Layer__pagination-container {
3112
3152
  justify-content: end;
3113
3153
  padding: var(--spacing-md);
@@ -3162,11 +3202,7 @@
3162
3202
  cursor: pointer;
3163
3203
  }.Layer__PaginatedDataTable__Pagination {
3164
3204
  border-top: 1px solid var(--border-color);
3165
- }.Layer__CategorizationRulesTable {
3166
- border: none;
3167
- }
3168
-
3169
- .Layer__UI__Table__CategorizationRulesTable {
3205
+ }.Layer__UI__Table__CategorizationRulesTable {
3170
3206
  table-layout: fixed;
3171
3207
  width: 100%;
3172
3208
  }
@@ -3700,12 +3736,15 @@
3700
3736
  min-height: 0;
3701
3737
  }.Layer__GlobalDateRangeSelection {
3702
3738
  display: grid;
3703
- grid-template-columns: 9rem repeat(2, minmax(10rem, 12rem));
3739
+ grid-template-columns: repeat(3, minmax(10rem, 1fr));
3704
3740
  gap: var(--spacing-xs);
3705
3741
  }
3706
- .Layer__GlobalDateRangeSelection--mobile {
3707
- grid-template-columns: 8rem repeat(2, minmax(6.75rem, 10rem));
3708
- gap: var(--spacing-3xs);
3742
+ .Layer__GlobalDateRangeSelection--compact {
3743
+ grid-template-columns: repeat(2, minmax(6.75rem, 1fr));
3744
+ width: 100%;
3745
+ }
3746
+ .Layer__GlobalDateRangeSelection--compact > :first-child {
3747
+ grid-column: 1/-1;
3709
3748
  }
3710
3749
  .Layer__GlobalDateRangeSelection .Layer__tooltip-trigger {
3711
3750
  padding-top: 0;
@@ -3739,6 +3778,28 @@
3739
3778
 
3740
3779
  :is(.Layer__input-tooltip:has(.Layer__CompareTagsMultiSelect)) {
3741
3780
  flex: 1;
3781
+ }.Layer__ProfitAndLossCompareOptions__Container[data-compact=true] .Layer__DateGroupByComboBox__Container,
3782
+ .Layer__ProfitAndLossCompareOptions__Container[data-compact=true] .Layer__CompareTagsMultiSelect__Container {
3783
+ inline-size: 100%;
3784
+ max-inline-size: none;
3785
+ }.Layer__MobileSelectionDrawerList__Check {
3786
+ visibility: hidden;
3787
+ height: 1rem;
3788
+ min-width: 1rem;
3789
+ }
3790
+ .Layer__MobileSelectionDrawerList__Check[data-selected=true] {
3791
+ visibility: visible;
3792
+ }.Layer__MobileSelectionDrawerWithTrigger {
3793
+ padding-inline: var(--spacing-sm);
3794
+ }
3795
+ .Layer__MobileSelectionDrawerWithTrigger .Layer__SearchField {
3796
+ inline-size: 100%;
3797
+ }
3798
+ .Layer__MobileSelectionDrawerWithTrigger .Layer__MobileListItem {
3799
+ transition: background-color 120ms ease;
3800
+ }
3801
+ .Layer__MobileSelectionDrawerWithTrigger .Layer__MobileListItem[data-hovered] {
3802
+ background-color: var(--bg-element-focus);
3742
3803
  }.Layer__panel {
3743
3804
  display: flex;
3744
3805
  flex: 1;
@@ -3786,7 +3847,6 @@
3786
3847
  height: 100%;
3787
3848
  width: 480px;
3788
3849
  min-width: 480px;
3789
- background: var(--color-base-0);
3790
3850
  opacity: 0.2;
3791
3851
  transition: opacity 180ms ease-in-out;
3792
3852
  }
@@ -3859,14 +3919,15 @@
3859
3919
  min-height: 40px;
3860
3920
  }.Layer__GlobalDateSelection {
3861
3921
  display: grid;
3862
- grid-template-columns: repeat(2, minmax(10rem, 12rem));
3922
+ grid-template-columns: repeat(2, minmax(10rem, 1fr));
3863
3923
  gap: var(--spacing-xs);
3864
- min-width: 18.5rem;
3865
3924
  }
3866
- .Layer__GlobalDateSelection--mobile {
3867
- grid-template-columns: repeat(2, minmax(6.75rem, 10rem));
3868
- gap: var(--spacing-3xs);
3869
- min-width: 16rem;
3925
+ .Layer__GlobalDateSelection--compact {
3926
+ grid-template-columns: minmax(6.75rem, 1fr);
3927
+ width: 100%;
3928
+ }
3929
+ .Layer__GlobalDateSelection--compact > :first-child {
3930
+ grid-column: 1/-1;
3870
3931
  }
3871
3932
  .Layer__GlobalDateSelection .Layer__tooltip-trigger {
3872
3933
  padding-top: 0;
@@ -4664,44 +4725,48 @@
4664
4725
  border-radius: var(--border-radius-sm);
4665
4726
  border: 1px solid var(--banner-border-color);
4666
4727
  background-color: var(--banner-bg);
4728
+ --banner-fg: var(--color-base-900);
4729
+ --banner-fg-muted: var(--color-base-800);
4730
+ --banner-icon-border: transparent;
4667
4731
  }
4668
4732
  .Layer__UI__Banner[data-variant=default] {
4669
- --banner-bg: var(--color-base-100);
4670
- --banner-border-color: var(--color-base-800);
4671
- --banner-fg: var(--color-base-800);
4672
- --banner-fg-muted: var(--color-base-600);
4673
- --banner-icon-color: var(--color-base-800);
4733
+ --banner-bg: var(--color-base-50);
4734
+ --banner-border-color: var(--color-base-300);
4735
+ --banner-icon-color: var(--color-base-900);
4736
+ --banner-icon-bg: var(--color-base-200);
4674
4737
  }
4675
4738
  .Layer__UI__Banner[data-variant=info] {
4676
- --banner-bg: var(--badge-bg-color-info);
4677
- --banner-border-color: var(--badge-color-info);
4678
- --banner-fg: var(--color-base-800);
4679
- --banner-fg-muted: var(--color-base-600);
4680
- --banner-icon-color: var(--color-base-800);
4739
+ --banner-bg: color-mix(in srgb, var(--color-info-bg) 35%, var(--color-base-0));
4740
+ --banner-border-color: color-mix(in srgb, var(--color-info) 30%, var(--color-base-0));
4741
+ --banner-icon-color: var(--color-info-fg);
4742
+ --banner-icon-bg: var(--color-info-bg);
4681
4743
  }
4682
4744
  .Layer__UI__Banner[data-variant=warning] {
4683
- --banner-bg: var(--badge-bg-color-warning);
4684
- --banner-border-color: var(--badge-color-warning);
4685
- --banner-fg: var(--color-base-800);
4686
- --banner-fg-muted: var(--color-base-600);
4687
- --banner-icon-color: var(--color-base-800);
4745
+ --banner-bg: color-mix(in srgb, var(--color-info-warning-bg) 50%, var(--color-base-0));
4746
+ --banner-border-color: color-mix(in srgb, var(--color-info-warning) 50%, var(--color-base-0));
4747
+ --banner-icon-color: var(--color-info-warning-fg);
4748
+ --banner-icon-bg: var(--color-info-warning-bg);
4688
4749
  }
4689
4750
  .Layer__UI__Banner[data-variant=error] {
4690
- --banner-bg: var(--badge-bg-color-error);
4691
- --banner-border-color: var(--badge-color-error);
4692
- --banner-fg: var(--color-base-800);
4693
- --banner-fg-muted: var(--color-base-600);
4694
- --banner-icon-color: var(--color-base-800);
4751
+ --banner-bg: color-mix(in srgb, var(--color-info-error-bg) 25%, var(--color-base-0));
4752
+ --banner-border-color: color-mix(in srgb, var(--color-info-error) 30%, var(--color-base-0));
4753
+ --banner-icon-color: var(--color-info-error-fg);
4754
+ --banner-icon-bg: var(--color-info-error-bg);
4695
4755
  }
4696
4756
  .Layer__UI__Banner[data-variant=success] {
4697
- --banner-bg: var(--badge-bg-color-success);
4698
- --banner-border-color: var(--badge-color-success);
4699
- --banner-fg: var(--color-base-800);
4700
- --banner-fg-muted: var(--color-base-600);
4701
- --banner-icon-color: var(--color-base-800);
4757
+ --banner-bg: color-mix(in srgb, var(--color-info-success-bg) 35%, var(--color-base-0));
4758
+ --banner-border-color: color-mix(in srgb, var(--color-info-success) 50%, var(--color-base-0));
4759
+ --banner-icon-color: var(--color-info-success-fg);
4760
+ --banner-icon-bg: var(--color-info-success-bg);
4702
4761
  }
4703
4762
 
4704
4763
  .Layer__UI__Banner__iconContainer {
4764
+ flex-shrink: 0;
4765
+ min-block-size: 2rem;
4766
+ min-inline-size: 2rem;
4767
+ border-radius: var(--border-radius-2xs);
4768
+ border: 1px solid var(--banner-icon-border);
4769
+ background-color: var(--banner-icon-bg);
4705
4770
  color: var(--banner-icon-color);
4706
4771
  }
4707
4772
 
@@ -4743,7 +4808,7 @@
4743
4808
  }.Layer__TreeNavigation .Layer__UI__TreeItem {
4744
4809
  position: relative;
4745
4810
  align-content: center;
4746
- height: var(--spacing-5xl);
4811
+ padding-block: var(--spacing-sm);
4747
4812
  padding-inline-start: calc(var(--spacing-3xs) + var(--spacing-sm) * var(--tree-item-level));
4748
4813
  padding-inline-end: var(--spacing-md);
4749
4814
  border-bottom: 1px solid var(--color-base-300);
@@ -4792,13 +4857,20 @@
4792
4857
  width: 100%;
4793
4858
  }
4794
4859
  .Layer__TreeNavigationSkeleton__Group, .Layer__TreeNavigationSkeleton__Leaf {
4795
- height: var(--spacing-5xl);
4796
- padding-inline: var(--spacing-md);
4860
+ height: 44px;
4861
+ padding-inline-end: var(--spacing-md);
4797
4862
  border-bottom: 1px solid var(--color-base-300);
4798
4863
  }
4864
+ .Layer__TreeNavigationSkeleton__Group {
4865
+ padding-inline-start: calc(var(--spacing-3xs) + var(--spacing-sm));
4866
+ }
4799
4867
  .Layer__TreeNavigationSkeleton__Leaf {
4800
- padding-inline-start: calc(var(--spacing-lg) + var(--spacing-md));
4868
+ padding-inline-start: calc(var(--spacing-3xs) + var(--spacing-sm) * 2);
4801
4869
  background-color: var(--color-base-50);
4870
+ }.Layer__UnifiedReport__HeaderButtons {
4871
+ justify-content: flex-end;
4872
+ min-width: 15rem;
4873
+ max-width: 24rem;
4802
4874
  }.Layer__ExpandButton {
4803
4875
  height: 16px;
4804
4876
  min-width: 16px;
@@ -4815,23 +4887,24 @@
4815
4887
  .Layer__UI__Table__UnifiedReport .Layer__UI__Table-Cell {
4816
4888
  display: table-cell;
4817
4889
  min-width: 6rem;
4818
- }.Layer__UnifiedReport__Header {
4819
- border-bottom: 1px solid var(--border-color);
4890
+ }.Layer__UnifiedReport__AdditionalControls {
4891
+ display: grid;
4892
+ gap: var(--spacing-xs);
4820
4893
  }
4821
- @container (width <= 768px) {
4822
- .Layer__UnifiedReport__Header {
4823
- display: grid;
4824
- grid-template-columns: 100%;
4825
- height: fit-content;
4826
- padding-block: var(--spacing-md);
4827
- }
4828
- .Layer__UnifiedReport__Header > :last-child {
4829
- padding-block-start: var(--spacing-md);
4830
- }
4831
- .Layer__UnifiedReport__Header > :not(:last-child) {
4832
- padding-block-end: var(--spacing-md);
4833
- border-bottom: 1px solid var(--border-color);
4834
- }
4894
+ .Layer__UnifiedReport__AdditionalControls[data-variant=small] {
4895
+ grid-template-columns: 1fr;
4896
+ }
4897
+ .Layer__UnifiedReport__AdditionalControls[data-variant=medium] {
4898
+ grid-template-columns: repeat(2, 1fr);
4899
+ }
4900
+ .Layer__UnifiedReport__AdditionalControls[data-variant=large] {
4901
+ grid-template-columns: repeat(3, 1fr);
4902
+ }
4903
+ .Layer__UnifiedReport__AdditionalControls[data-variant=small] > *,
4904
+ .Layer__UnifiedReport__AdditionalControls[data-variant=small] .Layer__DateGroupByComboBox__Container, .Layer__UnifiedReport__AdditionalControls[data-variant=medium] > *,
4905
+ .Layer__UnifiedReport__AdditionalControls[data-variant=medium] .Layer__DateGroupByComboBox__Container {
4906
+ inline-size: 100%;
4907
+ max-inline-size: none;
4835
4908
  }.Layer__UI__Link {
4836
4909
  position: relative;
4837
4910
  display: inline;
@@ -4890,13 +4963,16 @@
4890
4963
  outline-offset: 2px;
4891
4964
  }.Layer__UnifiedReport__DetailHeader {
4892
4965
  border-bottom: 1px solid var(--border-color);
4893
- }.Layer__UnifiedReport {
4966
+ }.Layer__view.Layer__UnifiedReport {
4894
4967
  overflow: hidden;
4895
- min-width: clamp(24rem, 100%, 1406px);
4968
+ min-width: clamp(23rem, 100%, 1406px);
4896
4969
  }
4897
- .Layer__UnifiedReport .Layer__view-main.Layer__view-main {
4970
+ .Layer__view.Layer__UnifiedReport .Layer__view-main.Layer__view-main {
4898
4971
  padding: 0;
4899
4972
  }
4973
+ .Layer__view.Layer__UnifiedReport .Layer__view-header__children.Layer__view-header__children {
4974
+ width: max-content;
4975
+ }
4900
4976
 
4901
4977
  .Layer__UnifiedReport__Sidebar {
4902
4978
  flex-shrink: 0;
@@ -4906,40 +4982,81 @@
4906
4982
 
4907
4983
  .Layer__UnifiedReport__Content {
4908
4984
  min-width: 0;
4909
- }.Layer__AddToCalendar__CalendarIcon {
4910
- height: 1rem;
4911
- width: 1rem;
4912
- }.Layer__CallBooking {
4913
- padding: var(--spacing-lg);
4985
+ }.Layer__UI__DateTile {
4986
+ width: 5.5rem;
4987
+ border-radius: var(--border-radius-xs);
4988
+ border: 1px solid var(--color-base-200);
4989
+ background: var(--color-base-0);
4914
4990
  }
4915
- .Layer__CallBooking .Layer__CallBooking__Icon {
4916
- display: flex;
4917
- align-items: center;
4918
- justify-content: center;
4919
- height: 3rem;
4920
- width: 3rem;
4921
- border-radius: 50%;
4922
- background-color: var(--color-base-50);
4991
+ .Layer__UI__DateTile__Month, .Layer__UI__DateTile__Day, .Layer__UI__DateTile__Weekday {
4992
+ display: block;
4993
+ }
4994
+ .Layer__UI__DateTile__Month {
4995
+ background: var(--color-base-1000);
4996
+ line-height: 1.2;
4997
+ text-transform: uppercase;
4998
+ color: var(--color-base-0);
4999
+ }
5000
+ .Layer__UI__DateTile__Day {
5001
+ font-size: var(--text-heading-lg);
5002
+ line-height: 1;
4923
5003
  color: var(--color-base-900);
4924
5004
  }
4925
- .Layer__CallBooking .Layer__CallBooking__DetailRow {
4926
- display: grid;
4927
- grid-template-columns: 16px 72px 1fr;
4928
- column-gap: var(--spacing-sm);
4929
- align-items: center;
4930
- width: 100%;
5005
+ .Layer__UI__DateTile__Weekday {
5006
+ line-height: 1.2;
5007
+ text-transform: uppercase;
4931
5008
  }
4932
- .Layer__CallBooking .Layer__CallBooking__Actions {
4933
- width: 100%;
5009
+ @container (width <= 400px) {
5010
+ .Layer__UI__DateTile__Day {
5011
+ font-size: var(--text-heading);
5012
+ }
5013
+ }.Layer__CallBooking__HeaderDetails {
5014
+ min-width: 0;
4934
5015
  }
4935
- .Layer__CallBooking .Layer__CallBooking__Actions > * {
4936
- flex: 1;
5016
+ .Layer__CallBooking__TitleRow {
5017
+ flex-wrap: wrap;
5018
+ }
5019
+ .Layer__CallBooking__DateTimeRow, .Layer__CallBooking__LocationRow, .Layer__CallBooking__CoverageItem {
4937
5020
  min-width: 0;
4938
5021
  }
4939
-
4940
- @media (width <= 480px) {
4941
- .Layer__CallBooking {
4942
- padding: var(--spacing-md);
5022
+ .Layer__CallBooking__DateTimeRow {
5023
+ align-self: flex-start;
5024
+ color: var(--color-base-800);
5025
+ }
5026
+ .Layer__CallBooking__LocationRow {
5027
+ border-radius: var(--border-radius-5xl);
5028
+ background: var(--bg-muted);
5029
+ color: var(--fg-subtle);
5030
+ }
5031
+ .Layer__CallBooking__Divider {
5032
+ display: block;
5033
+ height: 1px;
5034
+ width: 100%;
5035
+ margin-block: var(--spacing-md);
5036
+ background: var(--bg-muted);
5037
+ }
5038
+ .Layer__CallBooking__CoverageHeading {
5039
+ display: block;
5040
+ line-height: 1.2;
5041
+ text-transform: uppercase;
5042
+ }
5043
+ .Layer__CallBooking__CoverageBadge {
5044
+ flex: 0 0 auto;
5045
+ height: var(--spacing-md);
5046
+ width: var(--spacing-md);
5047
+ border-radius: var(--border-radius-5xl);
5048
+ margin-top: var(--spacing-4xs);
5049
+ background: var(--color-info-success-bg);
5050
+ color: var(--color-info-success-fg);
5051
+ }
5052
+ @container (width <= 400px) {
5053
+ .Layer__CallBooking__HeaderRow {
5054
+ gap: var(--spacing-lg);
5055
+ }
5056
+ }
5057
+ @container (width <= 360px) {
5058
+ .Layer__CallBooking__JoinAction {
5059
+ flex: 1 1 100%;
4943
5060
  }
4944
5061
  }.Layer__YearPicker {
4945
5062
  inline-size: 8rem;
@@ -5106,6 +5223,8 @@
5106
5223
  }
5107
5224
  .Layer__TaxProfileForm .Layer__TaxProfileForm__Field--desktop {
5108
5225
  grid-template-columns: 16rem minmax(auto, 24rem);
5226
+ }.Layer__TaxBanner {
5227
+ max-width: 1406px;
5109
5228
  }.Layer__ExpandableCard {
5110
5229
  border-radius: 0;
5111
5230
  border: none;
@@ -5221,16 +5340,12 @@
5221
5340
  inline-size: 11rem;
5222
5341
  max-inline-size: 11rem;
5223
5342
  }
5224
- @container (max-width: 500px) {
5343
+ @media (width <= 500px) {
5225
5344
  .Layer__FullYearProjectionComboBox__Container {
5226
5345
  inline-size: 100%;
5227
5346
  max-inline-size: 100%;
5228
5347
  }
5229
- }@container (max-width: 500px) {
5230
- .Layer__TaxEstimatesHeader.Layer__TaxEstimatesHeader {
5231
- flex-direction: column;
5232
- align-items: flex-start;
5233
- }
5348
+ }@media (width <= 500px) {
5234
5349
  .Layer__TaxEstimatesHeader__ComboBoxContainer {
5235
5350
  width: 100%;
5236
5351
  }
@@ -5292,15 +5407,6 @@
5292
5407
  }
5293
5408
  .Layer__TaxEstimatesSummaryCard--summaryCard .Layer__TaxEstimatesSummaryCard__Content {
5294
5409
  align-items: center;
5295
- }
5296
-
5297
- @media (width >= 760px) {
5298
- .Layer__card.Layer__TaxEstimatesSummaryCard {
5299
- border-radius: 0;
5300
- border-right: none;
5301
- border-bottom: none;
5302
- border-left: none;
5303
- }
5304
5410
  }.Layer__MetricRow {
5305
5411
  min-block-size: 2.5rem;
5306
5412
  }
@@ -5387,15 +5493,113 @@
5387
5493
  }
5388
5494
  .Layer__TaxOverview__Card__MetricRow--mobile {
5389
5495
  gap: var(--spacing-sm);
5390
- padding: var(--spacing-sm);
5391
5496
  }
5392
5497
 
5393
5498
  .Layer__MetricCard .Layer__TaxOverview__Meter {
5394
5499
  width: 100%;
5395
5500
  min-width: 0;
5501
+ }.Layer__TaxOverview__DeadlineCard {
5502
+ box-sizing: border-box;
5503
+ min-width: 0;
5504
+ padding: 0;
5505
+ border-radius: var(--border-radius-xs);
5506
+ border: 1px solid var(--color-base-200);
5507
+ background-color: var(--color-base-0);
5508
+ }
5509
+ .Layer__TaxOverview__DeadlineReviewRow {
5510
+ background-color: var(--color-base-50);
5511
+ }
5512
+ .Layer__TaxOverview__DeadlineContent {
5513
+ min-width: 0;
5514
+ }
5515
+ .Layer__TaxOverview__DeadlineAmountColumn {
5516
+ flex-shrink: 0;
5517
+ min-width: 10rem;
5518
+ }
5519
+ .Layer__TaxOverview__DeadlineValueRow {
5520
+ justify-content: flex-end;
5521
+ }
5522
+ .Layer__TaxOverview__AmountIcon {
5523
+ display: inline-flex;
5524
+ align-items: center;
5525
+ justify-content: center;
5526
+ height: 1.25rem;
5527
+ width: 1.25rem;
5528
+ border-radius: 50%;
5529
+ background-color: var(--color-info-neutral-bg);
5530
+ color: var(--color-info-neutral-fg);
5531
+ }
5532
+ .Layer__TaxOverview__AmountIcon--warning {
5533
+ background-color: var(--color-info-warning-bg);
5534
+ color: var(--color-info-warning-fg);
5535
+ }
5536
+ .Layer__TaxOverview__AmountIcon--pastDue {
5537
+ background-color: var(--color-info-error-bg);
5538
+ color: var(--color-info-error);
5539
+ }
5540
+ .Layer__TaxOverview__AmountIcon--paid {
5541
+ background-color: var(--color-info-success-bg);
5542
+ color: var(--color-info-success);
5543
+ }
5544
+ .Layer__TaxOverview__AmountIcon--due {
5545
+ background-color: var(--color-info-bg);
5546
+ color: var(--color-info);
5547
+ }
5548
+ .Layer__TaxOverview__DeadlineReviewContent {
5549
+ min-width: 0;
5550
+ }
5551
+ .Layer__TaxOverview__DeadlineReviewIcon {
5552
+ display: inline-flex;
5553
+ align-items: center;
5554
+ justify-content: center;
5555
+ color: var(--color-info-warning);
5556
+ }
5557
+ .Layer__TaxOverview__DeadlineReviewLabel {
5558
+ color: var(--color-info-warning-fg);
5559
+ }
5560
+
5561
+ @media (width <= 500px) {
5562
+ .Layer__TaxOverview__DeadlineReviewRow button {
5563
+ width: fit-content;
5564
+ }
5565
+ }.Layer__TaxOverview__Card--deadlines {
5566
+ min-width: 25rem;
5567
+ }
5568
+ @container (max-width: 960px) {
5569
+ .Layer__TaxOverview__Card--deadlines {
5570
+ min-width: unset;
5571
+ }
5572
+ }
5573
+ .Layer__TaxOverview__Card.Layer__card {
5574
+ gap: var(--spacing-lg);
5575
+ padding: var(--spacing-lg);
5576
+ border: 1px solid var(--color-base-200);
5577
+ box-shadow: none;
5578
+ }
5579
+
5580
+ @container (max-width: 720px) {
5581
+ .Layer__TaxOverview__Card.Layer__card {
5582
+ gap: var(--spacing-md);
5583
+ }
5396
5584
  }.Layer__TaxOverview {
5397
5585
  inline-size: min(100%, 1406px);
5398
5586
  container-type: inline-size;
5587
+ }
5588
+ .Layer__TaxOverview__PrimaryColumn {
5589
+ flex: 1 1 0%;
5590
+ min-width: 0;
5591
+ }
5592
+ .Layer__TaxOverview__SecondaryColumn {
5593
+ flex: 0 0 38%;
5594
+ min-width: 23rem;
5595
+ max-width: 32rem;
5596
+ }
5597
+
5598
+ @container (max-width: 1140px) {
5599
+ .Layer__TaxOverview__SecondaryColumn {
5600
+ flex-basis: 36%;
5601
+ min-width: 22rem;
5602
+ }
5399
5603
  }.Layer__TaxPaymentsMobileList .Layer__TaxPayments__ErrorState,
5400
5604
  .Layer__TaxPaymentsMobileList .Layer__TaxPayments__EmptyState {
5401
5605
  padding: var(--spacing-sm);
@@ -5422,8 +5626,6 @@
5422
5626
  }
5423
5627
  .Layer__UI__Table__TaxPaymentsTable .Layer__DataTable__EmptyState__Row {
5424
5628
  background-color: var(--color-base-0);
5425
- }.Layer__TaxEstimates__TaxBannerWrapper {
5426
- inline-size: min(100%, 1406px);
5427
5629
  }.Layer__TimeTrackingServicesDrawer {
5428
5630
  box-sizing: border-box;
5429
5631
  }
@@ -7413,12 +7615,7 @@ tbody .Layer__table__empty-row:first-child {
7413
7615
  color: var(--color-warning);
7414
7616
  }
7415
7617
  .Layer__tasks-header {
7416
- display: flex;
7417
- gap: var(--spacing-md);
7418
- align-items: center;
7419
- justify-content: space-between;
7420
7618
  min-height: 36px;
7421
- padding: var(--spacing-md);
7422
7619
  container-type: inline-size;
7423
7620
  }
7424
7621
  .Layer__tasks__content {
@@ -7958,11 +8155,11 @@ tbody .Layer__table__empty-row:first-child {
7958
8155
  display: flex;
7959
8156
  align-items: center;
7960
8157
  min-height: 44px;
7961
- width: 100%;
7962
8158
  padding: var(--spacing-md) 0;
7963
8159
  }
7964
8160
  .Layer__view .Layer__view-header__content {
7965
8161
  display: flex;
8162
+ gap: var(--spacing-md);
7966
8163
  align-items: center;
7967
8164
  justify-content: space-between;
7968
8165
  width: 100%;
package/dist/index.d.ts CHANGED
@@ -107,7 +107,9 @@ export declare const BalanceSheet: (props: BalanceSheetProps) => JSX_2.Element;
107
107
 
108
108
  declare type BalanceSheetProps = PropsWithChildren<{
109
109
  effectiveDate?: Date;
110
- asWidget?: boolean;
110
+ /** @deprecated No longer used. Expand all does not exist in Balance Sheet. */
111
+ withExpandAllButton?: boolean;
112
+ view?: View;
111
113
  stringOverrides?: BalanceSheetStringOverrides;
112
114
  dateSelectionMode?: DateSelectionMode;
113
115
  }>;
@@ -495,9 +497,12 @@ declare interface GeneralLedgerStringOverrides {
495
497
 
496
498
  export declare const GeneralLedgerView: ({ title, showTitle, showTags, showCustomerVendor, stringOverrides, chartOfAccountsOptions, renderInAppLink, }: GeneralLedgerProps) => JSX_2.Element;
497
499
 
498
- export declare const GlobalDateRangeSelection: ({ showLabels }: {
500
+ export declare const GlobalDateRangeSelection: ({ showLabels, isCompact }: GlobalDateRangeSelectionProps) => JSX_2.Element;
501
+
502
+ declare type GlobalDateRangeSelectionProps = {
499
503
  showLabels?: boolean;
500
- }) => JSX_2.Element;
504
+ isCompact?: boolean;
505
+ };
501
506
 
502
507
  export declare const GlobalMonthPicker: ({ truncateMonth, showLabel }: GlobalMonthPickerProps) => JSX_2.Element;
503
508
 
@@ -1024,6 +1029,7 @@ declare interface SourceDetailStringOverrides {
1024
1029
  export declare const StatementOfCashFlow: (props: StatementOfCashFlowProps) => JSX_2.Element;
1025
1030
 
1026
1031
  declare type StatementOfCashFlowProps = TimeRangePickerConfig & {
1032
+ view?: View;
1027
1033
  stringOverrides?: StatementOfCashFlowStringOverrides;
1028
1034
  };
1029
1035
 
@@ -1080,7 +1086,16 @@ declare interface TasksStringOverrides {
1080
1086
  header?: string;
1081
1087
  }
1082
1088
 
1083
- export declare const TaxEstimates: () => JSX_2.Element;
1089
+ declare type TaxEstimatesContextProviderProps = PropsWithChildren<{
1090
+ onClickReviewTransactions?: (payload: TaxEstimatesReviewTransactionsPayload) => void;
1091
+ }>;
1092
+
1093
+ declare type TaxEstimatesProps = TaxEstimatesContextProviderProps;
1094
+
1095
+ declare type TaxEstimatesReviewTransactionsPayload = {
1096
+ uncategorizedAmount: number;
1097
+ uncategorizedTransactionCount: number;
1098
+ };
1084
1099
 
1085
1100
  declare type TimeRangePickerConfig = {
1086
1101
  /**
@@ -1133,6 +1148,8 @@ export declare const unstable_MileageTracking: ({ showTitle }: {
1133
1148
  showTitle?: boolean;
1134
1149
  }) => JSX_2.Element;
1135
1150
 
1151
+ export declare const unstable_TaxEstimates: ({ onClickReviewTransactions: onReviewClicked }: TaxEstimatesProps) => JSX_2.Element;
1152
+
1136
1153
  export declare const unstable_TimeTracking: ({ showTitle, onReportsClick, stringOverrides }: TimeTrackingProps) => JSX_2.Element;
1137
1154
 
1138
1155
  export declare const unstable_UnifiedReports: ({ dateSelectionMode }: UnifiedReportProps) => JSX_2.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerfi/components",
3
- "version": "0.1.128-alpha.1",
3
+ "version": "0.1.128-alpha.2",
4
4
  "description": "Layer React Components",
5
5
  "main": "dist/cjs/index.cjs",
6
6
  "module": "dist/esm/index.mjs",