@rakeyshgidwani/roger-ui-bank-theme-stan-design 0.0.5
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/CHANGELOG.md +23 -0
- package/README.md +137 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.esm.js +23 -0
- package/dist/index.js +23 -0
- package/dist/provider.d.ts +17 -0
- package/dist/provider.esm.js +20 -0
- package/dist/provider.js +20 -0
- package/dist/styles.css +8 -0
- package/dist/theme.d.ts +678 -0
- package/dist/theme.esm.js +518 -0
- package/dist/theme.js +518 -0
- package/package.json +76 -0
- package/src/index.ts +23 -0
- package/src/provider.tsx +20 -0
- package/src/theme.ts +683 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to the stan-design theme package will be documented in this file.
|
|
4
|
+
|
|
5
|
+
## [0.0.5] - 2025-10-01
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- Initial release of stan-design theme package
|
|
9
|
+
- Complete component library with stan-design styling
|
|
10
|
+
- TypeScript definitions included
|
|
11
|
+
- CSS custom properties support
|
|
12
|
+
- Pre-configured theme provider
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
- Fully themed components
|
|
16
|
+
- Consistent design system
|
|
17
|
+
- Accessibility compliance
|
|
18
|
+
- Dark mode support (if applicable)
|
|
19
|
+
- Responsive design
|
|
20
|
+
|
|
21
|
+
## Future Releases
|
|
22
|
+
|
|
23
|
+
Check back for updates and new features!
|
package/README.md
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# @rakeyshgidwani/roger-ui-theme-stan-design
|
|
2
|
+
|
|
3
|
+
> 🎨 Complete Roger UI theme package with stan-design styling - Ready for AI agents and human developers
|
|
4
|
+
|
|
5
|
+
## 🚀 Quick Start
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @rakeyshgidwani/roger-ui-theme-stan-design
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
import { Button, Card, Provider } from '@rakeyshgidwani/roger-ui-theme-stan-design';
|
|
13
|
+
|
|
14
|
+
function App() {
|
|
15
|
+
return (
|
|
16
|
+
<Provider>
|
|
17
|
+
<Card>
|
|
18
|
+
<Button variant="primary">Themed Button</Button>
|
|
19
|
+
</Card>
|
|
20
|
+
</Provider>
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## 🤖 AI Agent Instructions
|
|
26
|
+
|
|
27
|
+
This package is optimized for AI agents. Key files for AI consumption:
|
|
28
|
+
|
|
29
|
+
- `docs/ai-metadata/package-info.json` - Complete package metadata
|
|
30
|
+
- `docs/ai-metadata/component-inventory.json` - All available components
|
|
31
|
+
- `docs/ai-metadata/usage-patterns.json` - Common usage patterns
|
|
32
|
+
- `docs/api/theme-specification.json` - Complete theme structure
|
|
33
|
+
|
|
34
|
+
### For AI Agents: Quick Component Reference
|
|
35
|
+
|
|
36
|
+
```typescript
|
|
37
|
+
// Available components (see docs/ai-metadata/component-inventory.json for complete list)
|
|
38
|
+
import {
|
|
39
|
+
Button, Card, Input, Modal, Dropdown,
|
|
40
|
+
Navbar, Sidebar, Tabs, Badge, Alert,
|
|
41
|
+
Provider // Pre-configured theme provider
|
|
42
|
+
} from '@rakeyshgidwani/roger-ui-theme-stan-design';
|
|
43
|
+
|
|
44
|
+
// Theme access
|
|
45
|
+
import { StanDesignTheme } from '@rakeyshgidwani/roger-ui-theme-stan-design/theme';
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## 📦 Package Contents
|
|
49
|
+
|
|
50
|
+
| File | Purpose | AI Readable |
|
|
51
|
+
|------|---------|-------------|
|
|
52
|
+
| `dist/index.js` | Main entry point | ✅ |
|
|
53
|
+
| `dist/styles.css` | Complete theme styles | ✅ |
|
|
54
|
+
| `dist/theme.js` | Theme configuration | ✅ |
|
|
55
|
+
| `docs/ai-metadata/` | AI-specific metadata | ✅ |
|
|
56
|
+
| `docs/components/` | Component documentation | ✅ |
|
|
57
|
+
| `docs/guides/` | Usage guides | ✅ |
|
|
58
|
+
|
|
59
|
+
## 🎨 Theme Features
|
|
60
|
+
|
|
61
|
+
- **🎯 Pre-configured**: Works out of the box
|
|
62
|
+
- **🔧 Customizable**: Override any theme value
|
|
63
|
+
- **♿ Accessible**: WCAG 2.1 AA compliant
|
|
64
|
+
- **📱 Responsive**: Mobile-first design
|
|
65
|
+
- **🌙 Dark Mode**: Built-in support (if applicable)
|
|
66
|
+
- **🤖 AI-Friendly**: Structured metadata for AI agents
|
|
67
|
+
|
|
68
|
+
## 📖 Documentation Structure
|
|
69
|
+
|
|
70
|
+
```
|
|
71
|
+
docs/
|
|
72
|
+
├── ai-metadata/ # AI agent metadata
|
|
73
|
+
│ ├── package-info.json
|
|
74
|
+
│ ├── component-inventory.json
|
|
75
|
+
│ └── usage-patterns.json
|
|
76
|
+
├── components/ # Component documentation
|
|
77
|
+
├── guides/ # Usage guides
|
|
78
|
+
├── examples/ # Code examples
|
|
79
|
+
└── api/ # API reference
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## 🔧 Customization
|
|
83
|
+
|
|
84
|
+
```typescript
|
|
85
|
+
import { Provider } from '@rakeyshgidwani/roger-ui-theme-stan-design';
|
|
86
|
+
import { StanDesignTheme } from '@rakeyshgidwani/roger-ui-theme-stan-design/theme';
|
|
87
|
+
|
|
88
|
+
const customTheme = {
|
|
89
|
+
...StanDesignTheme,
|
|
90
|
+
colors: {
|
|
91
|
+
...StanDesignTheme.colors,
|
|
92
|
+
primary: '#your-color'
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
function App() {
|
|
97
|
+
return (
|
|
98
|
+
<Provider theme={customTheme}>
|
|
99
|
+
{/* Your app */}
|
|
100
|
+
</Provider>
|
|
101
|
+
);
|
|
102
|
+
}
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
## 🤝 For AI Agents
|
|
106
|
+
|
|
107
|
+
This package includes comprehensive metadata for AI agents:
|
|
108
|
+
|
|
109
|
+
1. **Component Inventory**: Complete list of available components with props
|
|
110
|
+
2. **Usage Patterns**: Common patterns and best practices
|
|
111
|
+
3. **Theme Structure**: Detailed theme configuration
|
|
112
|
+
4. **Code Examples**: Ready-to-use code snippets
|
|
113
|
+
5. **Accessibility Info**: ARIA labels, keyboard support, etc.
|
|
114
|
+
|
|
115
|
+
See `docs/ai-metadata/` for structured data.
|
|
116
|
+
|
|
117
|
+
## 📚 Additional Resources
|
|
118
|
+
|
|
119
|
+
- [Component Documentation](./docs/components/)
|
|
120
|
+
- [Usage Guide](./docs/guides/usage-guide.md)
|
|
121
|
+
- [Customization Guide](./docs/guides/customization-guide.md)
|
|
122
|
+
- [API Reference](./docs/api/)
|
|
123
|
+
- [Accessibility Guide](./docs/guides/accessibility-guide.md)
|
|
124
|
+
|
|
125
|
+
## 🔗 Links
|
|
126
|
+
|
|
127
|
+
- [Package on npm](https://www.npmjs.com/package/@rakeyshgidwani/roger-ui-theme-stan-design)
|
|
128
|
+
- [GitHub Repository](https://github.com/roger-ui/design-system)
|
|
129
|
+
- [Documentation](https://roger-ui.dev/themes/stan-design)
|
|
130
|
+
|
|
131
|
+
## 📄 License
|
|
132
|
+
|
|
133
|
+
MIT © Roger UI Team
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
**Generated automatically by Roger UI automation system**
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
|
|
2
|
+
// Core exports (would be from @rakeyshgidwani/core in real implementation)
|
|
3
|
+
// Theme-specific exports
|
|
4
|
+
// Convenience exports
|
|
5
|
+
export type { StanDesignThemeConfig } from './theme';
|
|
6
|
+
|
|
7
|
+
// Auto-import theme styles
|
|
8
|
+
import './styles.css';
|
|
9
|
+
|
|
10
|
+
// Default export
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @rakeyshgidwani/roger-ui-bank-theme-stan-design
|
|
3
|
+
* Complete design system package with stan-design theme
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
// Core exports (would be from @rakeyshgidwani/core in real implementation)
|
|
7
|
+
export { Button } from '../../../src/components/ui/button';
|
|
8
|
+
export { Card } from '../../../src/components/ui/card';
|
|
9
|
+
export { Input } from '../../../src/components/ui/input';
|
|
10
|
+
|
|
11
|
+
// Theme-specific exports
|
|
12
|
+
export { StanDesignTheme as theme } from './theme';
|
|
13
|
+
export { StanDesignProvider as ThemeProvider } from './provider';
|
|
14
|
+
|
|
15
|
+
// Convenience exports
|
|
16
|
+
export { default as Provider } from './provider';
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
// Auto-import theme styles
|
|
20
|
+
import './styles.css';
|
|
21
|
+
|
|
22
|
+
// Default export
|
|
23
|
+
export { StanDesignTheme as default } from './theme';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @rakeyshgidwani/roger-ui-bank-theme-stan-design
|
|
3
|
+
* Complete design system package with stan-design theme
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
// Core exports (would be from @rakeyshgidwani/core in real implementation)
|
|
7
|
+
export { Button } from '../../../src/components/ui/button';
|
|
8
|
+
export { Card } from '../../../src/components/ui/card';
|
|
9
|
+
export { Input } from '../../../src/components/ui/input';
|
|
10
|
+
|
|
11
|
+
// Theme-specific exports
|
|
12
|
+
export { StanDesignTheme as theme } from './theme';
|
|
13
|
+
export { StanDesignProvider as ThemeProvider } from './provider';
|
|
14
|
+
|
|
15
|
+
// Convenience exports
|
|
16
|
+
export { default as Provider } from './provider';
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
// Auto-import theme styles
|
|
20
|
+
import './styles.css';
|
|
21
|
+
|
|
22
|
+
// Default export
|
|
23
|
+
export { StanDesignTheme as default } from './theme';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Simple theme provider - in real implementation would integrate with core provider
|
|
2
|
+
export interface StanDesignProviderProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
theme?: typeof StanDesignTheme;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export const StanDesignProvider: React.FC<StanDesignProviderProps> = ({
|
|
8
|
+
children,
|
|
9
|
+
theme = StanDesignTheme,
|
|
10
|
+
...props
|
|
11
|
+
}) => (
|
|
12
|
+
<div data-theme="stan-design" style={{ '--theme-name': 'stan-design' } as React.CSSProperties}>
|
|
13
|
+
{children}
|
|
14
|
+
</div>
|
|
15
|
+
);
|
|
16
|
+
|
|
17
|
+
export default StanDesignProvider;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { StanDesignTheme } from './theme';
|
|
3
|
+
|
|
4
|
+
// Simple theme provider - in real implementation would integrate with core provider
|
|
5
|
+
export interface StanDesignProviderProps {
|
|
6
|
+
children;
|
|
7
|
+
theme?;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const StanDesignProvider= ({
|
|
11
|
+
children,
|
|
12
|
+
theme = StanDesignTheme,
|
|
13
|
+
...props
|
|
14
|
+
}) => (
|
|
15
|
+
<div data-theme="stan-design" style={{ '--theme-name'} as React.CSSProperties}>
|
|
16
|
+
{children}
|
|
17
|
+
</div>
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
export default StanDesignProvider;
|
package/dist/provider.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { StanDesignTheme } from './theme';
|
|
3
|
+
|
|
4
|
+
// Simple theme provider - in real implementation would integrate with core provider
|
|
5
|
+
export interface StanDesignProviderProps {
|
|
6
|
+
children;
|
|
7
|
+
theme?;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const StanDesignProvider= ({
|
|
11
|
+
children,
|
|
12
|
+
theme = StanDesignTheme,
|
|
13
|
+
...props
|
|
14
|
+
}) => (
|
|
15
|
+
<div data-theme="stan-design" style={{ '--theme-name'} as React.CSSProperties}>
|
|
16
|
+
{children}
|
|
17
|
+
</div>
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
export default StanDesignProvider;
|