diff --git a/.github/workflows/browser.yml b/.github/workflows/browser.yml index d764180..b2787dd 100644 --- a/.github/workflows/browser.yml +++ b/.github/workflows/browser.yml @@ -7,7 +7,7 @@ on: permissions: contents: read concurrency: - group: gothui-browser-${{ github.ref }} + group: tendui-browser-${{ github.ref }} cancel-in-progress: true jobs: browser: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dd82efb..377aa50 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Release GothUI +name: Release TendUI on: push: tags: ['v2026.*'] @@ -7,7 +7,7 @@ permissions: contents: write actions: read concurrency: - group: gothui-release-${{ github.ref }} + group: tendui-release-${{ github.ref }} cancel-in-progress: false jobs: publish: @@ -36,7 +36,7 @@ jobs: python3 - <<'PY' import json, os runs = json.load(open('tests/results/release/checks.json'))['workflow_runs'] - for name in ['Verify GothUI', 'Browser verification']: + for name in ['Verify TendUI', 'Browser verification']: matching = [r for r in runs if r['head_sha'] == os.environ['GITHUB_SHA'] and r['name'] == name] if not matching or max(matching, key=lambda r:r['id'])['conclusion'] != 'success': raise SystemExit('Missing passing exact-commit checks: ' + name) @@ -49,7 +49,7 @@ jobs: release_consumer=$(mktemp -d) trap 'go clean -modcache; rm -rf "$release_consumer"' EXIT export GOMODCACHE="$release_consumer/modules" - export GOPRIVATE=github.com/Tend-Stack/GothUI + export GOPRIVATE=github.com/Tend-Stack/TendUI export GOPROXY=https://proxy.golang.org,direct export GOWORK=off export GIT_TERMINAL_PROMPT=0 @@ -60,12 +60,12 @@ jobs: export GIT_CONFIG_VALUE_0="AUTHORIZATION: basic $auth" cp tests/release/consumer_test.go.txt "$release_consumer/consumer_test.go" cd "$release_consumer" - go mod init example.com/gothui-release-consumer - go get "github.com/Tend-Stack/GothUI/v2026@$GITHUB_REF_NAME" + go mod init example.com/tendui-release-consumer + go get "github.com/Tend-Stack/TendUI/v2026@$GITHUB_REF_NAME" go mod tidy go test -v ./... | tee "$GITHUB_WORKSPACE/tests/results/release/consumer.log" go mod verify - go list -m -json github.com/Tend-Stack/GothUI/v2026 > "$GITHUB_WORKSPACE/tests/results/release/module.json" + go list -m -json github.com/Tend-Stack/TendUI/v2026 > "$GITHUB_WORKSPACE/tests/results/release/module.json" python3 - <<'PY' import json, os p = os.environ['GITHUB_WORKSPACE'] + '/tests/results/release/module.json' @@ -78,7 +78,7 @@ jobs: run: | set -euo pipefail if ! gh release view "$GITHUB_REF_NAME" --repo "$GITHUB_REPOSITORY" > /dev/null 2>&1; then - gh release create "$GITHUB_REF_NAME" --repo "$GITHUB_REPOSITORY" --verify-tag --title "GothUI $GITHUB_REF_NAME" --notes-file docs/releases/2026.1.0.md + gh release create "$GITHUB_REF_NAME" --repo "$GITHUB_REPOSITORY" --verify-tag --title "TendUI $GITHUB_REF_NAME" --notes-file docs/releases/2026.1.0.md fi - name: Retain release installation evidence if: always() diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index ef08da5..192b71e 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -1,4 +1,4 @@ -name: Verify GothUI +name: Verify TendUI on: pull_request: @@ -10,7 +10,7 @@ permissions: contents: read concurrency: - group: gothui-verify-${{ github.workflow }}-${{ github.ref }} + group: tendui-verify-${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true env: @@ -45,17 +45,17 @@ jobs: - name: Verify downloaded modules run: go mod verify - name: Check API, formatting, dependencies, size, race tests and vet - run: go run ./cmd/gothui-dev check + run: go run ./cmd/tendui-dev check - name: Install pinned templ generator run: go install github.com/a-h/templ/cmd/templ@v0.3.1100 - name: Compare generated source - run: go run ./cmd/gothui-dev generated + run: go run ./cmd/tendui-dev generated - name: Compile all standalone catalog recipes - run: go run ./cmd/gothui-dev recipes + run: go run ./cmd/tendui-dev recipes - name: Install and test the versioned module in an isolated consumer - run: go run ./cmd/gothui-dev consumer + run: go run ./cmd/tendui-dev consumer - name: Build and run native version smoke check - run: go run ./cmd/gothui-dev build + run: go run ./cmd/tendui-dev build - name: Retain bounded verification evidence if: always() uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 diff --git a/HANDOFF.md b/HANDOFF.md index 2ec47cc..0a2b259 100644 --- a/HANDOFF.md +++ b/HANDOFF.md @@ -1,13 +1,13 @@ -# GothUI development handoff +# TendUI development handoff -GothUI is an original semantic CSS and typed templ component library for Go. -The public collaboration source is https://github.com/Tend-Stack/GothUI. -The standalone website lives at https://github.com/Tend-Stack/GothUI-Web. +TendUI is an original semantic CSS and typed templ component library for Go. +The public collaboration source is https://github.com/Tend-Stack/TendUI. +The standalone website lives at https://github.com/Tend-Stack/TendUI-web. ## Current implementation - Embedded CSS; no Node/npm, CDN, external fonts, or bundled JavaScript. -- 36 templ components, 24 inline SVG icons, and 13 demo areas. +- 37 templ components, 24 inline SVG icons, and 13 demo areas. - Light/dark/system appearance, color presets, density, typography, widths, elevation, and bounded CSS motion with reduced-motion support. - Native form workflows and optional HTMX attributes; applications supply @@ -22,14 +22,14 @@ See [README.md](README.md) for setup and component usage, [docs/ci.md](docs/ci.md) for the native verification matrix, and [ROADMAP.md](ROADMAP.md) for remaining work. -Run `go run ./cmd/gothui-dev check` after code changes. Template edits also need +Run `go run ./cmd/tendui-dev check` after code changes. Template edits also need `generated` and `recipes` checks. Commit generated Go alongside templates. -Use `go run ./cmd/gothui-dev build` to refresh the single review executable; -run `./tests/results/demos/gothui-demo -open` on a host with browser access. +Use `go run ./cmd/tendui-dev build` to refresh the single review executable; +run `./tests/results/demos/tendui-demo -open` on a host with browser access. ## Release boundary -The v2026.1.0 candidate at `2f622c95fbf7` passed the six native Go/OS jobs, +The historical pre-rename v2026.1.0 candidate at `2f622c95fbf7` passed the six native Go/OS jobs, the vulnerability scan, and 53 browser checks in Chromium, Firefox and WebKit. One WebKit forced-color emulation check is explicitly unsupported/skipped. The documentation website passed all eight desktop/mobile browser checks and @@ -41,3 +41,7 @@ automated accessibility checks are not a conformance certification. Keep focused local test evidence under ignored `tests/results/`. Reuse one review binary, remove completed disposable build environments, and preserve active work. Fetch and integrate GitHub `main` before publishing changes. + +The TendUI rename and shared SiteHeader are development changes after that tag. +See [migration notes](docs/tendui-migration.md); historical release evidence is +not validation of these changes. diff --git a/LICENSE b/LICENSE index 888a5a3..995ce5f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2026 GothUI contributors +Copyright (c) 2026 TendUI contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index ac54dab..aa747c3 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,26 @@ -# GothUI +# TendUI - GothUI + Tend UI -Semantic CSS and typed templ components, embedded in your Go binary. -No Node.js, npm, Sass, CDN, web fonts, bundled JavaScript, or asset compilation. +**Beautiful interfaces. No build pipeline.** -GothUI pairs original semantic CSS with composable Go components. Build +Pure CSS. Semantic HTML. No Node.js, no npm, no bundled JavaScript. +First-class Go and templ support. + +Use the stylesheet with any HTML stack. In Go, `//go:embed` bundles the CSS +inside your application: build and ship one executable, with no runtime asset +downloads. Typed templ components and optional HTMX attributes are ready when +you need them. + +TendUI pairs original semantic CSS with composable Go components. Build interfaces with native HTML, typed configuration, and application-owned behavior. +See [migration notes](docs/tendui-migration.md) for the renamed Go module, CSS +namespace, and use with other HTML stacks. + ## Install and run Requires **Go 1.26+**, matching the pinned `github.com/a-h/templ v0.3.1100` @@ -18,14 +28,14 @@ runtime. The asset package imports only the standard library; the components have one direct Go dependency, templ. It is not a literally dependency-free module, and this version does not support Go 1.21. -After repository publication, consumers can use: +The renamed TendUI module is currently available from the development branch: ```sh -go get github.com/Tend-Stack/GothUI/v2026 +go get github.com/Tend-Stack/TendUI/v2026@main ``` The GitHub repository is currently private. Until that changes, Go downloads -require repository credentials and `GOPRIVATE=github.com/Tend-Stack/GothUI`. +require repository credentials and `GOPRIVATE=github.com/Tend-Stack/TendUI`. Generated `*_templ.go` files ship with the module, so consumers do not need the templ CLI to use these components from Go. @@ -38,14 +48,14 @@ import ( "log" "net/http" - "github.com/Tend-Stack/GothUI/v2026" - "github.com/Tend-Stack/GothUI/v2026/components" + "github.com/Tend-Stack/TendUI/v2026" + "github.com/Tend-Stack/TendUI/v2026/components" "github.com/a-h/templ" ) func main() { mux := http.NewServeMux() - mux.Handle(gothui.AssetPath, gothui.AssetHandler()) + mux.Handle(tendui.AssetPath, tendui.AssetHandler()) page := components.Layout(components.LayoutProps{ Title: "My Go app", Language: "en", @@ -76,8 +86,8 @@ disabled. ## Packages and assets ```text -gothui.go embedded CSS handler -static/gothui.css readable semantic stylesheet +tendui.go embedded CSS handler +static/tendui.css readable semantic stylesheet components/ layout.templ document, title, language, theme, stylesheet theme.templ native POST theme form with optional HTMX hooks @@ -100,9 +110,9 @@ render/ buffered page/fragment HTTP responses examples/site/ thirteen demo pages, searchable catalog, preference cookies and downloads ``` -Mount `AssetHandler()` directly at `/gothui/static/`. Do **not** apply +Mount `AssetHandler()` directly at `/tendui/static/`. Do **not** apply `http.StripPrefix`: the handler already recognizes the complete path. It serves -only `gothui.css`, supports GET/HEAD, conditional ETag requests and byte ranges, +only `tendui.css`, supports GET/HEAD, conditional ETag requests and byte ranges, and returns 404 for directories and unknown assets. Revalidation prevents a browser from keeping stale CSS across binary upgrades. See the [asset delivery guide](docs/assets.md) for cache/proxy behavior, range requests @@ -189,8 +199,8 @@ No font downloads are needed. Light/dark/system mode remains an independent `Appearance.Normalize()` validates preferences and falls back to defaults. `Attributes()` produces native `data-*` attributes for applications that own -their document shell. `CSS()` exports overrides referencing GothUI's canonical -tokens, so it **requires gothui.css** and must be loaded after it. CSS exports +their document shell. `CSS()` exports overrides referencing TendUI's canonical +tokens, so it **requires tendui.css** and must be loaded after it. CSS exports configure appearance; keep light/dark/system mode on the root HTML element. `LayoutProps.Head` accepts trusted application components after the base stylesheet, for custom stylesheet links or metadata. @@ -298,8 +308,8 @@ empty results keep their recovery link. Set `LayoutProps.Theme` to `ThemeLight` or `ThemeDark` to emit the root `data-theme` attribute. Leave it at `ThemeSystem` (the empty default) to follow -`prefers-color-scheme`. Override `--gothui-*` properties in your own CSS loaded -after GothUI. Dark tokens have no effect on explicitly light pages. +`prefers-color-scheme`. Override `--tendui-*` properties in your own CSS loaded +after TendUI. Dark tokens have no effect on explicitly light pages. `ThemeToggle()` renders a small native form that POSTs to `/api/theme/toggle`. Place it **outside other forms**. You can pass `ThemeToggleProps` for a localized @@ -316,7 +326,7 @@ library's system theme remains available for applications that prefer it. The button preserves the requested `hx-post="/api/theme/toggle"`, `hx-target="html"`, and `hx-swap="outerHTML"` attributes. These are inert without -HTMX. **HTMX itself is JavaScript** and is never included or loaded by GothUI. +HTMX. **HTMX itself is JavaScript** and is never included or loaded by TendUI. Consumers that already use it can use the hooks without writing custom JS. A document root swap is not a reliable way to replace a page's root attributes @@ -344,8 +354,8 @@ import ( "log" "net/http" - "github.com/Tend-Stack/GothUI/v2026/components" - "github.com/Tend-Stack/GothUI/v2026/render" + "github.com/Tend-Stack/TendUI/v2026/components" + "github.com/Tend-Stack/TendUI/v2026/render" ) func profileHandler(w http.ResponseWriter, r *http.Request) { @@ -465,7 +475,7 @@ hidden from assistive technology. Explore `/catalog/icon` and the ## Searchable component catalog -Open `/catalog` to browse all 36 public templ components by name, category or +Open `/catalog` to browse all 37 public templ components by name, category or usage notes. Each entry provides a preview, guidance and a downloadable `.templ` recipe drawn from the same source compiled for that preview. Layouts open as standalone pages to preserve document landmarks. Search and pagination use Go @@ -497,13 +507,13 @@ review executable. See [the development guide](docs/development.md) and [measured performance](docs/performance.md): ```sh -go run ./cmd/gothui-dev check -go run ./cmd/gothui-dev api -go run ./cmd/gothui-dev generated -go run ./cmd/gothui-dev recipes -go run ./cmd/gothui-dev bench -go run ./cmd/gothui-dev build -./tests/results/demos/gothui-demo -version +go run ./cmd/tendui-dev check +go run ./cmd/tendui-dev api +go run ./cmd/tendui-dev generated +go run ./cmd/tendui-dev recipes +go run ./cmd/tendui-dev bench +go run ./cmd/tendui-dev build +./tests/results/demos/tendui-demo -version ``` `check` already includes `api`; the separate command is useful during API review. @@ -528,8 +538,8 @@ fixes on the 2026 line keep `/v2026`. See Go's ## Project links -- Source and issues: https://github.com/Tend-Stack/GothUI -- Website source: https://github.com/Tend-Stack/GothUI-Web +- Source and issues: https://github.com/Tend-Stack/TendUI +- Website source: https://github.com/Tend-Stack/TendUI-web Fetch and integrate GitHub `main` before contributing. See `HANDOFF.md` for the current development entry points and remaining release checks. diff --git a/ROADMAP.md b/ROADMAP.md index 8ee69cc..268c79f 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -1,4 +1,4 @@ -# GothUI product roadmap +# TendUI product roadmap The objective is an elegant Go-native UI library that ships in a single Go binary, with the breadth, polish and developer experience expected of modern UI systems. diff --git a/api/public.json b/api/public.json index 55b9519..da8eccc 100644 --- a/api/public.json +++ b/api/public.json @@ -1,253 +1,257 @@ { "format": 1, "packages": { - "github.com/Tend-Stack/GothUI/v2026": { - "AssetHandler": "func github.com/Tend-Stack/GothUI/v2026.AssetHandler() net/http.Handler", - "AssetPath": "const github.com/Tend-Stack/GothUI/v2026.AssetPath untyped string = \"/gothui/static/\"", - "StylesheetURL": "const github.com/Tend-Stack/GothUI/v2026.StylesheetURL untyped string = \"/gothui/static/gothui.css\"", - "Version": "const github.com/Tend-Stack/GothUI/v2026.Version untyped string = \"2026.1.0\"" + "github.com/Tend-Stack/TendUI/v2026": { + "AssetHandler": "func github.com/Tend-Stack/TendUI/v2026.AssetHandler() net/http.Handler", + "AssetPath": "const github.com/Tend-Stack/TendUI/v2026.AssetPath untyped string = \"/tendui/static/\"", + "StylesheetURL": "const github.com/Tend-Stack/TendUI/v2026.StylesheetURL untyped string = \"/tendui/static/tendui.css\"", + "Version": "const github.com/Tend-Stack/TendUI/v2026.Version untyped string = \"2026.1.0\"" }, - "github.com/Tend-Stack/GothUI/v2026/components": { + "github.com/Tend-Stack/TendUI/v2026/components": { "(*Appearance).Attributes": "func() github.com/a-h/templ.Attributes", "(*Appearance).CSS": "func() string", - "(*Appearance).Normalize": "func() github.com/Tend-Stack/GothUI/v2026/components.Appearance", + "(*Appearance).Normalize": "func() github.com/Tend-Stack/TendUI/v2026/components.Appearance", "(*FieldProps).ControlAttributes": "func() github.com/a-h/templ.Attributes", - "Alert": "func github.com/Tend-Stack/GothUI/v2026/components.Alert(props github.com/Tend-Stack/GothUI/v2026/components.AlertProps) github.com/a-h/templ.Component", - "AlertProps": "type github.com/Tend-Stack/GothUI/v2026/components.AlertProps struct{Title string; Message string; Tone github.com/Tend-Stack/GothUI/v2026/components.Tone; Live bool}", - "AlignCenter": "const github.com/Tend-Stack/GothUI/v2026/components.AlignCenter github.com/Tend-Stack/GothUI/v2026/components.TableAlignment = \"center\"", - "AlignEnd": "const github.com/Tend-Stack/GothUI/v2026/components.AlignEnd github.com/Tend-Stack/GothUI/v2026/components.TableAlignment = \"end\"", - "AlignStart": "const github.com/Tend-Stack/GothUI/v2026/components.AlignStart github.com/Tend-Stack/GothUI/v2026/components.TableAlignment = \"start\"", - "AppShell": "func github.com/Tend-Stack/GothUI/v2026/components.AppShell(props github.com/Tend-Stack/GothUI/v2026/components.AppShellProps) github.com/a-h/templ.Component", - "AppShellProps": "type github.com/Tend-Stack/GothUI/v2026/components.AppShellProps struct{Brand string; BrandHref string; Title string; Navigation []github.com/Tend-Stack/GothUI/v2026/components.NavItem; Actions github.com/a-h/templ.Component; Footer github.com/a-h/templ.Component; MainID string}", - "Appearance": "type github.com/Tend-Stack/GothUI/v2026/components.Appearance struct{Preset github.com/Tend-Stack/GothUI/v2026/components.Preset \"json:\\\"preset\\\"\"; Density github.com/Tend-Stack/GothUI/v2026/components.Density \"json:\\\"density\\\"\"; Corners github.com/Tend-Stack/GothUI/v2026/components.Corners \"json:\\\"corners\\\"\"; Typography github.com/Tend-Stack/GothUI/v2026/components.Typography \"json:\\\"typography\\\"\"; TextSize github.com/Tend-Stack/GothUI/v2026/components.TextSize \"json:\\\"text_size\\\"\"; Width github.com/Tend-Stack/GothUI/v2026/components.ContentWidth \"json:\\\"width\\\"\"; Elevation github.com/Tend-Stack/GothUI/v2026/components.Elevation \"json:\\\"elevation\\\"\"; Motion github.com/Tend-Stack/GothUI/v2026/components.MotionPreference \"json:\\\"motion\\\"\"}", + "Alert": "func github.com/Tend-Stack/TendUI/v2026/components.Alert(props github.com/Tend-Stack/TendUI/v2026/components.AlertProps) github.com/a-h/templ.Component", + "AlertProps": "type github.com/Tend-Stack/TendUI/v2026/components.AlertProps struct{Title string; Message string; Tone github.com/Tend-Stack/TendUI/v2026/components.Tone; Live bool}", + "AlignCenter": "const github.com/Tend-Stack/TendUI/v2026/components.AlignCenter github.com/Tend-Stack/TendUI/v2026/components.TableAlignment = \"center\"", + "AlignEnd": "const github.com/Tend-Stack/TendUI/v2026/components.AlignEnd github.com/Tend-Stack/TendUI/v2026/components.TableAlignment = \"end\"", + "AlignStart": "const github.com/Tend-Stack/TendUI/v2026/components.AlignStart github.com/Tend-Stack/TendUI/v2026/components.TableAlignment = \"start\"", + "AppShell": "func github.com/Tend-Stack/TendUI/v2026/components.AppShell(props github.com/Tend-Stack/TendUI/v2026/components.AppShellProps) github.com/a-h/templ.Component", + "AppShellProps": "type github.com/Tend-Stack/TendUI/v2026/components.AppShellProps struct{Brand string; BrandHref string; Title string; Navigation []github.com/Tend-Stack/TendUI/v2026/components.NavItem; Actions github.com/a-h/templ.Component; Footer github.com/a-h/templ.Component; MainID string; Header github.com/a-h/templ.Component}", + "Appearance": "type github.com/Tend-Stack/TendUI/v2026/components.Appearance struct{Preset github.com/Tend-Stack/TendUI/v2026/components.Preset \"json:\\\"preset\\\"\"; Density github.com/Tend-Stack/TendUI/v2026/components.Density \"json:\\\"density\\\"\"; Corners github.com/Tend-Stack/TendUI/v2026/components.Corners \"json:\\\"corners\\\"\"; Typography github.com/Tend-Stack/TendUI/v2026/components.Typography \"json:\\\"typography\\\"\"; TextSize github.com/Tend-Stack/TendUI/v2026/components.TextSize \"json:\\\"text_size\\\"\"; Width github.com/Tend-Stack/TendUI/v2026/components.ContentWidth \"json:\\\"width\\\"\"; Elevation github.com/Tend-Stack/TendUI/v2026/components.Elevation \"json:\\\"elevation\\\"\"; Motion github.com/Tend-Stack/TendUI/v2026/components.MotionPreference \"json:\\\"motion\\\"\"}", "Appearance.Attributes": "func() github.com/a-h/templ.Attributes", "Appearance.CSS": "func() string", - "Appearance.Normalize": "func() github.com/Tend-Stack/GothUI/v2026/components.Appearance", - "Badge": "func github.com/Tend-Stack/GothUI/v2026/components.Badge(props github.com/Tend-Stack/GothUI/v2026/components.BadgeProps) github.com/a-h/templ.Component", - "BadgeProps": "type github.com/Tend-Stack/GothUI/v2026/components.BadgeProps struct{Text string; Tone github.com/Tend-Stack/GothUI/v2026/components.Tone}", - "BreadcrumbItem": "type github.com/Tend-Stack/GothUI/v2026/components.BreadcrumbItem struct{Label string; Href string}", - "Breadcrumbs": "func github.com/Tend-Stack/GothUI/v2026/components.Breadcrumbs(props github.com/Tend-Stack/GothUI/v2026/components.BreadcrumbsProps) github.com/a-h/templ.Component", - "BreadcrumbsProps": "type github.com/Tend-Stack/GothUI/v2026/components.BreadcrumbsProps struct{Label string; Items []github.com/Tend-Stack/GothUI/v2026/components.BreadcrumbItem}", - "Button": "func github.com/Tend-Stack/GothUI/v2026/components.Button(props github.com/Tend-Stack/GothUI/v2026/components.ButtonProps) github.com/a-h/templ.Component", - "ButtonProps": "type github.com/Tend-Stack/GothUI/v2026/components.ButtonProps struct{Text string; Type github.com/Tend-Stack/GothUI/v2026/components.ButtonType; ID string; Name string; Value string; Primary bool; Outline bool; Disabled bool; HxGet string; HxPost string; HxTarget string; HxSwap string; HxIndicator string; CommandFor string; Command github.com/Tend-Stack/GothUI/v2026/components.DialogCommand; PopoverTarget string; PopoverAction github.com/Tend-Stack/GothUI/v2026/components.PopoverAction; AutoFocus bool; FormNoValidate bool; IconBefore github.com/Tend-Stack/GothUI/v2026/components.IconName; IconAfter github.com/Tend-Stack/GothUI/v2026/components.IconName; AriaLabel string}", - "ButtonType": "type github.com/Tend-Stack/GothUI/v2026/components.ButtonType string", - "ButtonTypeButton": "const github.com/Tend-Stack/GothUI/v2026/components.ButtonTypeButton github.com/Tend-Stack/GothUI/v2026/components.ButtonType = \"button\"", - "ButtonTypeReset": "const github.com/Tend-Stack/GothUI/v2026/components.ButtonTypeReset github.com/Tend-Stack/GothUI/v2026/components.ButtonType = \"reset\"", - "ButtonTypeSubmit": "const github.com/Tend-Stack/GothUI/v2026/components.ButtonTypeSubmit github.com/Tend-Stack/GothUI/v2026/components.ButtonType = \"submit\"", - "Card": "func github.com/Tend-Stack/GothUI/v2026/components.Card(props github.com/Tend-Stack/GothUI/v2026/components.CardProps) github.com/a-h/templ.Component", - "CardProps": "type github.com/Tend-Stack/GothUI/v2026/components.CardProps struct{ID string; Header github.com/a-h/templ.Component; Body github.com/a-h/templ.Component; Footer github.com/a-h/templ.Component; Surface github.com/Tend-Stack/GothUI/v2026/components.CardSurface; Entry github.com/Tend-Stack/GothUI/v2026/components.EntryEffect; Delay github.com/Tend-Stack/GothUI/v2026/components.EntryDelay; HoverLift bool; Elevation github.com/Tend-Stack/GothUI/v2026/components.Elevation}", - "CardSurface": "type github.com/Tend-Stack/GothUI/v2026/components.CardSurface string", - "Checkbox": "func github.com/Tend-Stack/GothUI/v2026/components.Checkbox(props github.com/Tend-Stack/GothUI/v2026/components.CheckboxProps) github.com/a-h/templ.Component", - "CheckboxProps": "type github.com/Tend-Stack/GothUI/v2026/components.CheckboxProps struct{ID string; Name string; Label string; Value string; Checked bool; Required bool; Disabled bool; Invalid bool; DescribedBy string}", - "Cluster": "func github.com/Tend-Stack/GothUI/v2026/components.Cluster(props github.com/Tend-Stack/GothUI/v2026/components.ClusterProps) github.com/a-h/templ.Component", - "ClusterProps": "type github.com/Tend-Stack/GothUI/v2026/components.ClusterProps struct{ID string; Gap github.com/Tend-Stack/GothUI/v2026/components.Space; Align github.com/Tend-Stack/GothUI/v2026/components.LayoutAlign; Justify github.com/Tend-Stack/GothUI/v2026/components.LayoutJustify}", - "ContentWidth": "type github.com/Tend-Stack/GothUI/v2026/components.ContentWidth string", - "Corners": "type github.com/Tend-Stack/GothUI/v2026/components.Corners string", - "CornersRounded": "const github.com/Tend-Stack/GothUI/v2026/components.CornersRounded github.com/Tend-Stack/GothUI/v2026/components.Corners = \"rounded\"", - "CornersSoft": "const github.com/Tend-Stack/GothUI/v2026/components.CornersSoft github.com/Tend-Stack/GothUI/v2026/components.Corners = \"soft\"", - "CornersSquare": "const github.com/Tend-Stack/GothUI/v2026/components.CornersSquare github.com/Tend-Stack/GothUI/v2026/components.Corners = \"square\"", - "DataTable": "func github.com/Tend-Stack/GothUI/v2026/components.DataTable(props github.com/Tend-Stack/GothUI/v2026/components.DataTableProps) github.com/a-h/templ.Component", - "DataTableProps": "type github.com/Tend-Stack/GothUI/v2026/components.DataTableProps struct{Caption string; Columns []github.com/Tend-Stack/GothUI/v2026/components.TableColumn; Rows []github.com/Tend-Stack/GothUI/v2026/components.TableRow; Striped bool; Compact bool; Loading bool; LoadingLabel string; Empty github.com/a-h/templ.Component}", - "DelayLong": "const github.com/Tend-Stack/GothUI/v2026/components.DelayLong github.com/Tend-Stack/GothUI/v2026/components.EntryDelay = \"long\"", - "DelayMedium": "const github.com/Tend-Stack/GothUI/v2026/components.DelayMedium github.com/Tend-Stack/GothUI/v2026/components.EntryDelay = \"medium\"", - "DelayNone": "const github.com/Tend-Stack/GothUI/v2026/components.DelayNone github.com/Tend-Stack/GothUI/v2026/components.EntryDelay = \"\"", - "DelayShort": "const github.com/Tend-Stack/GothUI/v2026/components.DelayShort github.com/Tend-Stack/GothUI/v2026/components.EntryDelay = \"short\"", - "Density": "type github.com/Tend-Stack/GothUI/v2026/components.Density string", - "DensityComfortable": "const github.com/Tend-Stack/GothUI/v2026/components.DensityComfortable github.com/Tend-Stack/GothUI/v2026/components.Density = \"comfortable\"", - "DensityCompact": "const github.com/Tend-Stack/GothUI/v2026/components.DensityCompact github.com/Tend-Stack/GothUI/v2026/components.Density = \"compact\"", - "Dialog": "func github.com/Tend-Stack/GothUI/v2026/components.Dialog(props github.com/Tend-Stack/GothUI/v2026/components.DialogProps) github.com/a-h/templ.Component", - "DialogClose": "const github.com/Tend-Stack/GothUI/v2026/components.DialogClose github.com/Tend-Stack/GothUI/v2026/components.DialogCommand = \"close\"", - "DialogCommand": "type github.com/Tend-Stack/GothUI/v2026/components.DialogCommand string", - "DialogProps": "type github.com/Tend-Stack/GothUI/v2026/components.DialogProps struct{ID string; Title string; Description string; CloseLabel string; Footer github.com/a-h/templ.Component}", - "DialogRequestClose": "const github.com/Tend-Stack/GothUI/v2026/components.DialogRequestClose github.com/Tend-Stack/GothUI/v2026/components.DialogCommand = \"request-close\"", - "DialogShowModal": "const github.com/Tend-Stack/GothUI/v2026/components.DialogShowModal github.com/Tend-Stack/GothUI/v2026/components.DialogCommand = \"show-modal\"", - "Disclosure": "func github.com/Tend-Stack/GothUI/v2026/components.Disclosure(props github.com/Tend-Stack/GothUI/v2026/components.DisclosureProps) github.com/a-h/templ.Component", - "DisclosureProps": "type github.com/Tend-Stack/GothUI/v2026/components.DisclosureProps struct{Summary string; Name string; Open bool}", - "Elevation": "type github.com/Tend-Stack/GothUI/v2026/components.Elevation string", - "ElevationFlat": "const github.com/Tend-Stack/GothUI/v2026/components.ElevationFlat github.com/Tend-Stack/GothUI/v2026/components.Elevation = \"flat\"", - "ElevationFloating": "const github.com/Tend-Stack/GothUI/v2026/components.ElevationFloating github.com/Tend-Stack/GothUI/v2026/components.Elevation = \"floating\"", - "ElevationRaised": "const github.com/Tend-Stack/GothUI/v2026/components.ElevationRaised github.com/Tend-Stack/GothUI/v2026/components.Elevation = \"raised\"", - "ElevationSubtle": "const github.com/Tend-Stack/GothUI/v2026/components.ElevationSubtle github.com/Tend-Stack/GothUI/v2026/components.Elevation = \"subtle\"", - "EmptyState": "func github.com/Tend-Stack/GothUI/v2026/components.EmptyState(props github.com/Tend-Stack/GothUI/v2026/components.EmptyStateProps) github.com/a-h/templ.Component", - "EmptyStateProps": "type github.com/Tend-Stack/GothUI/v2026/components.EmptyStateProps struct{Title string; Message string}", - "EntryDelay": "type github.com/Tend-Stack/GothUI/v2026/components.EntryDelay string", - "EntryEffect": "type github.com/Tend-Stack/GothUI/v2026/components.EntryEffect string", - "EntryFade": "const github.com/Tend-Stack/GothUI/v2026/components.EntryFade github.com/Tend-Stack/GothUI/v2026/components.EntryEffect = \"fade\"", - "EntryNone": "const github.com/Tend-Stack/GothUI/v2026/components.EntryNone github.com/Tend-Stack/GothUI/v2026/components.EntryEffect = \"\"", - "EntryRise": "const github.com/Tend-Stack/GothUI/v2026/components.EntryRise github.com/Tend-Stack/GothUI/v2026/components.EntryEffect = \"rise\"", - "EntryScale": "const github.com/Tend-Stack/GothUI/v2026/components.EntryScale github.com/Tend-Stack/GothUI/v2026/components.EntryEffect = \"scale\"", - "ErrorSummary": "func github.com/Tend-Stack/GothUI/v2026/components.ErrorSummary(props github.com/Tend-Stack/GothUI/v2026/components.ErrorSummaryProps) github.com/a-h/templ.Component", - "ErrorSummaryProps": "type github.com/Tend-Stack/GothUI/v2026/components.ErrorSummaryProps struct{Title string; Errors []github.com/Tend-Stack/GothUI/v2026/components.FieldError}", - "Field": "func github.com/Tend-Stack/GothUI/v2026/components.Field(props github.com/Tend-Stack/GothUI/v2026/components.FieldProps) github.com/a-h/templ.Component", - "FieldError": "type github.com/Tend-Stack/GothUI/v2026/components.FieldError struct{ID string; Message string}", - "FieldProps": "type github.com/Tend-Stack/GothUI/v2026/components.FieldProps struct{ID string; Label string; Description string; Error string; Required bool}", + "Appearance.Normalize": "func() github.com/Tend-Stack/TendUI/v2026/components.Appearance", + "Badge": "func github.com/Tend-Stack/TendUI/v2026/components.Badge(props github.com/Tend-Stack/TendUI/v2026/components.BadgeProps) github.com/a-h/templ.Component", + "BadgeProps": "type github.com/Tend-Stack/TendUI/v2026/components.BadgeProps struct{Text string; Tone github.com/Tend-Stack/TendUI/v2026/components.Tone}", + "BreadcrumbItem": "type github.com/Tend-Stack/TendUI/v2026/components.BreadcrumbItem struct{Label string; Href string}", + "Breadcrumbs": "func github.com/Tend-Stack/TendUI/v2026/components.Breadcrumbs(props github.com/Tend-Stack/TendUI/v2026/components.BreadcrumbsProps) github.com/a-h/templ.Component", + "BreadcrumbsProps": "type github.com/Tend-Stack/TendUI/v2026/components.BreadcrumbsProps struct{Label string; Items []github.com/Tend-Stack/TendUI/v2026/components.BreadcrumbItem}", + "Button": "func github.com/Tend-Stack/TendUI/v2026/components.Button(props github.com/Tend-Stack/TendUI/v2026/components.ButtonProps) github.com/a-h/templ.Component", + "ButtonProps": "type github.com/Tend-Stack/TendUI/v2026/components.ButtonProps struct{Text string; Type github.com/Tend-Stack/TendUI/v2026/components.ButtonType; ID string; Name string; Value string; Primary bool; Outline bool; Disabled bool; HxGet string; HxPost string; HxTarget string; HxSwap string; HxIndicator string; CommandFor string; Command github.com/Tend-Stack/TendUI/v2026/components.DialogCommand; PopoverTarget string; PopoverAction github.com/Tend-Stack/TendUI/v2026/components.PopoverAction; AutoFocus bool; FormNoValidate bool; IconBefore github.com/Tend-Stack/TendUI/v2026/components.IconName; IconAfter github.com/Tend-Stack/TendUI/v2026/components.IconName; AriaLabel string}", + "ButtonType": "type github.com/Tend-Stack/TendUI/v2026/components.ButtonType string", + "ButtonTypeButton": "const github.com/Tend-Stack/TendUI/v2026/components.ButtonTypeButton github.com/Tend-Stack/TendUI/v2026/components.ButtonType = \"button\"", + "ButtonTypeReset": "const github.com/Tend-Stack/TendUI/v2026/components.ButtonTypeReset github.com/Tend-Stack/TendUI/v2026/components.ButtonType = \"reset\"", + "ButtonTypeSubmit": "const github.com/Tend-Stack/TendUI/v2026/components.ButtonTypeSubmit github.com/Tend-Stack/TendUI/v2026/components.ButtonType = \"submit\"", + "Card": "func github.com/Tend-Stack/TendUI/v2026/components.Card(props github.com/Tend-Stack/TendUI/v2026/components.CardProps) github.com/a-h/templ.Component", + "CardProps": "type github.com/Tend-Stack/TendUI/v2026/components.CardProps struct{ID string; Header github.com/a-h/templ.Component; Body github.com/a-h/templ.Component; Footer github.com/a-h/templ.Component; Surface github.com/Tend-Stack/TendUI/v2026/components.CardSurface; Entry github.com/Tend-Stack/TendUI/v2026/components.EntryEffect; Delay github.com/Tend-Stack/TendUI/v2026/components.EntryDelay; HoverLift bool; Elevation github.com/Tend-Stack/TendUI/v2026/components.Elevation}", + "CardSurface": "type github.com/Tend-Stack/TendUI/v2026/components.CardSurface string", + "Checkbox": "func github.com/Tend-Stack/TendUI/v2026/components.Checkbox(props github.com/Tend-Stack/TendUI/v2026/components.CheckboxProps) github.com/a-h/templ.Component", + "CheckboxProps": "type github.com/Tend-Stack/TendUI/v2026/components.CheckboxProps struct{ID string; Name string; Label string; Value string; Checked bool; Required bool; Disabled bool; Invalid bool; DescribedBy string}", + "Cluster": "func github.com/Tend-Stack/TendUI/v2026/components.Cluster(props github.com/Tend-Stack/TendUI/v2026/components.ClusterProps) github.com/a-h/templ.Component", + "ClusterProps": "type github.com/Tend-Stack/TendUI/v2026/components.ClusterProps struct{ID string; Gap github.com/Tend-Stack/TendUI/v2026/components.Space; Align github.com/Tend-Stack/TendUI/v2026/components.LayoutAlign; Justify github.com/Tend-Stack/TendUI/v2026/components.LayoutJustify}", + "ContentWidth": "type github.com/Tend-Stack/TendUI/v2026/components.ContentWidth string", + "Corners": "type github.com/Tend-Stack/TendUI/v2026/components.Corners string", + "CornersRounded": "const github.com/Tend-Stack/TendUI/v2026/components.CornersRounded github.com/Tend-Stack/TendUI/v2026/components.Corners = \"rounded\"", + "CornersSoft": "const github.com/Tend-Stack/TendUI/v2026/components.CornersSoft github.com/Tend-Stack/TendUI/v2026/components.Corners = \"soft\"", + "CornersSquare": "const github.com/Tend-Stack/TendUI/v2026/components.CornersSquare github.com/Tend-Stack/TendUI/v2026/components.Corners = \"square\"", + "DataTable": "func github.com/Tend-Stack/TendUI/v2026/components.DataTable(props github.com/Tend-Stack/TendUI/v2026/components.DataTableProps) github.com/a-h/templ.Component", + "DataTableProps": "type github.com/Tend-Stack/TendUI/v2026/components.DataTableProps struct{Caption string; Columns []github.com/Tend-Stack/TendUI/v2026/components.TableColumn; Rows []github.com/Tend-Stack/TendUI/v2026/components.TableRow; Striped bool; Compact bool; Loading bool; LoadingLabel string; Empty github.com/a-h/templ.Component}", + "DelayLong": "const github.com/Tend-Stack/TendUI/v2026/components.DelayLong github.com/Tend-Stack/TendUI/v2026/components.EntryDelay = \"long\"", + "DelayMedium": "const github.com/Tend-Stack/TendUI/v2026/components.DelayMedium github.com/Tend-Stack/TendUI/v2026/components.EntryDelay = \"medium\"", + "DelayNone": "const github.com/Tend-Stack/TendUI/v2026/components.DelayNone github.com/Tend-Stack/TendUI/v2026/components.EntryDelay = \"\"", + "DelayShort": "const github.com/Tend-Stack/TendUI/v2026/components.DelayShort github.com/Tend-Stack/TendUI/v2026/components.EntryDelay = \"short\"", + "Density": "type github.com/Tend-Stack/TendUI/v2026/components.Density string", + "DensityComfortable": "const github.com/Tend-Stack/TendUI/v2026/components.DensityComfortable github.com/Tend-Stack/TendUI/v2026/components.Density = \"comfortable\"", + "DensityCompact": "const github.com/Tend-Stack/TendUI/v2026/components.DensityCompact github.com/Tend-Stack/TendUI/v2026/components.Density = \"compact\"", + "Dialog": "func github.com/Tend-Stack/TendUI/v2026/components.Dialog(props github.com/Tend-Stack/TendUI/v2026/components.DialogProps) github.com/a-h/templ.Component", + "DialogClose": "const github.com/Tend-Stack/TendUI/v2026/components.DialogClose github.com/Tend-Stack/TendUI/v2026/components.DialogCommand = \"close\"", + "DialogCommand": "type github.com/Tend-Stack/TendUI/v2026/components.DialogCommand string", + "DialogProps": "type github.com/Tend-Stack/TendUI/v2026/components.DialogProps struct{ID string; Title string; Description string; CloseLabel string; Footer github.com/a-h/templ.Component}", + "DialogRequestClose": "const github.com/Tend-Stack/TendUI/v2026/components.DialogRequestClose github.com/Tend-Stack/TendUI/v2026/components.DialogCommand = \"request-close\"", + "DialogShowModal": "const github.com/Tend-Stack/TendUI/v2026/components.DialogShowModal github.com/Tend-Stack/TendUI/v2026/components.DialogCommand = \"show-modal\"", + "Disclosure": "func github.com/Tend-Stack/TendUI/v2026/components.Disclosure(props github.com/Tend-Stack/TendUI/v2026/components.DisclosureProps) github.com/a-h/templ.Component", + "DisclosureProps": "type github.com/Tend-Stack/TendUI/v2026/components.DisclosureProps struct{Summary string; Name string; Open bool}", + "Elevation": "type github.com/Tend-Stack/TendUI/v2026/components.Elevation string", + "ElevationFlat": "const github.com/Tend-Stack/TendUI/v2026/components.ElevationFlat github.com/Tend-Stack/TendUI/v2026/components.Elevation = \"flat\"", + "ElevationFloating": "const github.com/Tend-Stack/TendUI/v2026/components.ElevationFloating github.com/Tend-Stack/TendUI/v2026/components.Elevation = \"floating\"", + "ElevationRaised": "const github.com/Tend-Stack/TendUI/v2026/components.ElevationRaised github.com/Tend-Stack/TendUI/v2026/components.Elevation = \"raised\"", + "ElevationSubtle": "const github.com/Tend-Stack/TendUI/v2026/components.ElevationSubtle github.com/Tend-Stack/TendUI/v2026/components.Elevation = \"subtle\"", + "EmptyState": "func github.com/Tend-Stack/TendUI/v2026/components.EmptyState(props github.com/Tend-Stack/TendUI/v2026/components.EmptyStateProps) github.com/a-h/templ.Component", + "EmptyStateProps": "type github.com/Tend-Stack/TendUI/v2026/components.EmptyStateProps struct{Title string; Message string}", + "EntryDelay": "type github.com/Tend-Stack/TendUI/v2026/components.EntryDelay string", + "EntryEffect": "type github.com/Tend-Stack/TendUI/v2026/components.EntryEffect string", + "EntryFade": "const github.com/Tend-Stack/TendUI/v2026/components.EntryFade github.com/Tend-Stack/TendUI/v2026/components.EntryEffect = \"fade\"", + "EntryNone": "const github.com/Tend-Stack/TendUI/v2026/components.EntryNone github.com/Tend-Stack/TendUI/v2026/components.EntryEffect = \"\"", + "EntryRise": "const github.com/Tend-Stack/TendUI/v2026/components.EntryRise github.com/Tend-Stack/TendUI/v2026/components.EntryEffect = \"rise\"", + "EntryScale": "const github.com/Tend-Stack/TendUI/v2026/components.EntryScale github.com/Tend-Stack/TendUI/v2026/components.EntryEffect = \"scale\"", + "ErrorSummary": "func github.com/Tend-Stack/TendUI/v2026/components.ErrorSummary(props github.com/Tend-Stack/TendUI/v2026/components.ErrorSummaryProps) github.com/a-h/templ.Component", + "ErrorSummaryProps": "type github.com/Tend-Stack/TendUI/v2026/components.ErrorSummaryProps struct{Title string; Errors []github.com/Tend-Stack/TendUI/v2026/components.FieldError}", + "Field": "func github.com/Tend-Stack/TendUI/v2026/components.Field(props github.com/Tend-Stack/TendUI/v2026/components.FieldProps) github.com/a-h/templ.Component", + "FieldError": "type github.com/Tend-Stack/TendUI/v2026/components.FieldError struct{ID string; Message string}", + "FieldProps": "type github.com/Tend-Stack/TendUI/v2026/components.FieldProps struct{ID string; Label string; Description string; Error string; Required bool}", "FieldProps.ControlAttributes": "func() github.com/a-h/templ.Attributes", - "FileInput": "func github.com/Tend-Stack/GothUI/v2026/components.FileInput(props github.com/Tend-Stack/GothUI/v2026/components.FileInputProps) github.com/a-h/templ.Component", - "FileInputProps": "type github.com/Tend-Stack/GothUI/v2026/components.FileInputProps struct{ID string; Name string; Label string; Accept string; Multiple bool; Required bool; Disabled bool; Invalid bool; DescribedBy string}", - "Form": "func github.com/Tend-Stack/GothUI/v2026/components.Form(props github.com/Tend-Stack/GothUI/v2026/components.FormProps) github.com/a-h/templ.Component", - "FormMethod": "type github.com/Tend-Stack/GothUI/v2026/components.FormMethod string", - "FormProps": "type github.com/Tend-Stack/GothUI/v2026/components.FormProps struct{ID string; Action string; Method github.com/Tend-Stack/GothUI/v2026/components.FormMethod; HxGet string; HxPost string; HxTarget string; HxSwap string; HxIndicator string; Multipart bool}", - "Grid": "func github.com/Tend-Stack/GothUI/v2026/components.Grid(props github.com/Tend-Stack/GothUI/v2026/components.GridProps) github.com/a-h/templ.Component", - "GridProps": "type github.com/Tend-Stack/GothUI/v2026/components.GridProps struct{ID string}", - "Icon": "func github.com/Tend-Stack/GothUI/v2026/components.Icon(props github.com/Tend-Stack/GothUI/v2026/components.IconProps) github.com/a-h/templ.Component", - "IconArrowDown": "const github.com/Tend-Stack/GothUI/v2026/components.IconArrowDown github.com/Tend-Stack/GothUI/v2026/components.IconName = \"arrow-down\"", - "IconArrowLeft": "const github.com/Tend-Stack/GothUI/v2026/components.IconArrowLeft github.com/Tend-Stack/GothUI/v2026/components.IconName = \"arrow-left\"", - "IconArrowRight": "const github.com/Tend-Stack/GothUI/v2026/components.IconArrowRight github.com/Tend-Stack/GothUI/v2026/components.IconName = \"arrow-right\"", - "IconArrowUp": "const github.com/Tend-Stack/GothUI/v2026/components.IconArrowUp github.com/Tend-Stack/GothUI/v2026/components.IconName = \"arrow-up\"", - "IconCalendar": "const github.com/Tend-Stack/GothUI/v2026/components.IconCalendar github.com/Tend-Stack/GothUI/v2026/components.IconName = \"calendar\"", - "IconCheck": "const github.com/Tend-Stack/GothUI/v2026/components.IconCheck github.com/Tend-Stack/GothUI/v2026/components.IconName = \"check\"", - "IconChevronDown": "const github.com/Tend-Stack/GothUI/v2026/components.IconChevronDown github.com/Tend-Stack/GothUI/v2026/components.IconName = \"chevron-down\"", - "IconChevronRight": "const github.com/Tend-Stack/GothUI/v2026/components.IconChevronRight github.com/Tend-Stack/GothUI/v2026/components.IconName = \"chevron-right\"", - "IconClose": "const github.com/Tend-Stack/GothUI/v2026/components.IconClose github.com/Tend-Stack/GothUI/v2026/components.IconName = \"close\"", - "IconDownload": "const github.com/Tend-Stack/GothUI/v2026/components.IconDownload github.com/Tend-Stack/GothUI/v2026/components.IconName = \"download\"", - "IconEdit": "const github.com/Tend-Stack/GothUI/v2026/components.IconEdit github.com/Tend-Stack/GothUI/v2026/components.IconName = \"edit\"", - "IconExternalLink": "const github.com/Tend-Stack/GothUI/v2026/components.IconExternalLink github.com/Tend-Stack/GothUI/v2026/components.IconName = \"external-link\"", - "IconFile": "const github.com/Tend-Stack/GothUI/v2026/components.IconFile github.com/Tend-Stack/GothUI/v2026/components.IconName = \"file\"", - "IconFolder": "const github.com/Tend-Stack/GothUI/v2026/components.IconFolder github.com/Tend-Stack/GothUI/v2026/components.IconName = \"folder\"", - "IconInfo": "const github.com/Tend-Stack/GothUI/v2026/components.IconInfo github.com/Tend-Stack/GothUI/v2026/components.IconName = \"info\"", - "IconMenu": "const github.com/Tend-Stack/GothUI/v2026/components.IconMenu github.com/Tend-Stack/GothUI/v2026/components.IconName = \"menu\"", - "IconMinus": "const github.com/Tend-Stack/GothUI/v2026/components.IconMinus github.com/Tend-Stack/GothUI/v2026/components.IconName = \"minus\"", - "IconMoon": "const github.com/Tend-Stack/GothUI/v2026/components.IconMoon github.com/Tend-Stack/GothUI/v2026/components.IconName = \"moon\"", - "IconName": "type github.com/Tend-Stack/GothUI/v2026/components.IconName string", - "IconNames": "func github.com/Tend-Stack/GothUI/v2026/components.IconNames() []github.com/Tend-Stack/GothUI/v2026/components.IconName", - "IconNone": "const github.com/Tend-Stack/GothUI/v2026/components.IconNone github.com/Tend-Stack/GothUI/v2026/components.IconName = \"\"", - "IconPlus": "const github.com/Tend-Stack/GothUI/v2026/components.IconPlus github.com/Tend-Stack/GothUI/v2026/components.IconName = \"plus\"", - "IconProps": "type github.com/Tend-Stack/GothUI/v2026/components.IconProps struct{Name github.com/Tend-Stack/GothUI/v2026/components.IconName; Label string; Size github.com/Tend-Stack/GothUI/v2026/components.IconSize}", - "IconSearch": "const github.com/Tend-Stack/GothUI/v2026/components.IconSearch github.com/Tend-Stack/GothUI/v2026/components.IconName = \"search\"", - "IconSize": "type github.com/Tend-Stack/GothUI/v2026/components.IconSize string", - "IconSizeLarge": "const github.com/Tend-Stack/GothUI/v2026/components.IconSizeLarge github.com/Tend-Stack/GothUI/v2026/components.IconSize = \"large\"", - "IconSizeMedium": "const github.com/Tend-Stack/GothUI/v2026/components.IconSizeMedium github.com/Tend-Stack/GothUI/v2026/components.IconSize = \"medium\"", - "IconSizeSmall": "const github.com/Tend-Stack/GothUI/v2026/components.IconSizeSmall github.com/Tend-Stack/GothUI/v2026/components.IconSize = \"small\"", - "IconSun": "const github.com/Tend-Stack/GothUI/v2026/components.IconSun github.com/Tend-Stack/GothUI/v2026/components.IconName = \"sun\"", - "IconUpload": "const github.com/Tend-Stack/GothUI/v2026/components.IconUpload github.com/Tend-Stack/GothUI/v2026/components.IconName = \"upload\"", - "IconUser": "const github.com/Tend-Stack/GothUI/v2026/components.IconUser github.com/Tend-Stack/GothUI/v2026/components.IconName = \"user\"", - "IconWarning": "const github.com/Tend-Stack/GothUI/v2026/components.IconWarning github.com/Tend-Stack/GothUI/v2026/components.IconName = \"warning\"", - "Input": "func github.com/Tend-Stack/GothUI/v2026/components.Input(props github.com/Tend-Stack/GothUI/v2026/components.InputProps) github.com/a-h/templ.Component", - "InputDate": "const github.com/Tend-Stack/GothUI/v2026/components.InputDate github.com/Tend-Stack/GothUI/v2026/components.InputType = \"date\"", - "InputEmail": "const github.com/Tend-Stack/GothUI/v2026/components.InputEmail github.com/Tend-Stack/GothUI/v2026/components.InputType = \"email\"", - "InputGroup": "func github.com/Tend-Stack/GothUI/v2026/components.InputGroup(props github.com/Tend-Stack/GothUI/v2026/components.InputGroupProps) github.com/a-h/templ.Component", - "InputGroupProps": "type github.com/Tend-Stack/GothUI/v2026/components.InputGroupProps struct{Prefix string; Suffix string}", - "InputNumber": "const github.com/Tend-Stack/GothUI/v2026/components.InputNumber github.com/Tend-Stack/GothUI/v2026/components.InputType = \"number\"", - "InputPassword": "const github.com/Tend-Stack/GothUI/v2026/components.InputPassword github.com/Tend-Stack/GothUI/v2026/components.InputType = \"password\"", - "InputProps": "type github.com/Tend-Stack/GothUI/v2026/components.InputProps struct{ID string; Name string; Label string; Type github.com/Tend-Stack/GothUI/v2026/components.InputType; Value string; Placeholder string; Autocomplete string; Required bool; Disabled bool; ReadOnly bool; Invalid bool; DescribedBy string}", - "InputSearch": "const github.com/Tend-Stack/GothUI/v2026/components.InputSearch github.com/Tend-Stack/GothUI/v2026/components.InputType = \"search\"", - "InputTel": "const github.com/Tend-Stack/GothUI/v2026/components.InputTel github.com/Tend-Stack/GothUI/v2026/components.InputType = \"tel\"", - "InputText": "const github.com/Tend-Stack/GothUI/v2026/components.InputText github.com/Tend-Stack/GothUI/v2026/components.InputType = \"text\"", - "InputType": "type github.com/Tend-Stack/GothUI/v2026/components.InputType string", - "InputURL": "const github.com/Tend-Stack/GothUI/v2026/components.InputURL github.com/Tend-Stack/GothUI/v2026/components.InputType = \"url\"", - "Layout": "func github.com/Tend-Stack/GothUI/v2026/components.Layout(props github.com/Tend-Stack/GothUI/v2026/components.LayoutProps, body github.com/a-h/templ.Component) github.com/a-h/templ.Component", - "LayoutAlign": "type github.com/Tend-Stack/GothUI/v2026/components.LayoutAlign string", - "LayoutAlignBaseline": "const github.com/Tend-Stack/GothUI/v2026/components.LayoutAlignBaseline github.com/Tend-Stack/GothUI/v2026/components.LayoutAlign = \"baseline\"", - "LayoutAlignCenter": "const github.com/Tend-Stack/GothUI/v2026/components.LayoutAlignCenter github.com/Tend-Stack/GothUI/v2026/components.LayoutAlign = \"center\"", - "LayoutAlignEnd": "const github.com/Tend-Stack/GothUI/v2026/components.LayoutAlignEnd github.com/Tend-Stack/GothUI/v2026/components.LayoutAlign = \"end\"", - "LayoutAlignStart": "const github.com/Tend-Stack/GothUI/v2026/components.LayoutAlignStart github.com/Tend-Stack/GothUI/v2026/components.LayoutAlign = \"start\"", - "LayoutAlignStretch": "const github.com/Tend-Stack/GothUI/v2026/components.LayoutAlignStretch github.com/Tend-Stack/GothUI/v2026/components.LayoutAlign = \"stretch\"", - "LayoutJustify": "type github.com/Tend-Stack/GothUI/v2026/components.LayoutJustify string", - "LayoutJustifyBetween": "const github.com/Tend-Stack/GothUI/v2026/components.LayoutJustifyBetween github.com/Tend-Stack/GothUI/v2026/components.LayoutJustify = \"between\"", - "LayoutJustifyCenter": "const github.com/Tend-Stack/GothUI/v2026/components.LayoutJustifyCenter github.com/Tend-Stack/GothUI/v2026/components.LayoutJustify = \"center\"", - "LayoutJustifyEnd": "const github.com/Tend-Stack/GothUI/v2026/components.LayoutJustifyEnd github.com/Tend-Stack/GothUI/v2026/components.LayoutJustify = \"end\"", - "LayoutJustifyStart": "const github.com/Tend-Stack/GothUI/v2026/components.LayoutJustifyStart github.com/Tend-Stack/GothUI/v2026/components.LayoutJustify = \"start\"", - "LayoutProps": "type github.com/Tend-Stack/GothUI/v2026/components.LayoutProps struct{Title string; Language string; Theme github.com/Tend-Stack/GothUI/v2026/components.Theme; Description string; Appearance github.com/Tend-Stack/GothUI/v2026/components.Appearance; Head github.com/a-h/templ.Component}", - "Link": "func github.com/Tend-Stack/GothUI/v2026/components.Link(props github.com/Tend-Stack/GothUI/v2026/components.LinkProps) github.com/a-h/templ.Component", - "LinkProps": "type github.com/Tend-Stack/GothUI/v2026/components.LinkProps struct{Text string; Href string; Primary bool; Outline bool; HxGet string; HxPost string; HxTarget string; HxSwap string; HxIndicator string; IconBefore github.com/Tend-Stack/GothUI/v2026/components.IconName; IconAfter github.com/Tend-Stack/GothUI/v2026/components.IconName; AriaLabel string}", - "MeasureNarrow": "const github.com/Tend-Stack/GothUI/v2026/components.MeasureNarrow github.com/Tend-Stack/GothUI/v2026/components.TextMeasure = \"narrow\"", - "MeasureStandard": "const github.com/Tend-Stack/GothUI/v2026/components.MeasureStandard github.com/Tend-Stack/GothUI/v2026/components.TextMeasure = \"standard\"", - "MeasureWide": "const github.com/Tend-Stack/GothUI/v2026/components.MeasureWide github.com/Tend-Stack/GothUI/v2026/components.TextMeasure = \"wide\"", - "MethodGet": "const github.com/Tend-Stack/GothUI/v2026/components.MethodGet github.com/Tend-Stack/GothUI/v2026/components.FormMethod = \"get\"", - "MethodPost": "const github.com/Tend-Stack/GothUI/v2026/components.MethodPost github.com/Tend-Stack/GothUI/v2026/components.FormMethod = \"post\"", - "MotionOff": "const github.com/Tend-Stack/GothUI/v2026/components.MotionOff github.com/Tend-Stack/GothUI/v2026/components.MotionPreference = \"off\"", - "MotionPreference": "type github.com/Tend-Stack/GothUI/v2026/components.MotionPreference string", - "MotionSystem": "const github.com/Tend-Stack/GothUI/v2026/components.MotionSystem github.com/Tend-Stack/GothUI/v2026/components.MotionPreference = \"system\"", - "NavItem": "type github.com/Tend-Stack/GothUI/v2026/components.NavItem struct{Label string; Href string; Current bool; Badge string}", - "Option": "type github.com/Tend-Stack/GothUI/v2026/components.Option struct{Label string; Value string; Disabled bool}", - "Pagination": "func github.com/Tend-Stack/GothUI/v2026/components.Pagination(props github.com/Tend-Stack/GothUI/v2026/components.PaginationProps) github.com/a-h/templ.Component", - "PaginationProps": "type github.com/Tend-Stack/GothUI/v2026/components.PaginationProps struct{Page int; TotalPages int; URLForPage func(int) string; Label string; PreviousLabel string; NextLabel string; PageLabel string}", - "Popover": "func github.com/Tend-Stack/GothUI/v2026/components.Popover(props github.com/Tend-Stack/GothUI/v2026/components.PopoverProps) github.com/a-h/templ.Component", - "PopoverAction": "type github.com/Tend-Stack/GothUI/v2026/components.PopoverAction string", - "PopoverAuto": "const github.com/Tend-Stack/GothUI/v2026/components.PopoverAuto github.com/Tend-Stack/GothUI/v2026/components.PopoverMode = \"auto\"", - "PopoverHide": "const github.com/Tend-Stack/GothUI/v2026/components.PopoverHide github.com/Tend-Stack/GothUI/v2026/components.PopoverAction = \"hide\"", - "PopoverManual": "const github.com/Tend-Stack/GothUI/v2026/components.PopoverManual github.com/Tend-Stack/GothUI/v2026/components.PopoverMode = \"manual\"", - "PopoverMode": "type github.com/Tend-Stack/GothUI/v2026/components.PopoverMode string", - "PopoverProps": "type github.com/Tend-Stack/GothUI/v2026/components.PopoverProps struct{ID string; Title string; Mode github.com/Tend-Stack/GothUI/v2026/components.PopoverMode; CloseLabel string}", - "PopoverShow": "const github.com/Tend-Stack/GothUI/v2026/components.PopoverShow github.com/Tend-Stack/GothUI/v2026/components.PopoverAction = \"show\"", - "PopoverToggle": "const github.com/Tend-Stack/GothUI/v2026/components.PopoverToggle github.com/Tend-Stack/GothUI/v2026/components.PopoverAction = \"toggle\"", - "Preset": "type github.com/Tend-Stack/GothUI/v2026/components.Preset string", - "PresetForest": "const github.com/Tend-Stack/GothUI/v2026/components.PresetForest github.com/Tend-Stack/GothUI/v2026/components.Preset = \"forest\"", - "PresetIndigo": "const github.com/Tend-Stack/GothUI/v2026/components.PresetIndigo github.com/Tend-Stack/GothUI/v2026/components.Preset = \"indigo\"", - "PresetNeutral": "const github.com/Tend-Stack/GothUI/v2026/components.PresetNeutral github.com/Tend-Stack/GothUI/v2026/components.Preset = \"neutral\"", - "PresetRose": "const github.com/Tend-Stack/GothUI/v2026/components.PresetRose github.com/Tend-Stack/GothUI/v2026/components.Preset = \"rose\"", - "Prose": "func github.com/Tend-Stack/GothUI/v2026/components.Prose(props github.com/Tend-Stack/GothUI/v2026/components.ProseProps) github.com/a-h/templ.Component", - "ProseProps": "type github.com/Tend-Stack/GothUI/v2026/components.ProseProps struct{ID string; Measure github.com/Tend-Stack/GothUI/v2026/components.TextMeasure}", - "RadioGroup": "func github.com/Tend-Stack/GothUI/v2026/components.RadioGroup(props github.com/Tend-Stack/GothUI/v2026/components.RadioGroupProps) github.com/a-h/templ.Component", - "RadioGroupProps": "type github.com/Tend-Stack/GothUI/v2026/components.RadioGroupProps struct{ID string; Name string; Legend string; Value string; Options []github.com/Tend-Stack/GothUI/v2026/components.Option; Required bool; Disabled bool; Invalid bool; DescribedBy string}", - "Reveal": "func github.com/Tend-Stack/GothUI/v2026/components.Reveal(props github.com/Tend-Stack/GothUI/v2026/components.RevealProps) github.com/a-h/templ.Component", - "RevealProps": "type github.com/Tend-Stack/GothUI/v2026/components.RevealProps struct{Effect github.com/Tend-Stack/GothUI/v2026/components.EntryEffect; Delay github.com/Tend-Stack/GothUI/v2026/components.EntryDelay}", - "Select": "func github.com/Tend-Stack/GothUI/v2026/components.Select(props github.com/Tend-Stack/GothUI/v2026/components.SelectProps) github.com/a-h/templ.Component", - "SelectProps": "type github.com/Tend-Stack/GothUI/v2026/components.SelectProps struct{ID string; Name string; Label string; Value string; Options []github.com/Tend-Stack/GothUI/v2026/components.Option; Required bool; Disabled bool; Invalid bool; DescribedBy string}", - "Skeleton": "func github.com/Tend-Stack/GothUI/v2026/components.Skeleton(props github.com/Tend-Stack/GothUI/v2026/components.SkeletonProps) github.com/a-h/templ.Component", - "SkeletonProps": "type github.com/Tend-Stack/GothUI/v2026/components.SkeletonProps struct{Label string; Lines int; Avatar bool}", - "SortAscending": "const github.com/Tend-Stack/GothUI/v2026/components.SortAscending github.com/Tend-Stack/GothUI/v2026/components.SortDirection = \"ascending\"", - "SortDescending": "const github.com/Tend-Stack/GothUI/v2026/components.SortDescending github.com/Tend-Stack/GothUI/v2026/components.SortDirection = \"descending\"", - "SortDirection": "type github.com/Tend-Stack/GothUI/v2026/components.SortDirection string", - "SortNone": "const github.com/Tend-Stack/GothUI/v2026/components.SortNone github.com/Tend-Stack/GothUI/v2026/components.SortDirection = \"\"", - "Space": "type github.com/Tend-Stack/GothUI/v2026/components.Space string", - "SpaceExtraLarge": "const github.com/Tend-Stack/GothUI/v2026/components.SpaceExtraLarge github.com/Tend-Stack/GothUI/v2026/components.Space = \"xl\"", - "SpaceExtraSmall": "const github.com/Tend-Stack/GothUI/v2026/components.SpaceExtraSmall github.com/Tend-Stack/GothUI/v2026/components.Space = \"xs\"", - "SpaceLarge": "const github.com/Tend-Stack/GothUI/v2026/components.SpaceLarge github.com/Tend-Stack/GothUI/v2026/components.Space = \"lg\"", - "SpaceMedium": "const github.com/Tend-Stack/GothUI/v2026/components.SpaceMedium github.com/Tend-Stack/GothUI/v2026/components.Space = \"md\"", - "SpaceNone": "const github.com/Tend-Stack/GothUI/v2026/components.SpaceNone github.com/Tend-Stack/GothUI/v2026/components.Space = \"none\"", - "SpaceSmall": "const github.com/Tend-Stack/GothUI/v2026/components.SpaceSmall github.com/Tend-Stack/GothUI/v2026/components.Space = \"sm\"", - "Stack": "func github.com/Tend-Stack/GothUI/v2026/components.Stack(props github.com/Tend-Stack/GothUI/v2026/components.StackProps) github.com/a-h/templ.Component", - "StackProps": "type github.com/Tend-Stack/GothUI/v2026/components.StackProps struct{ID string; Gap github.com/Tend-Stack/GothUI/v2026/components.Space; Align github.com/Tend-Stack/GothUI/v2026/components.LayoutAlign}", - "Stat": "func github.com/Tend-Stack/GothUI/v2026/components.Stat(props github.com/Tend-Stack/GothUI/v2026/components.StatProps) github.com/a-h/templ.Component", - "StatProps": "type github.com/Tend-Stack/GothUI/v2026/components.StatProps struct{Label string; Value string; Detail string}", - "StepItem": "type github.com/Tend-Stack/GothUI/v2026/components.StepItem struct{Label string; Href string; Current bool; Completed bool}", - "Steps": "func github.com/Tend-Stack/GothUI/v2026/components.Steps(props github.com/Tend-Stack/GothUI/v2026/components.StepsProps) github.com/a-h/templ.Component", - "StepsProps": "type github.com/Tend-Stack/GothUI/v2026/components.StepsProps struct{Label string; CompletedLabel string; Items []github.com/Tend-Stack/GothUI/v2026/components.StepItem}", - "SurfaceDefault": "const github.com/Tend-Stack/GothUI/v2026/components.SurfaceDefault github.com/Tend-Stack/GothUI/v2026/components.CardSurface = \"\"", - "SurfaceGradient": "const github.com/Tend-Stack/GothUI/v2026/components.SurfaceGradient github.com/Tend-Stack/GothUI/v2026/components.CardSurface = \"gradient\"", - "SurfaceOutlined": "const github.com/Tend-Stack/GothUI/v2026/components.SurfaceOutlined github.com/Tend-Stack/GothUI/v2026/components.CardSurface = \"outlined\"", - "SurfaceTinted": "const github.com/Tend-Stack/GothUI/v2026/components.SurfaceTinted github.com/Tend-Stack/GothUI/v2026/components.CardSurface = \"tinted\"", - "Switch": "func github.com/Tend-Stack/GothUI/v2026/components.Switch(props github.com/Tend-Stack/GothUI/v2026/components.SwitchProps) github.com/a-h/templ.Component", - "SwitchProps": "type github.com/Tend-Stack/GothUI/v2026/components.SwitchProps struct{ID string; Name string; Label string; Value string; Checked bool; Disabled bool; DescribedBy string}", - "TabItem": "type github.com/Tend-Stack/GothUI/v2026/components.TabItem struct{Label string; Href string; Current bool; Disabled bool}", - "TableAlignment": "type github.com/Tend-Stack/GothUI/v2026/components.TableAlignment string", - "TableCell": "type github.com/Tend-Stack/GothUI/v2026/components.TableCell struct{Text string; Content github.com/a-h/templ.Component}", - "TableColumn": "type github.com/Tend-Stack/GothUI/v2026/components.TableColumn struct{Label string; SortURL string; SortLabel string; Sort github.com/Tend-Stack/GothUI/v2026/components.SortDirection; Alignment github.com/Tend-Stack/GothUI/v2026/components.TableAlignment; RowHeader bool}", - "TableRow": "type github.com/Tend-Stack/GothUI/v2026/components.TableRow struct{Cells []github.com/Tend-Stack/GothUI/v2026/components.TableCell; Selected bool}", - "Tabs": "func github.com/Tend-Stack/GothUI/v2026/components.Tabs(props github.com/Tend-Stack/GothUI/v2026/components.TabsProps) github.com/a-h/templ.Component", - "TabsProps": "type github.com/Tend-Stack/GothUI/v2026/components.TabsProps struct{Label string; Items []github.com/Tend-Stack/GothUI/v2026/components.TabItem}", - "TextLarge": "const github.com/Tend-Stack/GothUI/v2026/components.TextLarge github.com/Tend-Stack/GothUI/v2026/components.TextSize = \"large\"", - "TextMeasure": "type github.com/Tend-Stack/GothUI/v2026/components.TextMeasure string", - "TextSize": "type github.com/Tend-Stack/GothUI/v2026/components.TextSize string", - "TextStandard": "const github.com/Tend-Stack/GothUI/v2026/components.TextStandard github.com/Tend-Stack/GothUI/v2026/components.TextSize = \"standard\"", - "Textarea": "func github.com/Tend-Stack/GothUI/v2026/components.Textarea(props github.com/Tend-Stack/GothUI/v2026/components.TextareaProps) github.com/a-h/templ.Component", - "TextareaProps": "type github.com/Tend-Stack/GothUI/v2026/components.TextareaProps struct{ID string; Name string; Label string; Value string; Placeholder string; DescribedBy string; Rows int; MaxLength int; Required bool; Disabled bool; ReadOnly bool; Invalid bool}", - "Theme": "type github.com/Tend-Stack/GothUI/v2026/components.Theme string", - "ThemeDark": "const github.com/Tend-Stack/GothUI/v2026/components.ThemeDark github.com/Tend-Stack/GothUI/v2026/components.Theme = \"dark\"", - "ThemeLight": "const github.com/Tend-Stack/GothUI/v2026/components.ThemeLight github.com/Tend-Stack/GothUI/v2026/components.Theme = \"light\"", - "ThemeSystem": "const github.com/Tend-Stack/GothUI/v2026/components.ThemeSystem github.com/Tend-Stack/GothUI/v2026/components.Theme = \"\"", - "ThemeToggle": "func github.com/Tend-Stack/GothUI/v2026/components.ThemeToggle(options ...github.com/Tend-Stack/GothUI/v2026/components.ThemeToggleProps) github.com/a-h/templ.Component", - "ThemeToggleProps": "type github.com/Tend-Stack/GothUI/v2026/components.ThemeToggleProps struct{Label string; CSRFToken string}", - "Tone": "type github.com/Tend-Stack/GothUI/v2026/components.Tone string", - "ToneDanger": "const github.com/Tend-Stack/GothUI/v2026/components.ToneDanger github.com/Tend-Stack/GothUI/v2026/components.Tone = \"danger\"", - "ToneInfo": "const github.com/Tend-Stack/GothUI/v2026/components.ToneInfo github.com/Tend-Stack/GothUI/v2026/components.Tone = \"info\"", - "ToneNeutral": "const github.com/Tend-Stack/GothUI/v2026/components.ToneNeutral github.com/Tend-Stack/GothUI/v2026/components.Tone = \"neutral\"", - "ToneSuccess": "const github.com/Tend-Stack/GothUI/v2026/components.ToneSuccess github.com/Tend-Stack/GothUI/v2026/components.Tone = \"success\"", - "ToneWarning": "const github.com/Tend-Stack/GothUI/v2026/components.ToneWarning github.com/Tend-Stack/GothUI/v2026/components.Tone = \"warning\"", - "Typography": "type github.com/Tend-Stack/GothUI/v2026/components.Typography string", - "TypographyMono": "const github.com/Tend-Stack/GothUI/v2026/components.TypographyMono github.com/Tend-Stack/GothUI/v2026/components.Typography = \"mono\"", - "TypographySans": "const github.com/Tend-Stack/GothUI/v2026/components.TypographySans github.com/Tend-Stack/GothUI/v2026/components.Typography = \"sans\"", - "TypographySerif": "const github.com/Tend-Stack/GothUI/v2026/components.TypographySerif github.com/Tend-Stack/GothUI/v2026/components.Typography = \"serif\"", - "WidthNarrow": "const github.com/Tend-Stack/GothUI/v2026/components.WidthNarrow github.com/Tend-Stack/GothUI/v2026/components.ContentWidth = \"narrow\"", - "WidthStandard": "const github.com/Tend-Stack/GothUI/v2026/components.WidthStandard github.com/Tend-Stack/GothUI/v2026/components.ContentWidth = \"standard\"", - "WidthWide": "const github.com/Tend-Stack/GothUI/v2026/components.WidthWide github.com/Tend-Stack/GothUI/v2026/components.ContentWidth = \"wide\"" + "FileInput": "func github.com/Tend-Stack/TendUI/v2026/components.FileInput(props github.com/Tend-Stack/TendUI/v2026/components.FileInputProps) github.com/a-h/templ.Component", + "FileInputProps": "type github.com/Tend-Stack/TendUI/v2026/components.FileInputProps struct{ID string; Name string; Label string; Accept string; Multiple bool; Required bool; Disabled bool; Invalid bool; DescribedBy string}", + "Form": "func github.com/Tend-Stack/TendUI/v2026/components.Form(props github.com/Tend-Stack/TendUI/v2026/components.FormProps) github.com/a-h/templ.Component", + "FormMethod": "type github.com/Tend-Stack/TendUI/v2026/components.FormMethod string", + "FormProps": "type github.com/Tend-Stack/TendUI/v2026/components.FormProps struct{ID string; Action string; Method github.com/Tend-Stack/TendUI/v2026/components.FormMethod; HxGet string; HxPost string; HxTarget string; HxSwap string; HxIndicator string; Multipart bool}", + "Grid": "func github.com/Tend-Stack/TendUI/v2026/components.Grid(props github.com/Tend-Stack/TendUI/v2026/components.GridProps) github.com/a-h/templ.Component", + "GridProps": "type github.com/Tend-Stack/TendUI/v2026/components.GridProps struct{ID string}", + "Icon": "func github.com/Tend-Stack/TendUI/v2026/components.Icon(props github.com/Tend-Stack/TendUI/v2026/components.IconProps) github.com/a-h/templ.Component", + "IconArrowDown": "const github.com/Tend-Stack/TendUI/v2026/components.IconArrowDown github.com/Tend-Stack/TendUI/v2026/components.IconName = \"arrow-down\"", + "IconArrowLeft": "const github.com/Tend-Stack/TendUI/v2026/components.IconArrowLeft github.com/Tend-Stack/TendUI/v2026/components.IconName = \"arrow-left\"", + "IconArrowRight": "const github.com/Tend-Stack/TendUI/v2026/components.IconArrowRight github.com/Tend-Stack/TendUI/v2026/components.IconName = \"arrow-right\"", + "IconArrowUp": "const github.com/Tend-Stack/TendUI/v2026/components.IconArrowUp github.com/Tend-Stack/TendUI/v2026/components.IconName = \"arrow-up\"", + "IconCalendar": "const github.com/Tend-Stack/TendUI/v2026/components.IconCalendar github.com/Tend-Stack/TendUI/v2026/components.IconName = \"calendar\"", + "IconCheck": "const github.com/Tend-Stack/TendUI/v2026/components.IconCheck github.com/Tend-Stack/TendUI/v2026/components.IconName = \"check\"", + "IconChevronDown": "const github.com/Tend-Stack/TendUI/v2026/components.IconChevronDown github.com/Tend-Stack/TendUI/v2026/components.IconName = \"chevron-down\"", + "IconChevronRight": "const github.com/Tend-Stack/TendUI/v2026/components.IconChevronRight github.com/Tend-Stack/TendUI/v2026/components.IconName = \"chevron-right\"", + "IconClose": "const github.com/Tend-Stack/TendUI/v2026/components.IconClose github.com/Tend-Stack/TendUI/v2026/components.IconName = \"close\"", + "IconDownload": "const github.com/Tend-Stack/TendUI/v2026/components.IconDownload github.com/Tend-Stack/TendUI/v2026/components.IconName = \"download\"", + "IconEdit": "const github.com/Tend-Stack/TendUI/v2026/components.IconEdit github.com/Tend-Stack/TendUI/v2026/components.IconName = \"edit\"", + "IconExternalLink": "const github.com/Tend-Stack/TendUI/v2026/components.IconExternalLink github.com/Tend-Stack/TendUI/v2026/components.IconName = \"external-link\"", + "IconFile": "const github.com/Tend-Stack/TendUI/v2026/components.IconFile github.com/Tend-Stack/TendUI/v2026/components.IconName = \"file\"", + "IconFolder": "const github.com/Tend-Stack/TendUI/v2026/components.IconFolder github.com/Tend-Stack/TendUI/v2026/components.IconName = \"folder\"", + "IconInfo": "const github.com/Tend-Stack/TendUI/v2026/components.IconInfo github.com/Tend-Stack/TendUI/v2026/components.IconName = \"info\"", + "IconMenu": "const github.com/Tend-Stack/TendUI/v2026/components.IconMenu github.com/Tend-Stack/TendUI/v2026/components.IconName = \"menu\"", + "IconMinus": "const github.com/Tend-Stack/TendUI/v2026/components.IconMinus github.com/Tend-Stack/TendUI/v2026/components.IconName = \"minus\"", + "IconMoon": "const github.com/Tend-Stack/TendUI/v2026/components.IconMoon github.com/Tend-Stack/TendUI/v2026/components.IconName = \"moon\"", + "IconName": "type github.com/Tend-Stack/TendUI/v2026/components.IconName string", + "IconNames": "func github.com/Tend-Stack/TendUI/v2026/components.IconNames() []github.com/Tend-Stack/TendUI/v2026/components.IconName", + "IconNone": "const github.com/Tend-Stack/TendUI/v2026/components.IconNone github.com/Tend-Stack/TendUI/v2026/components.IconName = \"\"", + "IconPlus": "const github.com/Tend-Stack/TendUI/v2026/components.IconPlus github.com/Tend-Stack/TendUI/v2026/components.IconName = \"plus\"", + "IconProps": "type github.com/Tend-Stack/TendUI/v2026/components.IconProps struct{Name github.com/Tend-Stack/TendUI/v2026/components.IconName; Label string; Size github.com/Tend-Stack/TendUI/v2026/components.IconSize}", + "IconSearch": "const github.com/Tend-Stack/TendUI/v2026/components.IconSearch github.com/Tend-Stack/TendUI/v2026/components.IconName = \"search\"", + "IconSize": "type github.com/Tend-Stack/TendUI/v2026/components.IconSize string", + "IconSizeLarge": "const github.com/Tend-Stack/TendUI/v2026/components.IconSizeLarge github.com/Tend-Stack/TendUI/v2026/components.IconSize = \"large\"", + "IconSizeMedium": "const github.com/Tend-Stack/TendUI/v2026/components.IconSizeMedium github.com/Tend-Stack/TendUI/v2026/components.IconSize = \"medium\"", + "IconSizeSmall": "const github.com/Tend-Stack/TendUI/v2026/components.IconSizeSmall github.com/Tend-Stack/TendUI/v2026/components.IconSize = \"small\"", + "IconSun": "const github.com/Tend-Stack/TendUI/v2026/components.IconSun github.com/Tend-Stack/TendUI/v2026/components.IconName = \"sun\"", + "IconUpload": "const github.com/Tend-Stack/TendUI/v2026/components.IconUpload github.com/Tend-Stack/TendUI/v2026/components.IconName = \"upload\"", + "IconUser": "const github.com/Tend-Stack/TendUI/v2026/components.IconUser github.com/Tend-Stack/TendUI/v2026/components.IconName = \"user\"", + "IconWarning": "const github.com/Tend-Stack/TendUI/v2026/components.IconWarning github.com/Tend-Stack/TendUI/v2026/components.IconName = \"warning\"", + "Input": "func github.com/Tend-Stack/TendUI/v2026/components.Input(props github.com/Tend-Stack/TendUI/v2026/components.InputProps) github.com/a-h/templ.Component", + "InputDate": "const github.com/Tend-Stack/TendUI/v2026/components.InputDate github.com/Tend-Stack/TendUI/v2026/components.InputType = \"date\"", + "InputEmail": "const github.com/Tend-Stack/TendUI/v2026/components.InputEmail github.com/Tend-Stack/TendUI/v2026/components.InputType = \"email\"", + "InputGroup": "func github.com/Tend-Stack/TendUI/v2026/components.InputGroup(props github.com/Tend-Stack/TendUI/v2026/components.InputGroupProps) github.com/a-h/templ.Component", + "InputGroupProps": "type github.com/Tend-Stack/TendUI/v2026/components.InputGroupProps struct{Prefix string; Suffix string}", + "InputNumber": "const github.com/Tend-Stack/TendUI/v2026/components.InputNumber github.com/Tend-Stack/TendUI/v2026/components.InputType = \"number\"", + "InputPassword": "const github.com/Tend-Stack/TendUI/v2026/components.InputPassword github.com/Tend-Stack/TendUI/v2026/components.InputType = \"password\"", + "InputProps": "type github.com/Tend-Stack/TendUI/v2026/components.InputProps struct{ID string; Name string; Label string; Type github.com/Tend-Stack/TendUI/v2026/components.InputType; Value string; Placeholder string; Autocomplete string; Required bool; Disabled bool; ReadOnly bool; Invalid bool; DescribedBy string}", + "InputSearch": "const github.com/Tend-Stack/TendUI/v2026/components.InputSearch github.com/Tend-Stack/TendUI/v2026/components.InputType = \"search\"", + "InputTel": "const github.com/Tend-Stack/TendUI/v2026/components.InputTel github.com/Tend-Stack/TendUI/v2026/components.InputType = \"tel\"", + "InputText": "const github.com/Tend-Stack/TendUI/v2026/components.InputText github.com/Tend-Stack/TendUI/v2026/components.InputType = \"text\"", + "InputType": "type github.com/Tend-Stack/TendUI/v2026/components.InputType string", + "InputURL": "const github.com/Tend-Stack/TendUI/v2026/components.InputURL github.com/Tend-Stack/TendUI/v2026/components.InputType = \"url\"", + "Layout": "func github.com/Tend-Stack/TendUI/v2026/components.Layout(props github.com/Tend-Stack/TendUI/v2026/components.LayoutProps, body github.com/a-h/templ.Component) github.com/a-h/templ.Component", + "LayoutAlign": "type github.com/Tend-Stack/TendUI/v2026/components.LayoutAlign string", + "LayoutAlignBaseline": "const github.com/Tend-Stack/TendUI/v2026/components.LayoutAlignBaseline github.com/Tend-Stack/TendUI/v2026/components.LayoutAlign = \"baseline\"", + "LayoutAlignCenter": "const github.com/Tend-Stack/TendUI/v2026/components.LayoutAlignCenter github.com/Tend-Stack/TendUI/v2026/components.LayoutAlign = \"center\"", + "LayoutAlignEnd": "const github.com/Tend-Stack/TendUI/v2026/components.LayoutAlignEnd github.com/Tend-Stack/TendUI/v2026/components.LayoutAlign = \"end\"", + "LayoutAlignStart": "const github.com/Tend-Stack/TendUI/v2026/components.LayoutAlignStart github.com/Tend-Stack/TendUI/v2026/components.LayoutAlign = \"start\"", + "LayoutAlignStretch": "const github.com/Tend-Stack/TendUI/v2026/components.LayoutAlignStretch github.com/Tend-Stack/TendUI/v2026/components.LayoutAlign = \"stretch\"", + "LayoutJustify": "type github.com/Tend-Stack/TendUI/v2026/components.LayoutJustify string", + "LayoutJustifyBetween": "const github.com/Tend-Stack/TendUI/v2026/components.LayoutJustifyBetween github.com/Tend-Stack/TendUI/v2026/components.LayoutJustify = \"between\"", + "LayoutJustifyCenter": "const github.com/Tend-Stack/TendUI/v2026/components.LayoutJustifyCenter github.com/Tend-Stack/TendUI/v2026/components.LayoutJustify = \"center\"", + "LayoutJustifyEnd": "const github.com/Tend-Stack/TendUI/v2026/components.LayoutJustifyEnd github.com/Tend-Stack/TendUI/v2026/components.LayoutJustify = \"end\"", + "LayoutJustifyStart": "const github.com/Tend-Stack/TendUI/v2026/components.LayoutJustifyStart github.com/Tend-Stack/TendUI/v2026/components.LayoutJustify = \"start\"", + "LayoutProps": "type github.com/Tend-Stack/TendUI/v2026/components.LayoutProps struct{Title string; Language string; Theme github.com/Tend-Stack/TendUI/v2026/components.Theme; Description string; Appearance github.com/Tend-Stack/TendUI/v2026/components.Appearance; Head github.com/a-h/templ.Component}", + "Link": "func github.com/Tend-Stack/TendUI/v2026/components.Link(props github.com/Tend-Stack/TendUI/v2026/components.LinkProps) github.com/a-h/templ.Component", + "LinkProps": "type github.com/Tend-Stack/TendUI/v2026/components.LinkProps struct{Text string; Href string; Primary bool; Outline bool; HxGet string; HxPost string; HxTarget string; HxSwap string; HxIndicator string; IconBefore github.com/Tend-Stack/TendUI/v2026/components.IconName; IconAfter github.com/Tend-Stack/TendUI/v2026/components.IconName; AriaLabel string}", + "MeasureNarrow": "const github.com/Tend-Stack/TendUI/v2026/components.MeasureNarrow github.com/Tend-Stack/TendUI/v2026/components.TextMeasure = \"narrow\"", + "MeasureStandard": "const github.com/Tend-Stack/TendUI/v2026/components.MeasureStandard github.com/Tend-Stack/TendUI/v2026/components.TextMeasure = \"standard\"", + "MeasureWide": "const github.com/Tend-Stack/TendUI/v2026/components.MeasureWide github.com/Tend-Stack/TendUI/v2026/components.TextMeasure = \"wide\"", + "MethodGet": "const github.com/Tend-Stack/TendUI/v2026/components.MethodGet github.com/Tend-Stack/TendUI/v2026/components.FormMethod = \"get\"", + "MethodPost": "const github.com/Tend-Stack/TendUI/v2026/components.MethodPost github.com/Tend-Stack/TendUI/v2026/components.FormMethod = \"post\"", + "MotionOff": "const github.com/Tend-Stack/TendUI/v2026/components.MotionOff github.com/Tend-Stack/TendUI/v2026/components.MotionPreference = \"off\"", + "MotionPreference": "type github.com/Tend-Stack/TendUI/v2026/components.MotionPreference string", + "MotionSystem": "const github.com/Tend-Stack/TendUI/v2026/components.MotionSystem github.com/Tend-Stack/TendUI/v2026/components.MotionPreference = \"system\"", + "NavGroup": "type github.com/Tend-Stack/TendUI/v2026/components.NavGroup struct{Title string; Items []github.com/Tend-Stack/TendUI/v2026/components.NavItem}", + "NavItem": "type github.com/Tend-Stack/TendUI/v2026/components.NavItem struct{Label string; Href string; Current bool; Badge string}", + "Option": "type github.com/Tend-Stack/TendUI/v2026/components.Option struct{Label string; Value string; Disabled bool}", + "Pagination": "func github.com/Tend-Stack/TendUI/v2026/components.Pagination(props github.com/Tend-Stack/TendUI/v2026/components.PaginationProps) github.com/a-h/templ.Component", + "PaginationProps": "type github.com/Tend-Stack/TendUI/v2026/components.PaginationProps struct{Page int; TotalPages int; URLForPage func(int) string; Label string; PreviousLabel string; NextLabel string; PageLabel string}", + "Popover": "func github.com/Tend-Stack/TendUI/v2026/components.Popover(props github.com/Tend-Stack/TendUI/v2026/components.PopoverProps) github.com/a-h/templ.Component", + "PopoverAction": "type github.com/Tend-Stack/TendUI/v2026/components.PopoverAction string", + "PopoverAuto": "const github.com/Tend-Stack/TendUI/v2026/components.PopoverAuto github.com/Tend-Stack/TendUI/v2026/components.PopoverMode = \"auto\"", + "PopoverHide": "const github.com/Tend-Stack/TendUI/v2026/components.PopoverHide github.com/Tend-Stack/TendUI/v2026/components.PopoverAction = \"hide\"", + "PopoverManual": "const github.com/Tend-Stack/TendUI/v2026/components.PopoverManual github.com/Tend-Stack/TendUI/v2026/components.PopoverMode = \"manual\"", + "PopoverMode": "type github.com/Tend-Stack/TendUI/v2026/components.PopoverMode string", + "PopoverProps": "type github.com/Tend-Stack/TendUI/v2026/components.PopoverProps struct{ID string; Title string; Mode github.com/Tend-Stack/TendUI/v2026/components.PopoverMode; CloseLabel string}", + "PopoverShow": "const github.com/Tend-Stack/TendUI/v2026/components.PopoverShow github.com/Tend-Stack/TendUI/v2026/components.PopoverAction = \"show\"", + "PopoverToggle": "const github.com/Tend-Stack/TendUI/v2026/components.PopoverToggle github.com/Tend-Stack/TendUI/v2026/components.PopoverAction = \"toggle\"", + "Preset": "type github.com/Tend-Stack/TendUI/v2026/components.Preset string", + "PresetForest": "const github.com/Tend-Stack/TendUI/v2026/components.PresetForest github.com/Tend-Stack/TendUI/v2026/components.Preset = \"forest\"", + "PresetIndigo": "const github.com/Tend-Stack/TendUI/v2026/components.PresetIndigo github.com/Tend-Stack/TendUI/v2026/components.Preset = \"indigo\"", + "PresetNeutral": "const github.com/Tend-Stack/TendUI/v2026/components.PresetNeutral github.com/Tend-Stack/TendUI/v2026/components.Preset = \"neutral\"", + "PresetRose": "const github.com/Tend-Stack/TendUI/v2026/components.PresetRose github.com/Tend-Stack/TendUI/v2026/components.Preset = \"rose\"", + "Prose": "func github.com/Tend-Stack/TendUI/v2026/components.Prose(props github.com/Tend-Stack/TendUI/v2026/components.ProseProps) github.com/a-h/templ.Component", + "ProseProps": "type github.com/Tend-Stack/TendUI/v2026/components.ProseProps struct{ID string; Measure github.com/Tend-Stack/TendUI/v2026/components.TextMeasure}", + "RadioGroup": "func github.com/Tend-Stack/TendUI/v2026/components.RadioGroup(props github.com/Tend-Stack/TendUI/v2026/components.RadioGroupProps) github.com/a-h/templ.Component", + "RadioGroupProps": "type github.com/Tend-Stack/TendUI/v2026/components.RadioGroupProps struct{ID string; Name string; Legend string; Value string; Options []github.com/Tend-Stack/TendUI/v2026/components.Option; Required bool; Disabled bool; Invalid bool; DescribedBy string}", + "Reveal": "func github.com/Tend-Stack/TendUI/v2026/components.Reveal(props github.com/Tend-Stack/TendUI/v2026/components.RevealProps) github.com/a-h/templ.Component", + "RevealProps": "type github.com/Tend-Stack/TendUI/v2026/components.RevealProps struct{Effect github.com/Tend-Stack/TendUI/v2026/components.EntryEffect; Delay github.com/Tend-Stack/TendUI/v2026/components.EntryDelay}", + "Select": "func github.com/Tend-Stack/TendUI/v2026/components.Select(props github.com/Tend-Stack/TendUI/v2026/components.SelectProps) github.com/a-h/templ.Component", + "SelectProps": "type github.com/Tend-Stack/TendUI/v2026/components.SelectProps struct{ID string; Name string; Label string; Value string; Options []github.com/Tend-Stack/TendUI/v2026/components.Option; Required bool; Disabled bool; Invalid bool; DescribedBy string}", + "SiteHeader": "func github.com/Tend-Stack/TendUI/v2026/components.SiteHeader(props github.com/Tend-Stack/TendUI/v2026/components.SiteHeaderProps) github.com/a-h/templ.Component", + "SiteHeaderItem": "type github.com/Tend-Stack/TendUI/v2026/components.SiteHeaderItem struct{Label string; Href string; Current bool; Groups []github.com/Tend-Stack/TendUI/v2026/components.NavGroup; AllLabel string; Note string}", + "SiteHeaderProps": "type github.com/Tend-Stack/TendUI/v2026/components.SiteHeaderProps struct{Brand github.com/a-h/templ.Component; BrandLabel string; BrandHref string; Label string; Items []github.com/Tend-Stack/TendUI/v2026/components.SiteHeaderItem; Section []github.com/Tend-Stack/TendUI/v2026/components.NavItem; Actions github.com/a-h/templ.Component; Extras github.com/a-h/templ.Component; MenuLabel string}", + "Skeleton": "func github.com/Tend-Stack/TendUI/v2026/components.Skeleton(props github.com/Tend-Stack/TendUI/v2026/components.SkeletonProps) github.com/a-h/templ.Component", + "SkeletonProps": "type github.com/Tend-Stack/TendUI/v2026/components.SkeletonProps struct{Label string; Lines int; Avatar bool}", + "SortAscending": "const github.com/Tend-Stack/TendUI/v2026/components.SortAscending github.com/Tend-Stack/TendUI/v2026/components.SortDirection = \"ascending\"", + "SortDescending": "const github.com/Tend-Stack/TendUI/v2026/components.SortDescending github.com/Tend-Stack/TendUI/v2026/components.SortDirection = \"descending\"", + "SortDirection": "type github.com/Tend-Stack/TendUI/v2026/components.SortDirection string", + "SortNone": "const github.com/Tend-Stack/TendUI/v2026/components.SortNone github.com/Tend-Stack/TendUI/v2026/components.SortDirection = \"\"", + "Space": "type github.com/Tend-Stack/TendUI/v2026/components.Space string", + "SpaceExtraLarge": "const github.com/Tend-Stack/TendUI/v2026/components.SpaceExtraLarge github.com/Tend-Stack/TendUI/v2026/components.Space = \"xl\"", + "SpaceExtraSmall": "const github.com/Tend-Stack/TendUI/v2026/components.SpaceExtraSmall github.com/Tend-Stack/TendUI/v2026/components.Space = \"xs\"", + "SpaceLarge": "const github.com/Tend-Stack/TendUI/v2026/components.SpaceLarge github.com/Tend-Stack/TendUI/v2026/components.Space = \"lg\"", + "SpaceMedium": "const github.com/Tend-Stack/TendUI/v2026/components.SpaceMedium github.com/Tend-Stack/TendUI/v2026/components.Space = \"md\"", + "SpaceNone": "const github.com/Tend-Stack/TendUI/v2026/components.SpaceNone github.com/Tend-Stack/TendUI/v2026/components.Space = \"none\"", + "SpaceSmall": "const github.com/Tend-Stack/TendUI/v2026/components.SpaceSmall github.com/Tend-Stack/TendUI/v2026/components.Space = \"sm\"", + "Stack": "func github.com/Tend-Stack/TendUI/v2026/components.Stack(props github.com/Tend-Stack/TendUI/v2026/components.StackProps) github.com/a-h/templ.Component", + "StackProps": "type github.com/Tend-Stack/TendUI/v2026/components.StackProps struct{ID string; Gap github.com/Tend-Stack/TendUI/v2026/components.Space; Align github.com/Tend-Stack/TendUI/v2026/components.LayoutAlign}", + "Stat": "func github.com/Tend-Stack/TendUI/v2026/components.Stat(props github.com/Tend-Stack/TendUI/v2026/components.StatProps) github.com/a-h/templ.Component", + "StatProps": "type github.com/Tend-Stack/TendUI/v2026/components.StatProps struct{Label string; Value string; Detail string}", + "StepItem": "type github.com/Tend-Stack/TendUI/v2026/components.StepItem struct{Label string; Href string; Current bool; Completed bool}", + "Steps": "func github.com/Tend-Stack/TendUI/v2026/components.Steps(props github.com/Tend-Stack/TendUI/v2026/components.StepsProps) github.com/a-h/templ.Component", + "StepsProps": "type github.com/Tend-Stack/TendUI/v2026/components.StepsProps struct{Label string; CompletedLabel string; Items []github.com/Tend-Stack/TendUI/v2026/components.StepItem}", + "SurfaceDefault": "const github.com/Tend-Stack/TendUI/v2026/components.SurfaceDefault github.com/Tend-Stack/TendUI/v2026/components.CardSurface = \"\"", + "SurfaceGradient": "const github.com/Tend-Stack/TendUI/v2026/components.SurfaceGradient github.com/Tend-Stack/TendUI/v2026/components.CardSurface = \"gradient\"", + "SurfaceOutlined": "const github.com/Tend-Stack/TendUI/v2026/components.SurfaceOutlined github.com/Tend-Stack/TendUI/v2026/components.CardSurface = \"outlined\"", + "SurfaceTinted": "const github.com/Tend-Stack/TendUI/v2026/components.SurfaceTinted github.com/Tend-Stack/TendUI/v2026/components.CardSurface = \"tinted\"", + "Switch": "func github.com/Tend-Stack/TendUI/v2026/components.Switch(props github.com/Tend-Stack/TendUI/v2026/components.SwitchProps) github.com/a-h/templ.Component", + "SwitchProps": "type github.com/Tend-Stack/TendUI/v2026/components.SwitchProps struct{ID string; Name string; Label string; Value string; Checked bool; Disabled bool; DescribedBy string}", + "TabItem": "type github.com/Tend-Stack/TendUI/v2026/components.TabItem struct{Label string; Href string; Current bool; Disabled bool}", + "TableAlignment": "type github.com/Tend-Stack/TendUI/v2026/components.TableAlignment string", + "TableCell": "type github.com/Tend-Stack/TendUI/v2026/components.TableCell struct{Text string; Content github.com/a-h/templ.Component}", + "TableColumn": "type github.com/Tend-Stack/TendUI/v2026/components.TableColumn struct{Label string; SortURL string; SortLabel string; Sort github.com/Tend-Stack/TendUI/v2026/components.SortDirection; Alignment github.com/Tend-Stack/TendUI/v2026/components.TableAlignment; RowHeader bool}", + "TableRow": "type github.com/Tend-Stack/TendUI/v2026/components.TableRow struct{Cells []github.com/Tend-Stack/TendUI/v2026/components.TableCell; Selected bool}", + "Tabs": "func github.com/Tend-Stack/TendUI/v2026/components.Tabs(props github.com/Tend-Stack/TendUI/v2026/components.TabsProps) github.com/a-h/templ.Component", + "TabsProps": "type github.com/Tend-Stack/TendUI/v2026/components.TabsProps struct{Label string; Items []github.com/Tend-Stack/TendUI/v2026/components.TabItem}", + "TextLarge": "const github.com/Tend-Stack/TendUI/v2026/components.TextLarge github.com/Tend-Stack/TendUI/v2026/components.TextSize = \"large\"", + "TextMeasure": "type github.com/Tend-Stack/TendUI/v2026/components.TextMeasure string", + "TextSize": "type github.com/Tend-Stack/TendUI/v2026/components.TextSize string", + "TextStandard": "const github.com/Tend-Stack/TendUI/v2026/components.TextStandard github.com/Tend-Stack/TendUI/v2026/components.TextSize = \"standard\"", + "Textarea": "func github.com/Tend-Stack/TendUI/v2026/components.Textarea(props github.com/Tend-Stack/TendUI/v2026/components.TextareaProps) github.com/a-h/templ.Component", + "TextareaProps": "type github.com/Tend-Stack/TendUI/v2026/components.TextareaProps struct{ID string; Name string; Label string; Value string; Placeholder string; DescribedBy string; Rows int; MaxLength int; Required bool; Disabled bool; ReadOnly bool; Invalid bool}", + "Theme": "type github.com/Tend-Stack/TendUI/v2026/components.Theme string", + "ThemeDark": "const github.com/Tend-Stack/TendUI/v2026/components.ThemeDark github.com/Tend-Stack/TendUI/v2026/components.Theme = \"dark\"", + "ThemeLight": "const github.com/Tend-Stack/TendUI/v2026/components.ThemeLight github.com/Tend-Stack/TendUI/v2026/components.Theme = \"light\"", + "ThemeSystem": "const github.com/Tend-Stack/TendUI/v2026/components.ThemeSystem github.com/Tend-Stack/TendUI/v2026/components.Theme = \"\"", + "ThemeToggle": "func github.com/Tend-Stack/TendUI/v2026/components.ThemeToggle(options ...github.com/Tend-Stack/TendUI/v2026/components.ThemeToggleProps) github.com/a-h/templ.Component", + "ThemeToggleProps": "type github.com/Tend-Stack/TendUI/v2026/components.ThemeToggleProps struct{Label string; CSRFToken string; IconOnly bool}", + "Tone": "type github.com/Tend-Stack/TendUI/v2026/components.Tone string", + "ToneDanger": "const github.com/Tend-Stack/TendUI/v2026/components.ToneDanger github.com/Tend-Stack/TendUI/v2026/components.Tone = \"danger\"", + "ToneInfo": "const github.com/Tend-Stack/TendUI/v2026/components.ToneInfo github.com/Tend-Stack/TendUI/v2026/components.Tone = \"info\"", + "ToneNeutral": "const github.com/Tend-Stack/TendUI/v2026/components.ToneNeutral github.com/Tend-Stack/TendUI/v2026/components.Tone = \"neutral\"", + "ToneSuccess": "const github.com/Tend-Stack/TendUI/v2026/components.ToneSuccess github.com/Tend-Stack/TendUI/v2026/components.Tone = \"success\"", + "ToneWarning": "const github.com/Tend-Stack/TendUI/v2026/components.ToneWarning github.com/Tend-Stack/TendUI/v2026/components.Tone = \"warning\"", + "Typography": "type github.com/Tend-Stack/TendUI/v2026/components.Typography string", + "TypographyMono": "const github.com/Tend-Stack/TendUI/v2026/components.TypographyMono github.com/Tend-Stack/TendUI/v2026/components.Typography = \"mono\"", + "TypographySans": "const github.com/Tend-Stack/TendUI/v2026/components.TypographySans github.com/Tend-Stack/TendUI/v2026/components.Typography = \"sans\"", + "TypographySerif": "const github.com/Tend-Stack/TendUI/v2026/components.TypographySerif github.com/Tend-Stack/TendUI/v2026/components.Typography = \"serif\"", + "WidthNarrow": "const github.com/Tend-Stack/TendUI/v2026/components.WidthNarrow github.com/Tend-Stack/TendUI/v2026/components.ContentWidth = \"narrow\"", + "WidthStandard": "const github.com/Tend-Stack/TendUI/v2026/components.WidthStandard github.com/Tend-Stack/TendUI/v2026/components.ContentWidth = \"standard\"", + "WidthWide": "const github.com/Tend-Stack/TendUI/v2026/components.WidthWide github.com/Tend-Stack/TendUI/v2026/components.ContentWidth = \"wide\"" }, - "github.com/Tend-Stack/GothUI/v2026/render": { - "Component": "type github.com/Tend-Stack/GothUI/v2026/render.Component interface{Render(context.Context, io.Writer) error}", + "github.com/Tend-Stack/TendUI/v2026/render": { + "Component": "type github.com/Tend-Stack/TendUI/v2026/render.Component interface{Render(context.Context, io.Writer) error}", "Component.Render": "func(context.Context, io.Writer) error", - "HTML": "func github.com/Tend-Stack/GothUI/v2026/render.HTML(w net/http.ResponseWriter, r *net/http.Request, status int, page github.com/Tend-Stack/GothUI/v2026/render.Component, fragment github.com/Tend-Stack/GothUI/v2026/render.Component) error", - "IsFragment": "func github.com/Tend-Stack/GothUI/v2026/render.IsFragment(r *net/http.Request) bool" + "HTML": "func github.com/Tend-Stack/TendUI/v2026/render.HTML(w net/http.ResponseWriter, r *net/http.Request, status int, page github.com/Tend-Stack/TendUI/v2026/render.Component, fragment github.com/Tend-Stack/TendUI/v2026/render.Component) error", + "IsFragment": "func github.com/Tend-Stack/TendUI/v2026/render.IsFragment(r *net/http.Request) bool" } } } diff --git a/asset_http_test.go b/asset_http_test.go index 41a8ef8..7b70935 100644 --- a/asset_http_test.go +++ b/asset_http_test.go @@ -1,4 +1,4 @@ -package gothui +package tendui import ( "bytes" diff --git a/cmd/gothui-dev/api.go b/cmd/tendui-dev/api.go similarity index 98% rename from cmd/gothui-dev/api.go rename to cmd/tendui-dev/api.go index f5064cf..4412134 100644 --- a/cmd/gothui-dev/api.go +++ b/cmd/tendui-dev/api.go @@ -13,7 +13,7 @@ import ( "path/filepath" "strings" - "github.com/Tend-Stack/GothUI/v2026/internal/apiguard" + "github.com/Tend-Stack/TendUI/v2026/internal/apiguard" ) // api reads compiler export data, so aliases, inferred types and iota constants diff --git a/cmd/gothui-dev/api_test.go b/cmd/tendui-dev/api_test.go similarity index 92% rename from cmd/gothui-dev/api_test.go rename to cmd/tendui-dev/api_test.go index f184751..46786f1 100644 --- a/cmd/gothui-dev/api_test.go +++ b/cmd/tendui-dev/api_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/Tend-Stack/GothUI/v2026/internal/apiguard" + "github.com/Tend-Stack/TendUI/v2026/internal/apiguard" ) func TestAPICheckUsesCompiledExportsAndRejectsDrift(t *testing.T) { @@ -24,12 +24,12 @@ func TestAPICheckUsesCompiledExportsAndRejectsDrift(t *testing.T) { } } write("go.mod", "module "+modulePath+"\n\ngo 1.26.0\n") - write("gothui.go", "package gothui\nconst Version=\"2026.1.0\"\n") + write("tendui.go", "package tendui\nconst Version=\"2026.1.0\"\n") write("components/components.go", "package components\ntype Props struct{Label string}\n") write("render/render.go", "package render\nfunc HTML(){}\n") git := func(args ...string) { t.Helper() - cmd := exec.Command("git", append([]string{"-c", "user.name=GothUI API test", "-c", "user.email=test@example.invalid"}, args...)...) + cmd := exec.Command("git", append([]string{"-c", "user.name=TendUI API test", "-c", "user.email=test@example.invalid"}, args...)...) cmd.Dir = root if b, err := cmd.CombinedOutput(); err != nil { t.Fatalf("git: %v %s", err, b) diff --git a/cmd/gothui-dev/build_test.go b/cmd/tendui-dev/build_test.go similarity index 94% rename from cmd/gothui-dev/build_test.go rename to cmd/tendui-dev/build_test.go index 32e1f7f..4ddb884 100644 --- a/cmd/gothui-dev/build_test.go +++ b/cmd/tendui-dev/build_test.go @@ -28,7 +28,7 @@ func TestNativeBuildExecutesBeforeReplacingReviewBinary(t *testing.T) { } } for _, args := range [][]string{{"init", "-q"}, {"add", "."}, {"commit", "-qm", "Build fixture"}} { - cmd := exec.Command("git", append([]string{"-c", "user.name=GothUI build test", "-c", "user.email=test@example.invalid"}, args...)...) + cmd := exec.Command("git", append([]string{"-c", "user.name=TendUI build test", "-c", "user.email=test@example.invalid"}, args...)...) cmd.Dir = root if b, err := cmd.CombinedOutput(); err != nil { t.Fatalf("git: %v %s", err, b) @@ -38,7 +38,7 @@ func TestNativeBuildExecutesBeforeReplacingReviewBinary(t *testing.T) { if err := os.MkdirAll(r.results, 0755); err != nil { t.Fatal(err) } - name := "gothui-demo" + name := "tendui-demo" if runtime.GOOS == "windows" { name += ".exe" } diff --git a/cmd/gothui-dev/consumer.go b/cmd/tendui-dev/consumer.go similarity index 94% rename from cmd/gothui-dev/consumer.go rename to cmd/tendui-dev/consumer.go index 9ee2394..08a2a78 100644 --- a/cmd/gothui-dev/consumer.go +++ b/cmd/tendui-dev/consumer.go @@ -12,7 +12,7 @@ import ( "path/filepath" "strings" - "github.com/Tend-Stack/GothUI/v2026" + "github.com/Tend-Stack/TendUI/v2026" ) func proxyModulePath(path string) string { @@ -90,7 +90,7 @@ func (r runner) consumerFixture() (proof map[string]any, resultErr error) { if err != nil { return nil, err } - temp, err := os.MkdirTemp("", "gothui-consumer-") + temp, err := os.MkdirTemp("", "tendui-consumer-") if err != nil { return nil, err } @@ -118,7 +118,7 @@ func (r runner) consumerFixture() (proof map[string]any, resultErr error) { resultErr = errors.Join(resultErr, fmt.Errorf("remove owned consumer fixture %s: %w", temp, err)) } }() - version := "v" + gothui.Version + version := "v" + tendui.Version versionDir := filepath.Join(proxy, filepath.FromSlash(proxyModulePath(modulePath)), "@v") for _, dir := range []string{consumer, versionDir} { if err := os.MkdirAll(dir, 0755); err != nil { @@ -138,7 +138,7 @@ func (r runner) consumerFixture() (proof map[string]any, resultErr error) { files := map[string][]byte{ filepath.Join(versionDir, version+".mod"): mod, filepath.Join(versionDir, version+".info"): []byte(fmt.Sprintf(`{"Version":%q,"Time":"2000-01-01T00:00:00Z"}`, version)), - filepath.Join(consumer, "go.mod"): []byte("module example.invalid/gothui-consumer\n\ngo 1.26.0\n"), + filepath.Join(consumer, "go.mod"): []byte("module example.invalid/tendui-consumer\n\ngo 1.26.0\n"), filepath.Join(consumer, "go.sum"): sums, filepath.Join(consumer, "consumer_test.go"): []byte(consumerTestSource), } @@ -223,25 +223,25 @@ import ( "strings" "testing" - "github.com/Tend-Stack/GothUI/v2026" - "github.com/Tend-Stack/GothUI/v2026/components" - "github.com/Tend-Stack/GothUI/v2026/render" + "github.com/Tend-Stack/TendUI/v2026" + "github.com/Tend-Stack/TendUI/v2026/components" + "github.com/Tend-Stack/TendUI/v2026/render" ) func TestInstalledModule(t *testing.T) { mux := http.NewServeMux() - mux.Handle(gothui.AssetPath, gothui.AssetHandler()) + mux.Handle(tendui.AssetPath, tendui.AssetHandler()) css := httptest.NewRecorder() - mux.ServeHTTP(css, httptest.NewRequest("GET", gothui.StylesheetURL, nil)) + mux.ServeHTTP(css, httptest.NewRequest("GET", tendui.StylesheetURL, nil)) if css.Code != 200 || !strings.Contains(css.Body.String(), ":root") || css.Header().Get("ETag") == "" { t.Fatal("installed module lost embedded stylesheet") } - page := components.Layout(components.LayoutProps{Title: "Installed "}, + page := components.Layout(components.LayoutProps{Title: "Installed "}, components.Card(components.CardProps{Body: components.Button(components.ButtonProps{Text: "Go "})})) response := httptest.NewRecorder() if err := render.HTML(response, httptest.NewRequest("GET", "/", nil), 200, page, nil); err != nil { t.Fatal(err) } body := response.Body.String() - for _, want := range []string{"", "Installed <GothUI>", "Go <native>", gothui.StylesheetURL} { + for _, want := range []string{"", "Installed <TendUI>", "Go <native>", tendui.StylesheetURL} { if !strings.Contains(body, want) { t.Errorf("installed components missing %q", want) } } if response.Code != 200 || strings.Contains(body, " %q\n", modulePath, gothui.Version, templVersion, modulePath, r.root) + mod := fmt.Sprintf("module tendui-recipe-check\n\ngo 1.26.0\n\nrequire (\n %s v%s\n github.com/a-h/templ %s\n)\n\nreplace %s => %q\n", modulePath, tendui.Version, templVersion, modulePath, r.root) if err := os.WriteFile(filepath.Join(temp, "go.mod"), []byte(mod), 0644); err != nil { return err } @@ -345,7 +345,7 @@ func (r runner) buildVersion() (string, error) { if err != nil { return "", err } - describe = gothui.Version + "-dev-g" + revision + describe = tendui.Version + "-dev-g" + revision } dirty, err := r.output("git", "status", "--porcelain", "--untracked-files=normal") if err != nil { @@ -369,7 +369,7 @@ func (r runner) build() error { if err := os.MkdirAll(output, 0755); err != nil { return err } - f, err := os.CreateTemp(output, executableName(".gothui-build-*", runtime.GOOS)) + f, err := os.CreateTemp(output, executableName(".tendui-build-*", runtime.GOOS)) if err != nil { return err } @@ -435,7 +435,7 @@ func (r runner) build() error { if err != nil { return err } - name := executableName("gothui-demo", runtime.GOOS) + name := executableName("tendui-demo", runtime.GOOS) if err := os.Rename(temp, filepath.Join(output, name)); err != nil { return err } diff --git a/cmd/gothui-dev/main_test.go b/cmd/tendui-dev/main_test.go similarity index 91% rename from cmd/gothui-dev/main_test.go rename to cmd/tendui-dev/main_test.go index 39bb0b3..8d6a230 100644 --- a/cmd/gothui-dev/main_test.go +++ b/cmd/tendui-dev/main_test.go @@ -16,13 +16,13 @@ func TestRunnerOutputSeparatesDiagnostics(t *testing.T) { if err != nil { t.Fatal(err) } - t.Setenv("GOTHUI_TEST_OUTPUT_HELPER", "1") + t.Setenv("TENDUI_TEST_OUTPUT_HELPER", "1") r := runner{root: t.TempDir(), goTool: goExecutable()} output, err := r.output(executable, "-test.run=^TestRunnerOutputHelper$") if err != nil || output != `{"package":"example.invalid/demo"}` { t.Fatalf("successful diagnostics contaminated machine output: %q, %v", output, err) } - t.Setenv("GOTHUI_TEST_OUTPUT_FAILURE", "1") + t.Setenv("TENDUI_TEST_OUTPUT_FAILURE", "1") output, err = r.output(executable, "-test.run=^TestRunnerOutputHelper$") if output != "" || err == nil || !strings.Contains(err.Error(), "fixture diagnostic") || !strings.Contains(err.Error(), "exit status") { t.Fatalf("failed command lost diagnostics: %q, %v", output, err) @@ -31,12 +31,12 @@ func TestRunnerOutputSeparatesDiagnostics(t *testing.T) { // A subprocess fixture is portable across native Unix and Windows tests. func TestRunnerOutputHelper(t *testing.T) { - if os.Getenv("GOTHUI_TEST_OUTPUT_HELPER") != "1" { + if os.Getenv("TENDUI_TEST_OUTPUT_HELPER") != "1" { return } fmt.Fprintln(os.Stdout, `{"package":"example.invalid/demo"}`) fmt.Fprintln(os.Stderr, "fixture diagnostic on stderr") - if os.Getenv("GOTHUI_TEST_OUTPUT_FAILURE") == "1" { + if os.Getenv("TENDUI_TEST_OUTPUT_FAILURE") == "1" { os.Exit(7) } os.Exit(0) @@ -46,7 +46,7 @@ func TestBuildVersionUsesGitAndIncludesUntrackedWork(t *testing.T) { dir := t.TempDir() git := func(args ...string) string { t.Helper() - cmd := exec.Command("git", append([]string{"-c", "user.name=GothUI test", "-c", "user.email=test@example.invalid"}, args...)...) + cmd := exec.Command("git", append([]string{"-c", "user.name=TendUI test", "-c", "user.email=test@example.invalid"}, args...)...) cmd.Dir = dir b, err := cmd.CombinedOutput() if err != nil { diff --git a/components/appearance.go b/components/appearance.go index 86a9861..c9421ca 100644 --- a/components/appearance.go +++ b/components/appearance.go @@ -42,7 +42,7 @@ const ( MotionOff MotionPreference = "off" ) -// Appearance configures independent CSS tokens. Its zero value preserves GothUI's defaults. +// Appearance configures independent CSS tokens. Its zero value preserves TendUI's defaults. // Normalize untrusted preferences before persistence; Layout always normalizes them too. type Appearance struct { Preset Preset `json:"preset"` @@ -88,21 +88,21 @@ func (a Appearance) Attributes() templ.Attributes { } } -// CSS exports overrides referencing the canonical tokens in gothui.css; no colors are duplicated. -// Load after gothui.css. Root attributes and these exports use the same specificity. +// CSS exports overrides referencing the canonical tokens in tendui.css; no colors are duplicated. +// Load after tendui.css. Root attributes and these exports use the same specificity. func (a Appearance) CSS() string { a = a.Normalize() var b strings.Builder - b.WriteString("/* GothUI appearance. Load after gothui.css. */\n:root {\n") + b.WriteString("/* TendUI appearance. Load after tendui.css. */\n:root {\n") for _, part := range []string{"light", "hover-light", "dark", "hover-dark", "on-dark"} { - fmt.Fprintf(&b, " --gothui-accent-%s: var(--gothui-preset-%s-%s);\n", part, a.Preset, part) + fmt.Fprintf(&b, " --tendui-accent-%s: var(--tendui-preset-%s-%s);\n", part, a.Preset, part) } for _, part := range []string{"space", "control-y", "control-x", "control-height", "card-padding", "grid-gap"} { - fmt.Fprintf(&b, " --gothui-%s: var(--gothui-density-%s-%s);\n", part, a.Density, part) + fmt.Fprintf(&b, " --tendui-%s: var(--tendui-density-%s-%s);\n", part, a.Density, part) } - fmt.Fprintf(&b, " --gothui-radius: var(--gothui-corners-%s);\n --gothui-font: var(--gothui-font-%s);\n --gothui-text-size: var(--gothui-size-%s);\n --gothui-content-width: var(--gothui-width-%s);\n --gothui-shadow: var(--gothui-elevation-%s);\n}\n", a.Corners, a.Typography, a.TextSize, a.Width, a.Elevation) + fmt.Fprintf(&b, " --tendui-radius: var(--tendui-corners-%s);\n --tendui-font: var(--tendui-font-%s);\n --tendui-text-size: var(--tendui-size-%s);\n --tendui-content-width: var(--tendui-width-%s);\n --tendui-shadow: var(--tendui-elevation-%s);\n}\n", a.Corners, a.Typography, a.TextSize, a.Width, a.Elevation) if a.Motion == MotionOff { - b.WriteString(":root { --gothui-duration-fast: 0ms; --gothui-duration-enter: 0ms; --gothui-duration-loading: 0ms; --gothui-stagger-step: 0ms; --gothui-lift-distance: 0px; }\n") + b.WriteString(":root { --tendui-duration-fast: 0ms; --tendui-duration-enter: 0ms; --tendui-duration-loading: 0ms; --tendui-stagger-step: 0ms; --tendui-lift-distance: 0px; }\n") } return b.String() } diff --git a/components/appearance_test.go b/components/appearance_test.go index ee86088..1a8a0ea 100644 --- a/components/appearance_test.go +++ b/components/appearance_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/Tend-Stack/GothUI/v2026" + "github.com/Tend-Stack/TendUI/v2026" "github.com/a-h/templ" ) @@ -32,7 +32,7 @@ func TestAppearanceSafetyAndLayout(t *testing.T) { t.Errorf("missing %s", want) } } - if strings.Index(html, "/custom.css") < strings.Index(html, gothui.StylesheetURL) { + if strings.Index(html, "/custom.css") < strings.Index(html, tendui.StylesheetURL) { t.Fatal("custom stylesheet must follow base CSS") } } @@ -40,7 +40,7 @@ func TestAppearanceSafetyAndLayout(t *testing.T) { func stylesheet(t *testing.T) string { t.Helper() w := httptest.NewRecorder() - gothui.AssetHandler().ServeHTTP(w, httptest.NewRequest("GET", gothui.StylesheetURL, nil)) + tendui.AssetHandler().ServeHTTP(w, httptest.NewRequest("GET", tendui.StylesheetURL, nil)) if w.Code != 200 { t.Fatal(w.Code) } @@ -49,7 +49,7 @@ func stylesheet(t *testing.T) string { func TestAppearanceExportsUseExistingTokens(t *testing.T) { css := stylesheet(t) - ref := regexp.MustCompile(`var\((--gothui-[a-z-]+)`) + ref := regexp.MustCompile(`var\((--tendui-[a-z-]+)`) for _, a := range []Appearance{ {}, {Preset: PresetNeutral, Density: DensityCompact, Corners: CornersSquare, Typography: TypographySerif, TextSize: TextLarge, Width: WidthNarrow, Elevation: ElevationFlat}, {Preset: PresetForest, Corners: CornersSoft, Typography: TypographyMono, Width: WidthWide}, {Preset: PresetRose}, @@ -91,7 +91,7 @@ func contrast(a, b string) float64 { func TestPresetTextContrast(t *testing.T) { css := stylesheet(t) colors := map[string]string{} - for _, m := range regexp.MustCompile(`--gothui-preset-([a-z-]+):\s*(#[0-9a-f]{6})`).FindAllStringSubmatch(css, -1) { + for _, m := range regexp.MustCompile(`--tendui-preset-([a-z-]+):\s*(#[0-9a-f]{6})`).FindAllStringSubmatch(css, -1) { colors[m[1]] = m[2] } for _, preset := range []string{"indigo", "neutral", "forest", "rose"} { diff --git a/components/components_test.go b/components/components_test.go index bec9492..db0efc0 100644 --- a/components/components_test.go +++ b/components/components_test.go @@ -20,7 +20,7 @@ func render(t *testing.T, c templ.Component) string { func TestLayoutAndEscaping(t *testing.T) { html := render(t, Layout(LayoutProps{Title: "", Theme: ThemeDark}, Button(ButtonProps{Text: "safe"}))) - for _, want := range []string{`lang="en"`, `data-theme="dark"`, `/gothui/static/gothui.css`, `<script>`, `<b>safe</b>`, `type="button"`} { + for _, want := range []string{`lang="en"`, `data-theme="dark"`, `/tendui/static/tendui.css`, `<script>`, `<b>safe</b>`, `type="button"`} { if !strings.Contains(html, want) { t.Errorf("missing %s", want) } diff --git a/components/doc.go b/components/doc.go index 26f3f87..e76e466 100644 --- a/components/doc.go +++ b/components/doc.go @@ -1,4 +1,4 @@ -// Package components provides typed templ components for GothUI's embedded CSS. +// Package components provides typed templ components for TendUI's embedded CSS. // // Layout supplies the document shell and stylesheet link. Children and explicit // templ.Component slots provide composition; ordinary text is escaped by templ. diff --git a/components/elevation_test.go b/components/elevation_test.go index 47823b2..b345ff2 100644 --- a/components/elevation_test.go +++ b/components/elevation_test.go @@ -12,7 +12,7 @@ func TestCardElevationAndFallbacks(t *testing.T) { if a.Normalize().Elevation != elevation || a.Attributes()["data-elevation"] != string(elevation) { t.Fatal("page preference lost") } - if !strings.Contains(a.CSS(), "--gothui-shadow: var(--gothui-elevation-"+string(elevation)+")") { + if !strings.Contains(a.CSS(), "--tendui-shadow: var(--tendui-elevation-"+string(elevation)+")") { t.Fatal("export differs from page preference") } html := render(t, Card(CardProps{Elevation: elevation, ID: "outer", Body: Card(CardProps{ID: "inner"})})) @@ -43,10 +43,10 @@ func TestElevationStyleContracts(t *testing.T) { for _, level := range []string{"flat", "subtle", "raised", "floating"} { selector := `article:where([data-card-elevation="` + level + `"])` body := paletteBody(t, css, selector) - if !strings.Contains(body, "box-shadow: var(--gothui-elevation-"+level+");") || strings.Contains(body, "--gothui-shadow:") { + if !strings.Contains(body, "box-shadow: var(--tendui-elevation-"+level+");") || strings.Contains(body, "--tendui-shadow:") { t.Fatal("card override must not replace an inherited token", body) } - if !strings.Contains(css, "--gothui-elevation-"+level+":") { + if !strings.Contains(css, "--tendui-elevation-"+level+":") { t.Fatal("missing elevation token", level) } } @@ -61,7 +61,7 @@ func TestElevationStyleContracts(t *testing.T) { // This rule is inside forced-colors and after all card override selectors. forced := "@media (forced-colors: active) {\n article[data-surface=\"gradient\"]" _, forcedCSS, found := strings.Cut(css, forced) - if !found || !strings.Contains(paletteBody(t, forcedCSS, "article, .gothui-dialog, .gothui-popover"), "box-shadow: none;") { + if !found || !strings.Contains(paletteBody(t, forcedCSS, "article, .tendui-dialog, .tendui-popover"), "box-shadow: none;") { t.Fatal("forced colors must suppress card and overlay shadows") } } diff --git a/components/fields.templ b/components/fields.templ index 0801f83..c947b88 100644 --- a/components/fields.templ +++ b/components/fields.templ @@ -35,7 +35,7 @@ func (p FieldProps) ControlAttributes() templ.Attributes { func validateField(p FieldProps) error { if p.ID == "" || strings.IndexFunc(p.ID, unicode.IsSpace) >= 0 || strings.TrimSpace(p.Label) == "" { - return fmt.Errorf("gothui: Field requires a unique non-whitespace ID and a label") + return fmt.Errorf("tendui: Field requires a unique non-whitespace ID and a label") } return nil } diff --git a/components/fields_templ.go b/components/fields_templ.go index c780868..9d40c93 100644 --- a/components/fields_templ.go +++ b/components/fields_templ.go @@ -44,7 +44,7 @@ func (p FieldProps) ControlAttributes() templ.Attributes { func validateField(p FieldProps) error { if p.ID == "" || strings.IndexFunc(p.ID, unicode.IsSpace) >= 0 || strings.TrimSpace(p.Label) == "" { - return fmt.Errorf("gothui: Field requires a unique non-whitespace ID and a label") + return fmt.Errorf("tendui: Field requires a unique non-whitespace ID and a label") } return nil } diff --git a/components/icons.go b/components/icons.go index 74a4e87..2359857 100644 --- a/components/icons.go +++ b/components/icons.go @@ -6,7 +6,7 @@ import ( "strings" ) -// IconName selects an inline drawing authored for GothUI. No URL or SVG markup +// IconName selects an inline drawing authored for TendUI. No URL or SVG markup // supplied by an application is interpreted as an icon. type IconName string @@ -97,7 +97,7 @@ func IconNames() []IconName { func validateIcon(name IconName) error { if name != IconNone { if _, ok := iconPaths[name]; !ok { - return fmt.Errorf("gothui: unknown icon %q", name) + return fmt.Errorf("tendui: unknown icon %q", name) } } return nil @@ -110,7 +110,7 @@ func validateActionIcons(before, after IconName, text, label string) error { } } if (before != IconNone || after != IconNone) && strings.TrimSpace(text) == "" && strings.TrimSpace(label) == "" { - return fmt.Errorf("gothui: an icon-only action requires an AriaLabel") + return fmt.Errorf("tendui: an icon-only action requires an AriaLabel") } return nil } diff --git a/components/icons.templ b/components/icons.templ index 344217c..1ce765a 100644 --- a/components/icons.templ +++ b/components/icons.templ @@ -22,7 +22,7 @@ templ Icon(props IconProps) { stroke-linecap="round" stroke-linejoin="round" focusable="false" - class="gothui-icon" + class="tendui-icon" data-size={ string(allowed(props.Size, IconSizeMedium, IconSizeSmall, IconSizeMedium, IconSizeLarge)) } if strings.TrimSpace(props.Label) != "" { role="img" diff --git a/components/icons_templ.go b/components/icons_templ.go index 7ab6661..ff02c77 100644 --- a/components/icons_templ.go +++ b/components/icons_templ.go @@ -34,7 +34,7 @@ func Icon(props IconProps) templ.Component { return err } if props.Name != IconNone { - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, " } - + if props.Head != nil { @props.Head } diff --git a/components/layout_templ.go b/components/layout_templ.go index 800dc14..a88441e 100644 --- a/components/layout_templ.go +++ b/components/layout_templ.go @@ -9,7 +9,7 @@ package components import "github.com/a-h/templ" import templruntime "github.com/a-h/templ/runtime" -import "github.com/Tend-Stack/GothUI/v2026" +import "github.com/Tend-Stack/TendUI/v2026" type Theme string @@ -145,7 +145,7 @@ func Layout(props LayoutProps, body templ.Component) templ.Component { return templ_7745c5c3_Err } var templ_7745c5c3_Var6 string - templ_7745c5c3_Var6, templ_7745c5c3_Err = templruntime.NewAttributeExpression(gothui.StylesheetURL).ResolveURL(ctx) + templ_7745c5c3_Var6, templ_7745c5c3_Err = templruntime.NewAttributeExpression(tendui.StylesheetURL).ResolveURL(ctx) if templ_7745c5c3_Err != nil { return templ.Error{Err: templ_7745c5c3_Err, FileName: `components/layout.templ`, Line: 39, Col: 53} } diff --git a/components/motion_test.go b/components/motion_test.go index 61c6114..a2f398b 100644 --- a/components/motion_test.go +++ b/components/motion_test.go @@ -17,11 +17,11 @@ func TestMotionPreferencesAndSafeAttributes(t *testing.T) { } } for _, prop := range []string{"duration-fast", "duration-enter", "duration-loading", "stagger-step"} { - if !strings.Contains(a.CSS(), "--gothui-"+prop+": 0ms") { + if !strings.Contains(a.CSS(), "--tendui-"+prop+": 0ms") { t.Errorf("motion export did not disable %s", prop) } } - if !strings.Contains(a.CSS(), "--gothui-lift-distance: 0px") { + if !strings.Contains(a.CSS(), "--tendui-lift-distance: 0px") { t.Fatal("off export still moves hover cards") } html = render(t, Card(CardProps{Entry: "bad", Delay: "bad", Surface: "bad"})) @@ -57,7 +57,7 @@ func TestLoadingAndEmptyStateSemantics(t *testing.T) { func TestMotionStylesHaveBoundedDecorativeLoops(t *testing.T) { css := stylesheet(t) - for _, required := range []string{"@media (prefers-reduced-motion: no-preference)", "@media (prefers-reduced-motion: reduce)", "animation: none !important", "gothui-loading var(--gothui-duration-loading) ease-in-out 3", "animation-iteration-count: 1", "@media (forced-colors: active)"} { + for _, required := range []string{"@media (prefers-reduced-motion: no-preference)", "@media (prefers-reduced-motion: reduce)", "animation: none !important", "tendui-loading var(--tendui-duration-loading) ease-in-out 3", "animation-iteration-count: 1", "@media (forced-colors: active)"} { if !strings.Contains(css, required) { t.Errorf("missing motion contract %q", required) } diff --git a/components/navbar.templ b/components/navbar.templ new file mode 100644 index 0000000..8e3d7c0 --- /dev/null +++ b/components/navbar.templ @@ -0,0 +1,186 @@ +package components + +// NavGroup is a titled set of links inside a SiteHeader menu. +type NavGroup struct { + Title string + Items []NavItem +} + +// SiteHeaderItem is one top-level destination. When Groups is set, the item +// renders as a native disclosure panel and Href becomes the panel's +// "view all" link. Current marks the section the visitor is in. +type SiteHeaderItem struct { + Label string + Href string + Current bool + Groups []NavGroup + AllLabel string + Note string +} + +type SiteHeaderProps struct { + // Brand is the trusted logo lockup rendered inside the home link. + Brand templ.Component + // BrandLabel names the home link when Brand has no readable text. + BrandLabel string + BrandHref string + // Label names the primary navigation landmark. Defaults to "Primary". + Label string + Items []SiteHeaderItem + // Section lists contextual links, shown in the compact menu under the current item. + Section []NavItem + // Actions stay visible at every width, for example ThemeToggle. + Actions templ.Component + // Extras show in the bar on wide screens and in the compact menu footer. + // They render twice, so avoid fixed IDs inside them. + Extras templ.Component + // MenuLabel names the compact menu button and its navigation. Defaults to "Menu". + MenuLabel string +} + +// SiteHeader is a sticky site-wide bar: brand, primary links, an optional +// grouped menu, and actions. Menus are native disclosures and need no script. +// On narrow screens the links move into a full-width sheet. Use one per page. +templ SiteHeader(props SiteHeaderProps) { + +} + +templ siteHeaderLinks(items []NavItem) { + +} diff --git a/components/navbar_templ.go b/components/navbar_templ.go new file mode 100644 index 0000000..104e7b8 --- /dev/null +++ b/components/navbar_templ.go @@ -0,0 +1,628 @@ +// Code generated by templ - DO NOT EDIT. + +// templ: version: v0.3.1100 + +package components + +//lint:file-ignore SA4006 This context is only used if a nested component is present. + +import "github.com/a-h/templ" +import templruntime "github.com/a-h/templ/runtime" + +// NavGroup is a titled set of links inside a SiteHeader menu. +type NavGroup struct { + Title string + Items []NavItem +} + +// SiteHeaderItem is one top-level destination. When Groups is set, the item +// renders as a native disclosure panel and Href becomes the panel's +// "view all" link. Current marks the section the visitor is in. +type SiteHeaderItem struct { + Label string + Href string + Current bool + Groups []NavGroup + AllLabel string + Note string +} + +type SiteHeaderProps struct { + // Brand is the trusted logo lockup rendered inside the home link. + Brand templ.Component + // BrandLabel names the home link when Brand has no readable text. + BrandLabel string + BrandHref string + // Label names the primary navigation landmark. Defaults to "Primary". + Label string + Items []SiteHeaderItem + // Section lists contextual links, shown in the compact menu under the current item. + Section []NavItem + // Actions stay visible at every width, for example ThemeToggle. + Actions templ.Component + // Extras show in the bar on wide screens and in the compact menu footer. + // They render twice, so avoid fixed IDs inside them. + Extras templ.Component + // MenuLabel names the compact menu button and its navigation. Defaults to "Menu". + MenuLabel string +} + +// SiteHeader is a sticky site-wide bar: brand, primary links, an optional +// grouped menu, and actions. Menus are native disclosures and need no script. +// On narrow screens the links move into a full-width sheet. Use one per page. +func SiteHeader(props SiteHeaderProps) templ.Component { + return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { + return templ_7745c5c3_CtxErr + } + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + ctx = templ.ClearChildren(ctx) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if props.Brand != nil { + templ_7745c5c3_Err = props.Brand.Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 6, "") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if props.Actions != nil || props.Extras != nil { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 31, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if props.Actions != nil { + templ_7745c5c3_Err = props.Actions.Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + if props.Extras != nil { + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 32, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = props.Extras.Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 33, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 34, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 35, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = Icon(IconProps{Name: IconMenu}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 37, " ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = Icon(IconProps{Name: IconClose}).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 38, "
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) +} + +func siteHeaderLinks(items []NavItem) templ.Component { + return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil { + return templ_7745c5c3_CtxErr + } + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + ctx = templ.ClearChildren(ctx) + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 61, "") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return nil + }) +} + +var _ = templruntime.GeneratedTemplate diff --git a/components/navbar_test.go b/components/navbar_test.go new file mode 100644 index 0000000..4254bb8 --- /dev/null +++ b/components/navbar_test.go @@ -0,0 +1,64 @@ +package components + +import ( + "strings" + "testing" + + "github.com/a-h/templ" +) + +func TestSiteHeader(t *testing.T) { + html := render(t, SiteHeader(SiteHeaderProps{ + Brand: templ.Raw("Brand"), + BrandLabel: "Brand home", + Items: []SiteHeaderItem{ + {Label: "Docs", Href: "/docs", Current: true}, + {Label: "Examples", Href: "/examples", Groups: []NavGroup{{Title: "Forms", Items: []NavItem{{Label: "
", Href: "/forms"}}}}}, + }, + Section: []NavItem{{Label: "Install", Href: "/docs/install", Current: true}}, + Actions: ThemeToggle(ThemeToggleProps{IconOnly: true}), + Extras: templ.Raw(`Source`), + })) + for _, want := range []string{ + `