diff --git a/bundlemon.config.cjs b/bundlemon.config.cjs index 25088788..dd4751ba 100644 --- a/bundlemon.config.cjs +++ b/bundlemon.config.cjs @@ -9,7 +9,7 @@ module.exports = { }, { path: "assets/index-.js", - maxSize: "50kb", + maxSize: "60kb", }, { path: "assets/index-.css", diff --git a/packages/documentation/src/modules/App/App.tsx b/packages/documentation/src/modules/App/App.tsx index 59ed31de..5a168bdf 100644 --- a/packages/documentation/src/modules/App/App.tsx +++ b/packages/documentation/src/modules/App/App.tsx @@ -1,6 +1,40 @@ -import { Button, ButtonLink, Footer } from "@versini/ui-components"; +import { + Button, + ButtonIcon, + ButtonLink, + Footer, + IconAssistant, + IconClose, + IconCopied, + IconCopy, + IconDelete, + IconDog, + IconRestore, + IconSettings, + IconUser, +} from "@versini/ui-components"; +import clsx from "clsx"; import { useEffect } from "react"; +const Section = ({ + children, + className, + kind = "dark", + raw = false, +}: { + kind?: string; + raw?: boolean; + className?: string; + children: React.ReactNode; +}) => { + const generatedClassName = clsx(className, { + "mb-5 flex items-center gap-x-2 p-5": !raw, + "bg-slate-900": kind === "dark", + "bg-slate-500": kind === "light", + }); + return
{children}
; +}; + function App() { useEffect(() => { document.getElementById("root")?.classList.remove("app-hidden"); @@ -9,41 +43,35 @@ function App() { return ( <>
-

UI Components

+

UI Components

Buttons

-
- - - - Link as a Button - - - Link as a Slim Button - -
+
+ + + + + + Link as a Button +
-
- - + - + Link as a Button - - Link as a Slim Button - -
+

Footer

-
+
@@ -55,7 +83,38 @@ function App() {
© {new Date().getFullYear()} something something
} /> -
+
+
+
+ App Name v{import.meta.env.BUILDVERSION} -{" "} + {import.meta.env.BUILDTIME} + + } + row2={ +
© {new Date().getFullYear()} something something
+ } + /> +
+ + +
+

Icons

+
+ +
+
+ + + + + + + + +