@layerfi/components 0.1.122-alpha → 0.1.123-alpha
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 +41413 -47493
- package/dist/esm/index.mjs +40182 -46219
- package/dist/index.css +8792 -8713
- package/dist/index.d.ts +6 -4
- package/package.json +8 -4
package/dist/index.d.ts
CHANGED
|
@@ -505,9 +505,12 @@ declare interface GeneralLedgerStringOverrides {
|
|
|
505
505
|
|
|
506
506
|
export declare const GeneralLedgerView: ({ title, showTitle, showTags, showCustomerVendor, stringOverrides, chartOfAccountsOptions, renderInAppLink, }: GeneralLedgerProps) => JSX_2.Element;
|
|
507
507
|
|
|
508
|
-
export declare const GlobalMonthPicker: ({ truncateMonth }:
|
|
508
|
+
export declare const GlobalMonthPicker: ({ truncateMonth, showLabel }: GlobalMonthPickerProps) => JSX_2.Element;
|
|
509
|
+
|
|
510
|
+
declare type GlobalMonthPickerProps = {
|
|
509
511
|
truncateMonth?: boolean;
|
|
510
|
-
|
|
512
|
+
showLabel?: boolean;
|
|
513
|
+
};
|
|
511
514
|
|
|
512
515
|
/**
|
|
513
516
|
* Configuration for the hero/main content section of the Landing Page page
|
|
@@ -538,11 +541,10 @@ declare interface IntegrationsProps {
|
|
|
538
541
|
};
|
|
539
542
|
}
|
|
540
543
|
|
|
541
|
-
export declare const Invoices: ({ stringOverrides
|
|
544
|
+
export declare const Invoices: ({ stringOverrides }: InvoicesProps) => JSX_2.Element;
|
|
542
545
|
|
|
543
546
|
declare interface InvoicesProps {
|
|
544
547
|
stringOverrides?: InvoicesStringOverrides;
|
|
545
|
-
onSendInvoice?: (invoiceId: string) => Awaitable<void>;
|
|
546
548
|
}
|
|
547
549
|
|
|
548
550
|
declare interface InvoicesStringOverrides {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layerfi/components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.123-alpha",
|
|
4
4
|
"description": "Layer React Components",
|
|
5
5
|
"main": "dist/cjs/index.cjs",
|
|
6
6
|
"module": "dist/esm/index.mjs",
|
|
@@ -22,7 +22,9 @@
|
|
|
22
22
|
"typecheck": "tsc --noEmit",
|
|
23
23
|
"build": "vite build --config vite/vite.config.ts --mode esm && vite build --config vite/vite.config.ts --mode cjs",
|
|
24
24
|
"build:clean": "rm -rf ./dist && npm run build",
|
|
25
|
-
"dev": "vite build --config vite/vite.config.ts --mode esm --watch",
|
|
25
|
+
"dev:js": "vite build --config vite/vite.config.ts --mode esm --watch",
|
|
26
|
+
"dev:types": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json && tsc -p tsconfig.build.json --watch --preserveWatchOutput & chokidar 'dist/**/*.d.ts' --silent -c 'tsc-alias -p tsconfig.build.json'",
|
|
27
|
+
"dev": "npm run dev:js & npm run dev:types",
|
|
26
28
|
"prepack": "npm run typecheck && npm run build:clean",
|
|
27
29
|
"lint": "eslint . && stylelint '**/*.{css,scss}'",
|
|
28
30
|
"lint:fix": "eslint . --fix && stylelint '**/*.{css,scss}' --fix",
|
|
@@ -60,7 +62,8 @@
|
|
|
60
62
|
"@types/pluralize": "^0.0.33",
|
|
61
63
|
"@types/react": "^18.2.0",
|
|
62
64
|
"@types/react-dom": "^18.2.0",
|
|
63
|
-
"@vitejs/plugin-react": "^5.
|
|
65
|
+
"@vitejs/plugin-react": "^5.1.3",
|
|
66
|
+
"chokidar-cli": "^3.0.0",
|
|
64
67
|
"eslint": "^9.26.0",
|
|
65
68
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
66
69
|
"eslint-plugin-import": "^2.32.0",
|
|
@@ -78,10 +81,11 @@
|
|
|
78
81
|
"stylelint-config-standard-scss": "^15.0.1",
|
|
79
82
|
"stylelint-order": "^7.0.0",
|
|
80
83
|
"ts-morph": "^27.0.2",
|
|
84
|
+
"tsc-alias": "^1.8.16",
|
|
81
85
|
"tsx": "^4.20.6",
|
|
82
86
|
"typescript": "^5.8.3",
|
|
83
87
|
"typescript-eslint": "^8.32.0",
|
|
84
|
-
"vite": "
|
|
88
|
+
"vite": "npm:rolldown-vite@7.3.1",
|
|
85
89
|
"vite-plugin-dts": "^4.5.4",
|
|
86
90
|
"vite-tsconfig-paths": "^5.1.4"
|
|
87
91
|
},
|