Commit Graph

34 Commits

Author SHA1 Message Date
michael
b319f15092 Fix feature legend data accuracy from storefront models
- NExT v2: fix access control (Legacy, not DESFire/iCLASS), digital
  security (unsupported), magic (supported via T5577), illumination
  (supported HF LED), data sharing (1 kB), payment (unsupported)
- Replace Titan with m0422a magnet: RP 22,860 G/g sensing, ~20 g
  lifting, Push/Pull haptics, Monopole polarity detection
- xLED HF: correct illumination colors and Low prominence
- All data sourced from dt-shopify-storefront model definitions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 13:12:03 -07:00
michael
68234e66f4 Add repository field to showcase desktop package.json
electron-builder requires a repository field to detect the
GitHub repo for publishing artifacts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 12:41:03 -07:00
michael
2c9f7b8495 Fix showcase release: build all design system packages
Replace selective turbo filters with full build to ensure all
dependencies (tokens, web, tailwind-preset, hex-background, react)
are available for both desktop and mobile showcase builds.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
showcase-v0.2.0
2026-03-08 12:04:53 -07:00
michael
b137a99c78 Fix showcase release: add tailwind-preset to build filter
Desktop showcase depends on @dangerousthings/tailwind-preset
via its Tailwind config. Add it to the turbo build filter
alongside tokens and web.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 11:40:42 -07:00
michael
4f477a50d8 Add Windows and macOS builds to showcase release workflow
- Add desktop-windows job (NSIS installer + portable exe)
- Add desktop-macos job (dmg + zip, unsigned, x64 + arm64)
- Update create-release to collect artifacts from all platforms
- Update release notes with all artifact types

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 10:59:20 -07:00
michael
741ee69079 Fix package-lock.json sync for CI
Regenerate lock file without --legacy-peer-deps to include
all resolved peer dependencies (react, react-native, etc.)
that npm ci requires.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@dangerousthings/tailwind-preset@0.1.1
2026-03-08 10:22:05 -07:00
michael
89aaac9548 Merge branch 'main' of https://github.com/dangerous-tac0s/dt-design-system 2026-03-08 10:07:23 -07:00
michael
09143edab8 Add hex background to showcase with interactive controls
- Render HexGridBackground globally on every page
- Add dedicated Hex Background page with sliders for all 8 props
- Lift hex props state to App for real-time global updates
- Add three, @react-three/fiber, hex-background deps

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 10:05:47 -07:00
michael
5d2b245f5a Update docs to reflect current 6-package architecture
- README: add all 6 packages, React/Tailwind usage sections, remove glows refs
- CLAUDE.md: rewrite for 6 packages, 4-layer parity, build.cjs, storefront migration as implemented reference
- Package READMEs: fix monorepo links, remove glows references

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 10:04:41 -07:00
michael
0cfa83259e Remove glows, refine feature legend, forms, and showcase pages
- Delete glows.css and GlowsPage (unused)
- Enhance DTFeatureLegend and feature-legend.css with improved layout
- Update DTRadioGroup styling
- Refine bevels.css, forms-dt.css
- Update AnimationsPage, CardsAdvancedPage, FormsPage, HomePage
- Add type:module to web package.json

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 10:03:48 -07:00
dangerous-tac0s
3d9ec57523 Merge pull request #4 from dangerous-tac0s/changeset-release/main
chore: version packages
2026-03-07 11:25:43 -08:00
github-actions[bot]
b9eb83fa23 chore: version packages 2026-03-07 19:11:50 +00:00
michael
54b58a6ac6 Merge branch 'main' of https://github.com/dangerous-tac0s/dt-design-system 2026-03-07 11:10:36 -08:00
michael
568a1490e3 Add changeset for tailwind-preset npm readiness
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 11:10:11 -08:00
dangerous-tac0s
a7fa6fba84 Merge pull request #3 from dangerous-tac0s/changeset-release/main
chore: version packages
2026-03-07 11:04:14 -08:00
github-actions[bot]
2d3a693797 chore: version packages 2026-03-07 18:44:38 +00:00
michael
358ecb05cb Prepare all packages for npm publishing
- Add author, repository, homepage, keywords, and engines fields to
  all 6 publishable package.json files
- Add README.md to react, tailwind-preset, and hex-background packages
- Add "type": "module" to web and react-native for consistency
- Rename web build script to .cjs for ESM package compatibility
- Remove overly broad "./dist/*" export from web package

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 10:43:42 -08:00
michael
30a0510a5e Fix CI build failure and add missing LICENSE files
Add "require" export condition to tailwind-preset for Node 18 CJS
compatibility (jiti resolution). Add LICENSE files to react,
tailwind-preset, and hex-background packages. Add license field to
showcase packages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 10:31:55 -08:00
michael
21acd98260 More fine tuning 2026-03-06 10:18:39 -08:00
michael
8a8d4d4adc Improve showcase pages: drawers, modals, badges, and Vite caching fix
- DTDrawer: storefront-matching dual-element bevel border, slide-in/out
  animations from correct edge, 99vh height, bold 2em header, box shadow
- DTModal: interactive demos on Bevels page with all 5 mode variants
- Badges: solid color fill with contrasting text (black on dark, white on light)
  instead of transparent fill with colored text
