aboutsummaryrefslogtreecommitdiff
path: root/packages/demobank-ui
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-05-30 14:59:03 -0300
committerSebastian <sebasjm@gmail.com>2023-06-01 12:24:05 -0300
commit5e4c12831991660de627cad9c4ce0ee03ad5053d (patch)
tree5dce92a3f31c20c6da7e21bc466d17472378d697 /packages/demobank-ui
parent592387cd742d2080eb3f53c755d53a4f017551be (diff)
downloadwallet-core-5e4c12831991660de627cad9c4ce0ee03ad5053d.tar.xz
use latest linaria lib
Diffstat (limited to 'packages/demobank-ui')
-rwxr-xr-xpackages/demobank-ui/dev.mjs3
-rw-r--r--packages/demobank-ui/src/pages/BankFrame.stories.tsx29
-rw-r--r--packages/demobank-ui/src/pages/index.stories.tsx1
3 files changed, 32 insertions, 1 deletions
diff --git a/packages/demobank-ui/dev.mjs b/packages/demobank-ui/dev.mjs
index 0c8289156..b1bfc12eb 100755
--- a/packages/demobank-ui/dev.mjs
+++ b/packages/demobank-ui/dev.mjs
@@ -16,7 +16,7 @@
*/
import { serve } from "@gnu-taler/web-util/node";
-import { initializeDev, getFilesInDirectory } from "@gnu-taler/web-util/build";
+import { initializeDev } from "@gnu-taler/web-util/build";
const devEntryPoints = ["src/stories.tsx", "src/index.tsx"];
@@ -26,6 +26,7 @@ const build = initializeDev({
assets: ["src/index.html"],
},
destination: "./dist/dev",
+ public: "/app",
css: "sass",
});
diff --git a/packages/demobank-ui/src/pages/BankFrame.stories.tsx b/packages/demobank-ui/src/pages/BankFrame.stories.tsx
new file mode 100644
index 000000000..a64885489
--- /dev/null
+++ b/packages/demobank-ui/src/pages/BankFrame.stories.tsx
@@ -0,0 +1,29 @@
+/*
+ This file is part of GNU Taler
+ (C) 2022 Taler Systems S.A.
+
+ GNU Taler is free software; you can redistribute it and/or modify it under the
+ terms of the GNU General Public License as published by the Free Software
+ Foundation; either version 3, or (at your option) any later version.
+
+ GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+ A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along with
+ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
+ */
+
+/**
+ *
+ * @author Sebastian Javier Marchano (sebasjm)
+ */
+
+import * as tests from "@gnu-taler/web-util/testing";
+import { BankFrame } from "./BankFrame.js";
+
+export default {
+ title: "bank frame",
+};
+
+export const Ready = tests.createExample(BankFrame, {});
diff --git a/packages/demobank-ui/src/pages/index.stories.tsx b/packages/demobank-ui/src/pages/index.stories.tsx
index 10ce479a1..168e9938e 100644
--- a/packages/demobank-ui/src/pages/index.stories.tsx
+++ b/packages/demobank-ui/src/pages/index.stories.tsx
@@ -17,3 +17,4 @@
export * as qr from "./QrCodeSection.stories.js";
export * as po from "./PaymentOptions.stories.js";
export * as ptf from "./PaytoWireTransferForm.stories.js";
+export * as frame from "./BankFrame.stories.js";