@layerfi/components 0.1.117-alpha → 0.1.117

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
@@ -3142,10 +3142,6 @@ tbody .Layer__table__empty-row:first-child {
3142
3142
  justify-content: space-between;
3143
3143
  min-height: 40px;
3144
3144
  }
3145
- .Layer__bank-transactions__header__content-title {
3146
- display: flex;
3147
- align-items: center;
3148
- }
3149
3145
  .Layer__bank-transactions__header.Layer__bank-transactions__header--mobile {
3150
3146
  background-color: transparent;
3151
3147
  }
@@ -3742,15 +3738,14 @@ tbody .Layer__table__empty-row:first-child {
3742
3738
  position: sticky;
3743
3739
  z-index: 2;
3744
3740
  top: 0;
3745
- padding-right: 0;
3746
- padding-left: 0;
3747
3741
  border-top-left-radius: var(--border-radius-sm);
3748
3742
  border-top-right-radius: var(--border-radius-sm);
3749
3743
  box-shadow: 0 -1px 0 0 rgba(23, 51, 45, 0.16) inset;
3750
3744
  background-color: var(--table-bg);
3751
3745
  }
3752
3746
  .Layer__bank-transactions__header.Layer__bank-transactions__header--mobile {
3753
- padding-bottom: var(--spacing-2xs);
3747
+ padding-block-end: var(--spacing-sm);
3748
+ padding-inline: 0;
3754
3749
  box-shadow: none;
3755
3750
  }
3756
3751
  }
@@ -4194,6 +4189,9 @@ tbody .Layer__table__empty-row:first-child {
4194
4189
  padding: 0;
4195
4190
  list-style: none;
4196
4191
  }
4192
+ .Layer__bank-transactions__mobile-list .Layer__bank-transaction-mobile-list-item:first-child {
4193
+ margin-top: 0;
4194
+ }
4197
4195
  .Layer__bank-transaction-mobile-list-item {
4198
4196
  box-sizing: border-box;
4199
4197
  width: 100%;
@@ -8247,12 +8245,7 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
8247
8245
  }
