@layerfi/components 0.1.117-alpha → 0.1.117-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/cjs/index.cjs +202 -376
- package/dist/esm/index.mjs +202 -376
- package/dist/index.css +22 -78
- package/dist/index.d.ts +6 -3
- package/package.json +1 -1
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,16 +3738,17 @@ 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-
|
|
3747
|
+
padding-block-end: var(--spacing-sm);
|
|
3748
|
+
padding-inline-start: 0;
|
|
3749
|
+
padding-inline-end: var(--spacing-md);
|
|
3754
3750
|
box-shadow: none;
|
|
3751
|
+
margin-inline-start: var(--spacing-md);
|
|
3755
3752
|
}
|
|
3756
3753
|
}
|
|
3757
3754
|
.Layer__bank-transaction-list-item__match-tooltip,
|
|
@@ -4194,13 +4191,16 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
4194
4191
|
padding: 0;
|
|
4195
4192
|
list-style: none;
|
|
4196
4193
|
}
|
|
4194
|
+
.Layer__bank-transactions__mobile-list .Layer__bank-transaction-mobile-list-item:first-child {
|
|
4195
|
+
margin-top: 0;
|
|
4196
|
+
}
|
|
4197
4197
|
.Layer__bank-transaction-mobile-list-item {
|
|
4198
4198
|
box-sizing: border-box;
|
|
4199
|
-
width:
|
|
4199
|
+
width: 95%;
|
|
4200
4200
|
padding: 0;
|
|
4201
4201
|
border-radius: var(--border-radius-sm);
|
|
4202
4202
|
border: 1px solid var(--border-color);
|
|
4203
|
-
margin: var(--spacing-2xs)
|
|
4203
|
+
margin: var(--spacing-2xs) var(--spacing-md);
|
|
4204
4204
|
background: var(--color-base-0);
|
|
4205
4205
|
cursor: pointer;
|
|
4206
4206
|
user-select: none;
|
|
@@ -8247,12 +8247,7 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
|
|
|
8247
8247
|
}
|
|
8248
8248
|
.Layer__BankTransactionsActions > [slot=download-upload] {
|
|
8249
8249
|
grid-area: download-upload;
|
|
8250
|
-
}.
|
|
8251
|
-
max-width: 100%;
|
|
8252
|
-
}
|
|
8253
|
-
|
|
8254
|
-
.Layer__BulkActionsModule__SelectedItemsContainer {
|
|
8255
|
-
flex-shrink: 0;
|
|
8250
|
+
}.Layer__BulkActionsModule__SelectedItemsContainer {
|
|
8256
8251
|
height: 2.25rem;
|
|
8257
8252
|
border-radius: var(--border-radius-2xs);
|
|
8258
8253
|
border: 1px solid var(--color-base-300);
|
|
@@ -8317,7 +8312,7 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
|
|
|
8317
8312
|
.Layer__MonthPicker__InputGroup {
|
|
8318
8313
|
inline-size: 12rem;
|
|
8319
8314
|
}
|
|
8320
|
-
.Layer__MonthPicker__InputGroup--
|
|
8315
|
+
.Layer__MonthPicker__InputGroup--truncated {
|
|
8321
8316
|
inline-size: 12ch;
|
|
8322
8317
|
}.Layer__NewToggle {
|
|
8323
8318
|
box-sizing: border-box;
|
|
@@ -8335,6 +8330,12 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
|
|
|
8335
8330
|
isolation: isolate;
|
|
8336
8331
|
-webkit-tap-highlight-color: transparent;
|
|
8337
8332
|
-webkit-touch-callout: none;
|
|
8333
|
+
}
|
|
8334
|
+
.Layer__NewToggle[data-full-width] {
|
|
8335
|
+
inline-size: 100%;
|
|
8336
|
+
}
|
|
8337
|
+
.Layer__NewToggle[data-full-width] .Layer__NewToggleOption {
|
|
8338
|
+
flex: 1;
|
|
8338
8339
|
}.Layer__NewToggleOption {
|
|
8339
8340
|
box-sizing: border-box;
|
|
8340
8341
|
position: relative;
|
|
@@ -8701,8 +8702,11 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
|
|
|
8701
8702
|
border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
|
|
8702
8703
|
border-top: 1px solid var(--color-base-400);
|
|
8703
8704
|
background-color: var(--color-base-100);
|
|
8704
|
-
}.
|
|
8705
|
-
|
|
8705
|
+
}.Layer__BankTransactionsMobileBulkActionsHeader {
|
|
8706
|
+
border-radius: var(--input-border-radius);
|
|
8707
|
+
border: 1px solid var(--border-color);
|
|
8708
|
+
margin-inline-start: var(--spacing-md);
|
|
8709
|
+
background-color: var(--color-base-100);
|
|
8706
8710
|
}.Layer__BusinessFormMobile {
|
|
8707
8711
|
border-radius: var(--border-radius-2xs);
|
|
8708
8712
|
border: 1px solid var(--color-base-300);
|
|
@@ -10476,66 +10480,6 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
|
|
|
10476
10480
|
}
|
|
10477
10481
|
.Layer__project-view .Layer__select__menu {
|
|
10478
10482
|
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
10483
|
}.Layer__toasts-container {
|
|
10540
10484
|
position: fixed;
|
|
10541
10485
|
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
|
|