Commit Graph
30 Commits
Author SHA1 Message Date
RahimandGitHub 24022e93c3 chore: fix html-demo not importing skin (#127) 2025-10-24 16:00:39 -07:00
Sam PottsandGitHub a93484e86b feat(ui): skin design tweaks (#126) 2025-10-25 08:39:33 +11:00
RahimandGitHub f9dcb12542 Use @videojs npm scope (#121) 2025-10-23 15:23:21 -07:00
RahimandGitHub 1ad0bc436f Flatten workspace (#120) 2025-10-23 15:19:36 -07:00
92b82e94f9 feat(react): add Tailwind v4 compiled CSS for skins with vjs prefix (#114)
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Darius Cepulis <dcepulis@mux.com>
2025-10-22 16:05:31 -07:00
Sam PottsandGitHub b63c22ef9f chore: rename skins, minor style tweaks (#61) 2025-10-19 10:16:47 +11:00
Christian PillsburyandGitHub d4f3f4b75b fix: skin syntax usage cleanup (#48) 2025-10-10 12:59:26 -07:00
Christian PillsburyandGitHub 9c5b29a15b chore: consistent formatting (#47) 2025-10-09 12:18:31 -07:00
Sam PottsandGitHub 3a0767c340 fix: design tweaks to toasted skin, lint rule tweaks (#44) 2025-10-09 10:21:18 +11:00
Wesley LuytenandGitHub 5cb93a14a7 fix: enable eslint & run eslint:fix (#43) 2025-10-08 17:52:02 -05:00
Wesley LuytenandGitHub c4a3f1b2f6 feat: add React tooltip component (#35) 2025-10-07 12:31:26 -05:00
Sam PottsandGitHub bdd2f36e13 feat(ui): add toasted skin 2025-10-04 19:26:02 +10:00
Wesley Luyten 0a42bfe86d fix: React version mismatch, add forward refs 2025-10-02 15:03:39 -05:00
Wesley LuytenandGitHub 17b632f5f9 feat: add media-popover, cleanup html demo (#34) 2025-10-02 14:09:33 -05:00
RahimandGitHub d481b477db chore: cleanup demo config (#28) 2025-09-26 12:07:57 +10:00
Sam Potts 0afa9b7187 fix: skin exports/imports 2025-09-26 11:38:26 +10:00
Sam Potts f8fbe61c38 refactor: remove container radius from the skin 2025-09-26 11:38:26 +10:00
Wesley LuytenandGitHub aefe890fee feat: add volume range compound component (#19) 2025-09-23 11:07:47 -05:00
Rahim 68666d0901 done 2025-09-23 00:57:47 +10:00
Rahim d2b2dd4868 done 2025-09-22 23:39:30 +10:00
Sam Potts d3221ec211 feat(ui): minor style tweaks 2025-09-22 09:30:10 +10:00
Sam Potts 9950945008 feat(ui): port over default skin 2025-09-21 13:37:14 +10:00
Wesley LuytenandGitHub 017ecdbff9 feat: add compound html timerange component (#14)
* fix: add context logic to component factory

* feat: add compound time range html component
2025-09-18 17:58:53 -05:00
Christian PillsburyandChristian Pillsbury 3bca85f180 chore: swapping out m3u8 example asset for react demo. 2025-09-12 15:59:15 -07:00
23e3876630 feat(react): add MediaContainer component for fullscreen functionality
Add MediaContainer component that provides fullscreen container registration
for React applications. Includes useMediaContainerRef hook for manual
element registration and MediaContainer wrapper component for convenience.

- Add MediaContainer.tsx with useMediaContainerRef hook and component
- Export MediaContainer and useMediaContainerRef from React package
- Clean up React demo to remove testing modifications

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-12 08:06:08 -07:00
370762f500 feat(examples): configure separate default ports for React and HTML demos
- Set React demo to use port 5173 (Vite's default)
- Set HTML demo to use port 5174 to avoid conflicts
- Enable strictPort: false to allow automatic fallback to next available port
- Allow simultaneous development of both React and HTML demos
- Maintain existing development workflow while preventing port conflicts

This enables developers to run `npm run dev:react` and `npm run dev:html`
concurrently without manual port management.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-08 17:29:12 -07:00
115f181548 style(react-demo): clean up code formatting and video source organization
- Improve code formatting with consistent indentation
- Organize video source options with clearer commenting
- Remove trailing whitespace

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-08 17:15:40 -07:00
Christian PillsburyandClaude bc8adaa508 feat(react): enable automatic CSS injection for MediaSkinDefault component
- Configure rollup to inject CSS directly into JavaScript bundles instead of extracting to separate files
- Remove CSS export from package.json as styles are now auto-included
- Update react-demo to remove manual CSS import requirement
- Enable seamless component usage: import { MediaSkinDefault } from '@vjs-10/react' now automatically includes styles

This provides the expected developer experience for React component libraries where
importing a component automatically brings its required styles without manual CSS imports.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-13 12:28:29 -07:00
Christian PillsburyandClaude dce4f5cdaf refactor(react): replace tsup with rollup for proper CSS modules support
- Replace tsup build system with rollup + postcss for better CSS modules handling
- Add rollup.config.js with proper CSS modules configuration
- Add TypeScript build config (tsconfig.build.json) for declarations
- Add CSS modules type definitions (src/types.d.ts)
- Update react-demo to import CSS file alongside components
- Fix CSS injection issue where styles weren't being applied in development

The new build system properly processes CSS modules and generates hashed class names
while ensuring styles are correctly applied when importing MediaSkinDefault.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-13 12:23:56 -07:00
Christian PillsburyandClaude 19c85fc2f8 feat: migrate examples from prototype and add CSS modules support
- Migrate HTML and React demo applications from prototype to examples/ directory
- Add examples to workspace configuration with selective build support
- Update workspace scripts for library-only builds (build:libs) and example dev servers
- Fix React MediaProvider context conflicts by consolidating exports
- Add esbuild-css-modules-plugin for CSS modules support in React package
- Configure tsup for flattened output structure with CSS processing
- Update package exports and imports for new @vjs-10/* scoped packages

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 15:51:40 -07:00