# @design.estate/dees-catalog 🎨
> **A comprehensive web components library built with TypeScript and LitElement**
> 75+ Production-ready UI components for building modern web applications with consistent design and behavior
[](https://www.npmjs.com/package/@design.estate/dees-catalog)
[](https://www.typescriptlang.org/)
[](https://www.webcomponents.org/)
[](https://opensource.org/licenses/MIT)
## 🚀 Quick Start
```bash
# Install with npm
npm install @design.estate/dees-catalog
# Or with pnpm (recommended)
pnpm add @design.estate/dees-catalog
# Or with yarn
yarn add @design.estate/dees-catalog
```
### Basic Usage
```typescript
// Import components you need
import { DeesButton, DeesForm, DeesInputText } from '@design.estate/dees-catalog';
// Use in your HTML or framework
Are you sure you want to proceed?
`, menuOptions: [ { name: 'Cancel', action: async (modal) => modal.destroy() }, { name: 'Confirm', action: async (modal) => { await performAction(); modal.destroy(); } } ] }); ``` ## 🎨 Theme System All components support automatic theme switching: ```typescript // Components automatically adapt to light/dark themes // Use the cssManager for theme-aware colors import { cssManager } from '@design.estate/dees-catalog'; css` .my-element { background: ${cssManager.bdTheme('#fff', '#1a1a1a')}; color: ${cssManager.bdTheme('#000', '#fff')}; } ` ``` ## 🔧 Development ### Prerequisites - Node.js 18+ - pnpm (recommended) or npm ### Setup ```bash # Clone the repository git clone https://github.com/design-estate/dees-catalog.git # Install dependencies pnpm install # Build the project pnpm run build # Run in development mode pnpm run watch # Run tests pnpm test ``` ### Project Structure ``` dees-catalog/ ├── ts_web/ │ ├── elements/ # All component implementations │ │ ├── dees-*.ts # Component files │ │ └── *.demo.ts # Component demos │ ├── pages/ # Demo showcase pages │ └── index.ts # Main exports ├── dist_ts_web/ # Built distribution files └── test/ # Test files ``` ## 📚 Documentation ### Component Demos Each component includes a built-in demo accessible via the static `.demo` property: ```typescript import { DeesButton } from '@design.estate/dees-catalog'; // Access the component's demo const demoHTML = DeesButton.demo(); ``` ### Interactive Playground For a complete interactive playground with all components: 1. Clone the repository 2. Run `pnpm install && pnpm run build` 3. Open the demo pages in `dist_ts_web/pages/` ### TypeScript Support Full TypeScript definitions are included. Your IDE will provide: - 🔍 IntelliSense for all properties and methods - 📝 JSDoc comments with usage examples - ✅ Type checking for component properties - 🎯 Auto-imports and code completion ## 🤝 Contributing We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details. ### Development Workflow 1. Fork the repository 2. Create a feature branch: `git checkout -b feature/amazing-feature` 3. Make your changes and add tests 4. Ensure all tests pass: `pnpm test` 5. Commit with conventional commits: `git commit -m 'feat: add amazing feature'` 6. Push and create a Pull Request ## 🐛 Troubleshooting ### Common Issues **Issue: Components not rendering** ```typescript // Ensure you're importing from the correct path import '@design.estate/dees-catalog/dist_ts_web/elements/dees-button.js'; // Or use the bundled version import '@design.estate/dees-catalog'; ``` **Issue: TypeScript errors** ```typescript // Add to tsconfig.json { "compilerOptions": { "moduleResolution": "node", "experimentalDecorators": true, "allowSyntheticDefaultImports": true } } ``` **Issue: Styles not applying** ```html ``` ## 🔗 Links & Resources - 📖 [Full Documentation](https://design.estate/docs/dees-catalog) - 🎮 [Interactive Demo](https://design.estate/demo/dees-catalog) - 📦 [NPM Package](https://www.npmjs.com/package/@design.estate/dees-catalog) - 🐛 [Issue Tracker](https://github.com/design-estate/dees-catalog/issues) - 💬 [Discussions](https://github.com/design-estate/dees-catalog/discussions) ## 📄 License This repository contains open-source code that is licensed under the MIT License. A copy of the MIT License can be found in the [license](./license) file within this repository. **Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file. ## ® Trademarks This project is owned and maintained by **Task Venture Capital GmbH**. The names and logos associated with Task Venture Capital GmbH and any related products or services are trademarks of Task Venture Capital GmbH and are not included within the scope of the MIT license granted herein. Use of these trademarks must comply with Task Venture Capital GmbH's Trademark Guidelines, and any usage must be approved in writing by Task Venture Capital GmbH. ## 🏢 Company Information **Task Venture Capital GmbH** Registered at District Court Bremen HRB 35230 HB, Germany For any legal inquiries or if you require further information, please contact us via email at **hello@task.vc**. By using this repository, you acknowledge that you have read this section, agree to comply with its terms, and understand that the licensing of the code does not imply endorsement by Task Venture Capital GmbH of any derivative works. ---Built with ❤️ by Task Venture Capital GmbH