@tydavidson/design-system 1.1.6 → 1.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,62 @@
1
- # component-library
1
+ # Float Design System
2
+
3
+ A modern React design system with comprehensive theming, component library, and email components.
4
+
5
+ ## Quick Start
6
+
7
+ ```bash
8
+ npm install @tydavidson/design-system
9
+ ```
10
+
11
+ ## Documentation
12
+
13
+ 📚 **Setup Guide**: [docs/setup-guide.md](docs/setup-guide.md) - Complete installation and configuration guide
14
+
15
+ 🔧 **Troubleshooting**: [docs/troubleshooting.md](docs/troubleshooting.md) - Quick fixes for common issues
16
+
17
+ 🎨 **Theme Usage**: [docs/theme-usage.md](docs/theme-usage.md) - Detailed theme system documentation
18
+
19
+ ## Features
20
+
21
+ - ✅ **Modern React Components** - Built with TypeScript and React 18+
22
+ - ✅ **Theme System** - Light/dark mode with CSS variables
23
+ - ✅ **Next.js Compatible** - Works with App Router and Pages Router
24
+ - ✅ **Email Components** - Responsive email templates
25
+ - ✅ **Tabler Icons** - Consistent icon library
26
+ - ✅ **Tailwind CSS** - Utility-first styling
27
+ - ✅ **TypeScript** - Full type safety
28
+
29
+ ## Basic Usage
30
+
31
+ ```tsx
32
+ import { ThemeProvider, useTheme, ThemeToggle } from '@tydavidson/design-system/themes';
33
+ import { Button, Card, CardContent, CardHeader, CardTitle } from '@tydavidson/design-system';
34
+ import '@tydavidson/design-system/themes/theme.css';
35
+
36
+ function App() {
37
+ return (
38
+ <ThemeProvider>
39
+ <Card>
40
+ <CardHeader>
41
+ <CardTitle>Welcome</CardTitle>
42
+ </CardHeader>
43
+ <CardContent>
44
+ <Button>Get Started</Button>
45
+ <ThemeToggle />
46
+ </CardContent>
47
+ </Card>
48
+ </ThemeProvider>
49
+ );
50
+ }
51
+ ```
52
+
53
+ ## Required Dependencies
54
+
55
+ ```bash
56
+ npm install react react-dom next-themes @tabler/icons-react
57
+ ```
58
+
59
+ ---
2
60
 
3
61
  ## Development Commands
4
62
 
package/dist/index.d.mts CHANGED
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import React__default from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
  import { ThemeColor } from './themes/index.mjs';
6
- export { ComponentVariant, ThemeContextProvider, ThemeProvider, ThemeToggle, getColorVariantClasses, isDarkTheme, mapColorToShadcnVariant, mapVariantToShadcnVariant, useTheme } from './themes/index.mjs';
6
+ export { ComponentVariant, DynamicThemeProvider, DynamicThemeProviderNoSSR, DynamicThemeToggle, SafeThemeProvider, ThemeContextProvider, ThemeProvider, ThemeProviderNoSSR, ThemeToggle, getColorVariantClasses, isDarkTheme, mapColorToShadcnVariant, mapVariantToShadcnVariant, useTheme, useThemeServer } from './themes/index.mjs';
7
7
  import * as react_jsx_runtime from 'react/jsx-runtime';
8
8
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
9
9
  import * as TogglePrimitive from '@radix-ui/react-toggle';
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import React__default from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
  import { ThemeColor } from './themes/index.js';
6
- export { ComponentVariant, ThemeContextProvider, ThemeProvider, ThemeToggle, getColorVariantClasses, isDarkTheme, mapColorToShadcnVariant, mapVariantToShadcnVariant, useTheme } from './themes/index.js';
6
+ export { ComponentVariant, DynamicThemeProvider, DynamicThemeProviderNoSSR, DynamicThemeToggle, SafeThemeProvider, ThemeContextProvider, ThemeProvider, ThemeProviderNoSSR, ThemeToggle, getColorVariantClasses, isDarkTheme, mapColorToShadcnVariant, mapVariantToShadcnVariant, useTheme, useThemeServer } from './themes/index.js';
7
7
  import * as react_jsx_runtime from 'react/jsx-runtime';
8
8
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
9
9
  import * as TogglePrimitive from '@radix-ui/react-toggle';