- Animations: add dt-slide-right and dt-slide-left keyframes for drawers
- Bevels page: remove trash "Button Bevels", add interactive modal/drawer
  demos, fix media frame to use real images with proper bevel styling
- Advanced Cards: remove redundant media frame sections, rename "Menu Items"
  to "Buttons", remove DTButton/dt-btn references
- Forms page: rename "Menu Items" to "Buttons"
- Vite config: exclude design system packages from optimizeDeps pre-bundling
  and watch dist directories to prevent stale CSS during development

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 10:18:39 -08:00
michael
e74c285b70 Add storefront component migration: cards, badges, progress bars, animations, and React wrapper package
Major feature migration from dt-shopify-storefront into the design system:

- Card system: per-card color modes (normal/emphasis/warning/success/other),
  progress bars, full-bleed card body (card-body-flush), image bevel clip-paths,
  and visible structural borders at bevel corners
- Badge system: dt-card-badge with position-aware offsets for cards vs media frames
- Media frames: dt-bevel-media with inner surface fill, image clipping, and
  "MISSING MEDIA" placeholder for empty containers
- Interactive bevel buttons: dt-btn with hover/selected states and pulse animation
- Menu items: dt-menu-item with active states and level indentation
- Animations: scale-in, fade-in, slide-up, pulse, ping, spin keyframes
- Feature legend: CSS grid for product feature icons with state colors
- Scrollbar styling for DT brand
- New @dangerousthings/react package wrapping web CSS components
- New @dangerousthings/tailwind-preset package
- New @dangerousthings/hex-background package
- Desktop showcase rewritten in React with Tailwind CSS
- Mobile showcase updated with new screens (animations, filters, advanced cards)
- Tokens: added mode color tokens, RGB variants, and selected-state tokens

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 10:18:39 -08:00
michael
47e8085581 Make RN components fully theme-driven for multi-brand support
Refactor all 18 React Native components from static DTColors imports to
dynamic useDTTheme() context, enabling proper visual differentiation
when switching between DT and Classic brands.

Key changes:
- Replace static DTColors with theme context in all components
- Add shape tokens (bevel/radius) to DTExtendedTheme interface
- Conditionally render SVG bevels (DT) vs borderRadius (Classic)
- Configure fonts per brand (Tektur for DT, system sans-serif for Classic)
- Update buildThemeFromBrand to parse shape and typography tokens
- Fix Metro config for monorepo singleton resolution

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 10:18:39 -08:00
michael
1b0d09313c Add showcase release workflow and gitignore build artifacts
- Remove 541MB of committed Electron build artifacts from git
- Add .gitignore patterns for release/, *.apk, *.aab, *.ipa
- Add GitHub Actions workflow for building showcase releases
  (manual dispatch with version input, builds Linux desktop +
  Android APK, creates GitHub Release with attached artifacts)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 10:18:39 -08:00
michael
baf8cd3b2a Remove supra brand from design system
Supra (VivoKey MD3 theme) has been extracted into a standalone
Dangerous-Pi theme plugin. Remove all supra references from tokens,
web CSS, showcase apps, and documentation.

- Delete supra brand tokens and elevation.css
- Update ThemeBrand type to "dt" | "classic"
- Remove supra from CSS generation, imports, and bevels
- Update CLAUDE.md and package READMEs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 10:18:39 -08:00
michael
da84736b4b Add desktop (Electron) and mobile (Expo) showcase apps
New workspace packages for demonstrating design system components:
- Desktop: Electron + Vite app with brand/theme switching
- Mobile: Expo React Native app with brand switching

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 10:18:38 -08:00
michael
852a3af854 Fix hardcoded colors in classic tokens and form components
Replace hardcoded hex/opacity values with CSS custom properties for
proper theming support across brands.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 10:18:37 -08:00
dangerous-tac0s
ca55f5a497 Merge pull request #2 from dangerous-tac0s/changeset-release/main
chore: version packages
@dangerousthings/tokens@0.2.1 @dangerousthings/web@0.2.1 @dangerousthings/react-native@0.2.1
2026-03-03 20:38:15 -08:00
github-actions[bot]
5b215716cc chore: version packages 2026-03-04 04:36:26 +00:00
michael
0453af85a1 Add changeset for per-package docs
Patch bump to publish README and LICENSE to npm.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 20:35:59 -08:00
michael
bee19cb71f Add per-package README and LICENSE for npm
Each published package now includes its own README (shown on npm) and
a copy of the MIT license so both travel with the tarball.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 20:30:44 -08:00
dangerous-tac0s
ab29707b50 Merge pull request #1 from dangerous-tac0s/changeset-release/main
chore: version packages
@dangerousthings/react-native@0.2.0 @dangerousthings/tokens@0.2.0 @dangerousthings/web@0.2.0
2026-03-03 20:15:42 -08:00
github-actions[bot]
5297770edc chore: version packages 2026-03-04 04:15:01 +00:00
michael
9be7d66b2f Add MIT license, README, and CLAUDE.md
Adds project documentation: MIT license file, README with package
overview/usage/development guide, and CLAUDE.md with maintenance
guidelines covering feature parity, testing strategy, and CI.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 20:03:40 -08:00
michael
1c8d5855e6 initial commit 2026-03-03 17:59:56 -08:00