@layerfi/components 0.1.122 → 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 +41410 -47477
- package/dist/esm/index.mjs +40179 -46203
- package/dist/index.css +8774 -8702
- package/dist/index.d.ts +1 -2
- package/package.json +8 -4
package/dist/index.d.ts
CHANGED
|
@@ -541,11 +541,10 @@ declare interface IntegrationsProps {
|
|
|
541
541
|
};
|
|
542
542
|
}
|
|
543
543
|
|
|
544
|
-
export declare const Invoices: ({ stringOverrides
|
|
544
|
+
export declare const Invoices: ({ stringOverrides }: InvoicesProps) => JSX_2.Element;
|
|
545
545
|
|
|
546
546
|
declare interface InvoicesProps {
|
|
547
547
|
stringOverrides?: InvoicesStringOverrides;
|
|
548
|
-
onSendInvoice?: (invoiceId: string) => Awaitable<void>;
|
|
549
548
|
}
|
|
550
549
|
|
|
551
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
|
},
|