@keenmate/pure-admin-core 1.0.0-rc01 → 1.0.0-rc02

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
@@ -24,8 +24,14 @@ import '@keenmate/pure-admin-core/dist/css/main.css';
24
24
 
25
25
  ### Using a Theme
26
26
 
27
+ Themes are separate packages. Install and import:
28
+
29
+ ```bash
30
+ npm install @keenmate/pure-admin-theme-audi
31
+ ```
32
+
27
33
  ```html
28
- <link rel="stylesheet" href="node_modules/@keenmate/pure-admin-core/dist/css/themes/audi.css">
34
+ <link rel="stylesheet" href="node_modules/@keenmate/pure-admin-theme-audi/dist/audi.css">
29
35
  ```
30
36
 
31
37
  ### SCSS Customization
@@ -55,15 +61,30 @@ openModal('myModal');
55
61
 
56
62
  The `snippets/` directory contains clean HTML patterns for all components:
57
63
 
58
- - `snippets/buttons.html` - All button variants and patterns
59
- - `snippets/alerts.html` - Alert components
60
- - `snippets/badges.html` - Badge and composite badge patterns
61
- - `snippets/cards.html` - Card layouts
62
- - `snippets/forms.html` - Form elements and validation
63
- - `snippets/modals.html` - Modal dialogs
64
- - `snippets/toasts.html` - Toast notifications
65
- - `snippets/tables.html` - Table variants
66
- - `snippets/loaders.html` - Loading spinners and animations
64
+ - `alerts.html` - Alert components
65
+ - `badges.html` - Badge and composite badge patterns
66
+ - `buttons.html` - All button variants and patterns
67
+ - `cards.html` - Card layouts
68
+ - `checkbox-lists.html` - Checkbox list patterns
69
+ - `code.html` - Code display blocks
70
+ - `command-palette.html` - Command palette (Ctrl+K)
71
+ - `comparison.html` - Comparison tables
72
+ - `forms.html` - Form elements and validation
73
+ - `grid.html` - Grid system layouts
74
+ - `layout.html` - Page layout structure
75
+ - `lists.html` - Styled lists (ul, ol, dl)
76
+ - `loaders.html` - Loading spinners and animations
77
+ - `modal-dialogs.html` - Confirmation dialogs
78
+ - `modals.html` - Modal windows
79
+ - `popconfirm.html` - Popconfirm component
80
+ - `profile.html` - Profile panel with tabs and favorites
81
+ - `tables.html` - Table variants
82
+ - `tabs.html` - Tab components
83
+ - `timeline.html` - Timeline components
84
+ - `toasts.html` - Toast notifications
85
+ - `tooltips.html` - Tooltips and popovers
86
+ - `utilities.html` - Utility classes
87
+ - `virtual-scroll.html` - Virtual scrolling
67
88
 
68
89
  These snippets are the canonical reference for building framework components in any frontend framework (React, Vue, Svelte, etc.).
69
90
 
@@ -83,19 +104,26 @@ See `@pure-admin/vue` package for Vue component wrappers.
83
104
 
84
105
  ## Themes
85
106
 
86
- All themes are included in this package:
107
+ Themes are available as separate npm packages:
87
108
 
88
- | Theme | File | Description |
89
- |-------|------|-------------|
90
- | Corporate | `main.css` or `themes/corporate.css` | Professional blue/gray (default) |
91
- | Audi | `themes/audi.css` | Audi red with Fira Sans Condensed |
92
- | Audi Light | `themes/audi-light.css` | Light variant of Audi |
93
- | Express | `themes/express.css` | Bold yellow/red logistics |
94
- | Dark | `themes/dark.css` | Dark mode base |
95
- | Dark Blue | `themes/dark-blue.css` | Dark with blue accent |
96
- | Dark Green | `themes/dark-green.css` | Dark with green accent |
97
- | Dark Red | `themes/dark-red.css` | Dark with red accent |
98
- | Minimal | `themes/minimal.css` | Clean minimal design |
109
+ | Theme | Package | Description |
110
+ |-------|---------|-------------|
111
+ | Audi | `@keenmate/pure-admin-theme-audi` | Audi red with Fira Sans Condensed |
112
+ | Corporate | `@keenmate/pure-admin-theme-corporate` | Professional blue/gray |
113
+ | Dark | `@keenmate/pure-admin-theme-dark` | Dark mode with color variants |
114
+ | Express | `@keenmate/pure-admin-theme-express` | Bold yellow/red logistics |
115
+ | Minimal | `@keenmate/pure-admin-theme-minimal` | Clean minimal design |
116
+
117
+ ### Theme Modes & Variants
118
+
119
+ Themes support light/dark modes via CSS classes on `<body>`:
120
+ - `.pa-mode-light` - Force light mode
121
+ - `.pa-mode-dark` - Force dark mode
122
+
123
+ The Dark theme supports color accent variants:
124
+ - `.pa-color-blue` - Blue accent
125
+ - `.pa-color-green` - Green accent
126
+ - `.pa-color-red` - Red accent
99
127
 
100
128
  ## Component Classes
101
129
 
@@ -156,6 +184,15 @@ All themes are included in this package:
156
184
  - `.pa-popover--sm/md/lg` - Sizes
157
185
  - **JavaScript Required**: Popovers require `tooltips-popovers.js` and Floating UI library for positioning
158
186
 
187
+ ### Profile Panel
188
+ - `.pa-profile-panel` - Slide-in profile panel
189
+ - `.pa-profile-panel--open` - Open state
190
+ - `.pa-profile-panel__header` - Header with avatar and user info
191
+ - `.pa-profile-panel__tabs` - Tab navigation (Profile/Favorites)
192
+ - `.pa-profile-panel__nav-item` - Navigation link
193
+ - `.pa-profile-panel__favorite-item` - Favorite link (with remove button)
194
+ - `.pa-profile-panel__actions` - Action buttons (Sign Out, etc.)
195
+
159
196
  ## SCSS Variables
160
197
 
161
198
  All components use SCSS variables with `!default` flags, making them fully customizable: