Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
37d2048
init next
zwgnr Jun 19, 2025
c12e137
init 2.0
zwgnr Jun 23, 2025
82fc790
biome, styles, homepage
zwgnr Jun 24, 2025
11be571
updates
zwgnr Jun 24, 2025
b9cdd7e
static
zwgnr Jun 25, 2025
52569f4
work
zwgnr Jun 26, 2025
59d1a68
homepage
zwgnr Jun 26, 2025
6e31285
calendar
zwgnr Jun 26, 2025
34b3717
modal, selects, searchv1, cleanup types
zwgnr Jun 26, 2025
1dee463
code copy
zwgnr Jun 26, 2025
c51e03f
new components
zwgnr Jun 27, 2025
2acc313
new components
zwgnr Jun 27, 2025
82e703f
accordion
zwgnr Jun 27, 2025
e70872f
add card, fix select height
zwgnr Jun 27, 2025
f6744ac
cmd, styles, docs site
zwgnr Jun 28, 2025
43c9f49
rework mcp, bugs
zwgnr Jun 28, 2025
c706bda
styles and examples
zwgnr Jun 29, 2025
fceb56b
toggle group
zwgnr Jun 29, 2025
7483fb8
mcp and docs
zwgnr Jun 29, 2025
52644bc
changesets
zwgnr Jun 29, 2025
225459c
bump deps
zwgnr Jun 29, 2025
7b8dd9d
fix workflows
zwgnr Jun 29, 2025
9e25a1c
css impr
zwgnr Jun 29, 2025
e64b067
doc improvments
zwgnr Jun 29, 2025
150792c
docs
zwgnr Jun 29, 2025
e6d7f19
style tweaks
zwgnr Jun 29, 2025
8ec807b
configs
zwgnr Jun 30, 2025
38bd62c
fix release
zwgnr Jun 30, 2025
a6e502f
clean
zwgnr Jun 30, 2025
27cdc3a
homepage tweaks
zwgnr Jun 30, 2025
c9c8f10
copy changes
zwgnr Jun 30, 2025
c710a2f
css vars
zwgnr Jun 30, 2025
416cc74
fix
zwgnr Jun 30, 2025
893d2bb
doc additions
zwgnr Jun 30, 2025
cff720e
mobile header padding
zwgnr Jun 30, 2025
1d49f65
read me
zwgnr Jun 30, 2025
9735f56
fix secondary fg color bug
zwgnr Jun 30, 2025
146c891
fix searchable select
zwgnr Jun 30, 2025
d704930
customize frontmatter
zwgnr Jun 30, 2025
97d0e57
trim manifest
zwgnr Jun 30, 2025
fca1b2f
open in ai
zwgnr Jun 30, 2025
cd81f83
registry
zwgnr Jul 1, 2025
0dd8547
fix usage doc
zwgnr Jul 1, 2025
dae5a78
Fix mcp
zwgnr Jul 1, 2025
dab5919
add changest
zwgnr Jul 1, 2025
e66c0a2
fmt
zwgnr Jul 1, 2025
4bf8302
description
zwgnr Jul 1, 2025
4d15fb5
ignore nm
zwgnr Jul 1, 2025
f1acf6d
fix gha 1
zwgnr Jul 1, 2025
693a80f
rm internationalized date from example
zwgnr Jul 1, 2025
ee45e59
tweak gha pt2
zwgnr Jul 1, 2025
33ba94d
deterministic timestamps
zwgnr Jul 1, 2025
0530b5b
fix timestamp
zwgnr Jul 1, 2025
b4ba3b9
use hashes
zwgnr Jul 1, 2025
2e0a0fe
build info
zwgnr Jul 1, 2025
232b116
only detect specific files
zwgnr Jul 1, 2025
3e45507
fix imports
zwgnr Jul 1, 2025
bd49f60
base url
zwgnr Jul 1, 2025
87a3b40
un ignore lib
zwgnr Jul 1, 2025
e9efc17
fix ssr navigator
zwgnr Jul 1, 2025
8778c5a
node -v
zwgnr Jul 1, 2025
281691a
fix command ssr issues
zwgnr Jul 1, 2025
33ca969
gen registry
zwgnr Jul 1, 2025
2bedc55
mcp package description
zwgnr Jul 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
8 changes: 8 additions & 0 deletions .changeset/lemon-items-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@baselayer/components": major
"@baselayer/registry": major
"@baselayer-dev/mcp": major
"@baselayer/web": major
---

v2
5 changes: 5 additions & 0 deletions .cursorrules
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Cursor Rules

## General

- Always use pnpm
72 changes: 0 additions & 72 deletions .eslintrc.cjs

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Release

on:
push:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Setup Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10.12.1

- name: Install Dependencies
run: pnpm install

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
88 changes: 88 additions & 0 deletions .github/workflows/sync-components.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: Component Sync Check

on:
pull_request:
paths:
- 'packages/components/src/**'
- 'packages/components/scripts/**'
- 'packages/components/package.json'
push:
branches:
- main

jobs:
pr-check:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
name: Check Registry Drift

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10.12.1

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Build registry dependency first
run: pnpm --filter @baselayer/registry build

- name: Build components and generate registry
run: pnpm --filter @baselayer/components build

- name: Check for registry drift
run: |
# Check only registry.json and templates, exclude build-info.json (which changes every build)
if git diff --quiet web/public/registry.json web/public/templates/ web/public/tailwind.css; then
echo "✅ Registry is in sync"
else
echo "❌ Registry out of sync! Generated files differ from committed files."
echo ""
echo "Please run the following locally and commit the changes:"
echo " pnpm --filter @baselayer/components build"
echo ""
echo "Changed files:"
git diff --name-only web/public/registry.json web/public/templates/ web/public/tailwind.css
echo ""
echo "Diff:"
git diff web/public/registry.json web/public/templates/ web/public/tailwind.css
exit 1
fi

build-and-test:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
name: Build and Test

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10.12.1

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Build all packages
run: pnpm build


73 changes: 57 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
node_modules/
/.pnp
.pnp.js

Expand All @@ -14,6 +14,7 @@

# production
/build
/dist

# misc
.DS_Store
Expand All @@ -23,9 +24,11 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# local env files
.env*.local
.env.local
.env

# vercel
.vercel
Expand All @@ -34,25 +37,63 @@ yarn-error.log*
*.tsbuildinfo
next-env.d.ts

*.vsix
# turbo
.turbo

# pnpm
.pnpm-store/
.pnpm-debug.log*

# build outputs
**/dist/
**/build/
**/.next/
**/.turbo/

# IDE and editor files
.vscode/
.idea/
*.swp
*.swo
*~
.project
.classpath
.settings/

# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

#go
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Optional npm cache directory
.npm

# Test binary, built with `go test -c`
*.test
# Optional eslint cache
.eslintcache

# Output of the go coverage tool, specifically when used with LiteIDE
*.out
# Optional stylelint cache
.stylelintcache

# Dependency directories (remove the comment below to include it)
# vendor/
*.vsix

# Go workspace file
go.work
4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

1 change: 1 addition & 0 deletions .prototools
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm = "10.12.2"
7 changes: 0 additions & 7 deletions .vscode/extensions.json

This file was deleted.

34 changes: 0 additions & 34 deletions .vscode/launch.json

This file was deleted.

Loading