@mercoa/react 0.0.7 → 0.0.8-rc2
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/README.md +4 -0
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -0
- package/package.json +12 -6
package/README.md
CHANGED
|
@@ -20,6 +20,10 @@ In your `tailwind.config.ts` or `tailwind.config.js` file, you will also need to
|
|
|
20
20
|
```javascript
|
|
21
21
|
const config: Config = {
|
|
22
22
|
// ...
|
|
23
|
+
content: [
|
|
24
|
+
// ...
|
|
25
|
+
'./node_modules/@mercoa/react/**/*.{js,ts,jsx,tsx}',
|
|
26
|
+
],
|
|
23
27
|
theme: {
|
|
24
28
|
// ...
|
|
25
29
|
colors: {
|
package/dist/index.es.js
CHANGED
|
@@ -73471,7 +73471,7 @@ function InvoiceDetails({
|
|
|
73471
73471
|
] }),
|
|
73472
73472
|
/* @__PURE__ */ jsx(InvoiceDocuments, { documents: new Array(ur), height: Tr })
|
|
73473
73473
|
] }) : /* @__PURE__ */ jsx(InvoiceDocumentsUpload, { onFileUpload: Sr }) });
|
|
73474
|
-
return sr ? /* @__PURE__ */ jsx(Fragment, { children: sr({ invoice: br, documents: yr }) }) : br ? /* @__PURE__ */ jsxs(X$3, { children: [
|
|
73474
|
+
return sr ? /* @__PURE__ */ jsx(Fragment, { children: sr({ invoice: br, documents: yr }) }) : !br && nr ? /* @__PURE__ */ jsx(LoadingSpinner, {}) : /* @__PURE__ */ jsxs(X$3, { children: [
|
|
73475
73475
|
/* @__PURE__ */ jsx(_$3, { minSize: 0, children: Ur }),
|
|
73476
73476
|
/* @__PURE__ */ jsx(ne$1, { size: 5, className: "bg-gray-200 cursor-ew-resize invisible min-[450px]:visible", children: /* @__PURE__ */ jsx("div", { className: "w-3 h-10 bg-gray-500 absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2" }) }),
|
|
73477
73477
|
/* @__PURE__ */ jsxs(_$3, { className: "pl-5 relative", minSize: 400, children: [
|
|
@@ -73505,7 +73505,7 @@ function InvoiceDetails({
|
|
|
73505
73505
|
}
|
|
73506
73506
|
)
|
|
73507
73507
|
] })
|
|
73508
|
-
] })
|
|
73508
|
+
] });
|
|
73509
73509
|
}
|
|
73510
73510
|
function InvoiceDocumentsUpload({ onFileUpload: nr }) {
|
|
73511
73511
|
const or = (ir) => new Promise((ar, sr) => {
|