8248
8246
  .Layer__BankTransactionsActions > [slot=download-upload] {
8249
8247
  grid-area: download-upload;
8250
- }.Layer__BulkActionsModule {
8251
- max-width: 100%;
8252
- }
8253
-
8254
- .Layer__BulkActionsModule__SelectedItemsContainer {
8255
- flex-shrink: 0;
8248
+ }.Layer__BulkActionsModule__SelectedItemsContainer {
8256
8249
  height: 2.25rem;
8257
8250
  border-radius: var(--border-radius-2xs);
8258
8251
  border: 1px solid var(--color-base-300);
@@ -8317,7 +8310,7 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
8317
8310
  .Layer__MonthPicker__InputGroup {
8318
8311
  inline-size: 12rem;
8319
8312
  }
8320
- .Layer__MonthPicker__InputGroup--mobile {
8313
+ .Layer__MonthPicker__InputGroup--truncated {
8321
8314
  inline-size: 12ch;
8322
8315
  }.Layer__NewToggle {
8323
8316
  box-sizing: border-box;
@@ -8335,6 +8328,12 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
8335
8328
  isolation: isolate;
8336
8329
  -webkit-tap-highlight-color: transparent;
8337
8330
  -webkit-touch-callout: none;
8331
+ }
8332
+ .Layer__NewToggle[data-full-width] {
8333
+ inline-size: 100%;
8334
+ }
8335
+ .Layer__NewToggle[data-full-width] .Layer__NewToggleOption {
8336
+ flex: 1;
8338
8337
  }.Layer__NewToggleOption {
8339
8338
  box-sizing: border-box;
8340
8339
  position: relative;
@@ -8701,8 +8700,6 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
8701
8700
  border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
8702
8701
  border-top: 1px solid var(--color-base-400);
8703
8702
  background-color: var(--color-base-100);
8704
- }.Layer__BankTransactionsMobileBulkActionsHeader__checkbox-container {
8705
- gap: 20px;
8706
8703
  }.Layer__BusinessFormMobile {
8707
8704
  border-radius: var(--border-radius-2xs);
8708
8705
  border: 1px solid var(--color-base-300);
@@ -10476,66 +10473,6 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
10476
10473
  }
10477
10474
  .Layer__project-view .Layer__select__menu {
10478
10475
  z-index: 2;
10479
- }.Layer__reports-selector {
10480
- display: flex;
10481
- gap: var(--spacing-xs);
10482
- align-items: center;
10483
- padding: var(--spacing-sm) var(--spacing-md);
10484
- border-radius: var(--border-radius-2xs);
10485
- border: none;
10486
- background-color: transparent;
10487
- cursor: pointer;
10488
- color: var(--color-base-1000);
10489
- transition: background-color 0.2s;
10490
- }
10491
- .Layer__reports-selector__chevron {
10492
- color: var(--color-base-700);
10493
- }
10494
-
10495
- .Layer__reports-selector-drawer {
10496
- height: 100%;
10497
- }
10498
- .Layer__reports-selector-drawer__header {
10499
- border-bottom: 1px solid var(--color-base-200);
10500
- }
10501
- .Layer__reports-selector-drawer__options {
10502
- flex: 1;
10503
- overflow-y: auto;
10504
- }
10505
- .Layer__reports-selector-drawer__option {
10506
- display: flex;
10507
- align-items: center;
10508
- min-height: 56px;
10509
- width: 100%;
10510
- padding: var(--spacing-md) var(--spacing-lg);
10511
- border: none;
10512
- border-bottom: 1px solid var(--color-base-100);
10513
- background: var(--color-base-0);
10514
- cursor: pointer;
10515
- text-align: left;
10516
- color: var(--color-base-1000);
10517
- transition: background-color 0.2s;
10518
- }
10519
- .Layer__reports-selector-drawer__option:hover {
10520
- background: var(--color-base-50);
10521
- }
10522
- .Layer__reports-selector-drawer__option:active {
10523
- background: var(--color-base-100);
10524
- }
10525
- .Layer__reports-selector-drawer__option--selected {
10526
- background: var(--color-primary-50);
10527
- color: var(--color-primary-900);
10528
- }
10529
- .Layer__reports-selector-drawer__option--selected:hover {
10530
- background: var(--color-primary-100);
10531
- }
10532
- .Layer__reports-selector-drawer__option--selected:active {
10533
- background: var(--color-primary-150);
10534
- }
10535
-
10536
- .Layer__Reports__header-row {
10537
- padding-block-start: 0.5rem;
10538
- padding-block-end: 0.75rem;
10539
10476
  }.Layer__toasts-container {
10540
10477
  position: fixed;
10541
10478
  z-index: 1000;
package/dist/index.d.ts CHANGED
@@ -407,6 +407,8 @@ declare type DeepPartial<T> = {
407
407
  declare interface DetailedChartStringOverrides {
408
408
  expenseChartHeader?: string;
409
409
  revenueChartHeader?: string;
410
+ revenueToggleLabel?: string;
411
+ expenseToggleLabel?: string;
410
412
  }
411
413
 
412
414
  declare interface DetailedTableStringOverrides {
@@ -499,6 +501,10 @@ declare interface GeneralLedgerStringOverrides {
499
501
 
500
502
  export declare const GeneralLedgerView: ({ title, showTitle, showTags, showCustomerVendor, stringOverrides, chartOfAccountsOptions, renderInAppLink, }: GeneralLedgerProps) => JSX_2.Element;
501
503
 
504
+ export declare const GlobalMonthPicker: ({ truncateMonth }: {
505
+ truncateMonth?: boolean;
506
+ }) => JSX_2.Element;
507
+
502
508
  /**
503
509
  * Configuration for the hero/main content section of the Landing Page page
504
510
  */
@@ -1035,7 +1041,6 @@ export declare const StatementOfCashFlow: (props: StatementOfCashFlowProps) => J
1035
1041
 
1036
1042
  declare type StatementOfCashFlowProps = TimeRangePickerConfig & {
1037
1043
  stringOverrides?: StatementOfCashFlowStringOverrides;
1038
- view?: ViewBreakpoint_2;
1039
1044
  };
1040
1045
 
1041
1046
  declare interface StatementOfCashFlowStringOverrides {
@@ -1297,8 +1302,6 @@ declare type View = 'mobile' | 'tablet' | 'desktop';
1297
1302
 
1298
1303
  declare type ViewBreakpoint = View | undefined;
1299
1304
 
1300
- declare type ViewBreakpoint_2 = View | undefined;
1301
-
1302
1305
  export { }
1303
1306
 
1304
1307
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerfi/components",
3
- "version": "0.1.117-alpha",
3
+ "version": "0.1.117",
4
4
  "description": "Layer React Components",
5
5
  "main": "dist/cjs/index.cjs",
6
6
  "module": "dist/esm/index.mjs",