diff --git a/lib/vite-plugin-scope-tailwind b/lib/vite-plugin-scope-tailwind
deleted file mode 160000
index cec13df..0000000
--- a/lib/vite-plugin-scope-tailwind
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit cec13df7edcb480dfb111de3c74887f1c3ffb7e2
diff --git a/package.json b/package.json
index 30efe6e..a8e9a5f 100644
--- a/package.json
+++ b/package.json
@@ -1,66 +1,74 @@
{
- "$schema": "https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/package.json",
- "name": "sdk",
- "private": true,
- "version": "0.0.0",
- "type": "module",
- "main": "./src/main.ts",
- "types": "./src/main.ts",
- "scripts": {
- "dev": "vite",
- "build-pkg": "tsc -p ./tsconfig.build.json && vite build",
- "build": "zx ./scripts/build.mjs",
- "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
- "preview": "vite preview",
- "storybook": "storybook dev -p 6006",
- "build-storybook": "storybook build"
- },
- "dependencies": {
- "@lumeweb/kernel-network-registry-client": "0.1.0-develop.10",
- "@lumeweb/libkernel": "0.1.0-develop.65",
- "@radix-ui/react-dialog": "^1.0.5",
- "@radix-ui/react-icons": "^1.3.0",
- "@radix-ui/react-slot": "^1.0.2",
- "class-variance-authority": "^0.7.0",
- "clsx": "^2.0.0",
- "framer-motion": "^10.16.4",
- "react": "^18.2.0",
- "react-dom": "^18.2.0",
- "tailwind-merge": "^1.14.0",
- "tailwindcss-animate": "^1.0.7",
- "vite-plugin-node-polyfills": "^0.15.0",
- "vite-plugin-optimizer": "^1.4.2"
- },
- "devDependencies": {
- "@storybook/addon-essentials": "^7.4.6",
- "@storybook/addon-interactions": "^7.4.6",
- "@storybook/addon-links": "^7.4.6",
- "@storybook/addon-onboarding": "^1.0.8",
- "@storybook/blocks": "^7.4.6",
- "@storybook/react": "^7.4.6",
- "@storybook/react-vite": "^7.4.6",
- "@storybook/testing-library": "^0.2.2",
- "@types/react": "^18.2.15",
- "@types/react-dom": "^18.2.7",
- "@types/uniqid": "^5.3.2",
- "@typescript-eslint/eslint-plugin": "^6.0.0",
- "@typescript-eslint/parser": "^6.0.0",
- "@vitejs/plugin-react": "^4.0.3",
- "autoprefixer": "^10.4.16",
- "eslint": "^8.45.0",
- "eslint-plugin-react-hooks": "^4.6.0",
- "eslint-plugin-react-refresh": "^0.4.3",
- "eslint-plugin-storybook": "^0.6.14",
- "json": "^11.0.0",
- "postcss": "^8.4.31",
- "storybook": "^7.4.6",
- "tailwindcss": "^3.3.3",
- "typescript": "^5.0.2",
- "uniqid": "^5.4.0",
- "vite": "^4.4.5",
- "vite-plugin-dts": "^3.6.0",
- "vite-plugin-scope-tailwind": "^1.1.3",
- "vite-plugin-svgr": "^4.1.0",
- "zx": "^7.2.3"
- }
+ "name": "@lumreb/sdk",
+ "private": true,
+ "version": "0.1.0",
+ "type": "module",
+ "main": "src/index.ts",
+ "types": "./src/main.ts",
+ "scripts": {
+ "prepare": "presetter bootstrap",
+ "build": "run build",
+ "storybook": "storybook dev -p 6006",
+ "build-storybook": "storybook build"
+ },
+ "dependencies": {
+ "@lumeweb/kernel-network-registry-client": "0.1.0-develop.10",
+ "@lumeweb/libkernel": "0.1.0-develop.65",
+ "@radix-ui/react-dialog": "^1.0.5",
+ "@radix-ui/react-icons": "^1.3.0",
+ "@radix-ui/react-slot": "^1.0.2",
+ "class-variance-authority": "^0.7.0",
+ "clsx": "^2.0.0",
+ "framer-motion": "^10.16.4",
+ "react": "^18.2.0",
+ "react-dom": "^18.2.0",
+ "tailwind-merge": "^1.14.0",
+ "tailwindcss-animate": "^1.0.7",
+ "vite-plugin-node-polyfills": "^0.15.0"
+ },
+ "devDependencies": {
+ "@lumeweb/node-library-preset": "*",
+ "@radix-ui/react-dialog": "^1.0.5",
+ "@radix-ui/react-icons": "^1.3.0",
+ "@storybook/addon-essentials": "^7.4.6",
+ "@storybook/addon-interactions": "^7.4.6",
+ "@storybook/addon-links": "^7.4.6",
+ "@storybook/addon-onboarding": "^1.0.8",
+ "@storybook/blocks": "^7.4.6",
+ "@storybook/react": "^7.4.6",
+ "@storybook/react-vite": "^7.4.6",
+ "@storybook/testing-library": "^0.2.2",
+ "@types/react": "^18.2.25",
+ "@types/react-dom": "^18.2.11",
+ "@types/uniqid": "^5.3.2",
+ "@typescript-eslint/eslint-plugin": "^6.7.4",
+ "@typescript-eslint/parser": "^6.7.4",
+ "@vitejs/plugin-react": "^4.1.0",
+ "autoprefixer": "^10.4.16",
+ "class-variance-authority": "^0.7.0",
+ "eslint": "^8.51.0",
+ "eslint-plugin-react-hooks": "^4.6.0",
+ "eslint-plugin-react-refresh": "^0.4.3",
+ "eslint-plugin-storybook": "^0.6.15",
+ "framer-motion": "^10.16.4",
+ "json": "^11.0.0",
+ "postcss": "^8.4.31",
+ "presetter": "*",
+ "react": "^18.2.0",
+ "react-dom": "^18.2.0",
+ "storybook": "^7.4.6",
+ "tailwind-merge": "^1.14.0",
+ "tailwindcss": "^3.3.3",
+ "tailwindcss-animate": "^1.0.7",
+ "typescript": "^5.2.2",
+ "uniqid": "^5.4.0",
+ "vite": "^4.4.11",
+ "vite-plugin-dts": "^3.6.0",
+ "vite-plugin-node-polyfills": "^0.15.0",
+ "vite-plugin-optimizer": "^1.4.2",
+ "vite-plugin-scope-tailwind": "^1.1.3",
+ "vite-plugin-svgr": "^4.1.0"
+ },
+ "readme": "ERROR: No README data found!",
+ "_id": "@lumeweb/sdk@0.1.0"
}
diff --git a/src/components/lume/LumeIdentity/LumeIdentity.tsx b/src/components/lume/LumeIdentity/LumeIdentity.tsx
index 2166b62..ee6ba46 100644
--- a/src/components/lume/LumeIdentity/LumeIdentity.tsx
+++ b/src/components/lume/LumeIdentity/LumeIdentity.tsx
@@ -1,9 +1,9 @@
-import { Button } from "../../ui/button.tsx";
+import { Button } from "../../ui/button";
import {
SwitchableComponent,
SwitchableComponentProvider,
useSwitchableComponent,
-} from "../../SwitchableComponent.tsx";
+} from "../../SwitchableComponent";
import * as ComponentList from "./components";
import { LumeIdentityContext, Session } from "./LumeIdentityContext";
import { LazyMotion, domAnimation } from "framer-motion";
@@ -14,23 +14,23 @@ import { useState } from "react";
const LumeIdentity: FC = () => {
const { visibleComponent, setVisibleComponent } = useSwitchableComponent(
- ComponentList.SubmitButton
+ ComponentList.SubmitButton,
);
const isSubmitButtonInView = [ComponentList.SubmitButton.index].includes(
- visibleComponent.index
+ visibleComponent.index,
);
const isLoginWithAccountKey = [ComponentList.SeedPhraseInput.index].includes(
- visibleComponent.index
+ visibleComponent.index,
);
const isCreatingAccount = [ComponentList.SetupAccountKey.index].includes(
- visibleComponent.index
+ visibleComponent.index,
);
const isShowingSeedPhrase = [
ComponentList.SeedPhraseGeneration.index,
].includes(visibleComponent.index);
const isFinalStep = [ComponentList.SeedPhraseGeneration.index].includes(
- visibleComponent.index
+ visibleComponent.index,
);
const shouldShowBackButton = isCreatingAccount;
@@ -62,16 +62,14 @@ const LumeIdentity: FC = () => {
{!isFinalStep ? (
<>
+ className={`relative h-7 w-full overflow-hidden ${coloredOrLine}`}>