@keenmate/pure-admin-core 1.0.0-rc03 → 1.0.0-rc05
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 +92 -0
- package/dist/css/main.css +1100 -205
- package/package.json +1 -1
- package/snippets/badges.html +7 -6
- package/snippets/buttons.html +15 -13
- package/snippets/modals.html +43 -4
- package/snippets/profile.html +67 -2
- package/snippets/tables.html +8 -6
- package/snippets/tabs.html +47 -17
- package/snippets/tooltips.html +69 -1
- package/src/scss/core-components/_buttons.scss +6 -54
- package/src/scss/core-components/_cards.scss +40 -4
- package/src/scss/core-components/_profile.scss +27 -13
- package/src/scss/core-components/_tables.scss +37 -13
- package/src/scss/core-components/_tabs.scss +135 -83
- package/src/scss/core-components/_tooltips.scss +40 -0
- package/src/scss/core-components/badges/_badge-base.scss +0 -21
- package/src/scss/core-components/forms/_form-inputs.scss +7 -1
- package/src/scss/themes/audi-light.scss +5 -1
- package/src/scss/themes/audi.scss +5 -3
- package/src/scss/utilities.scss +197 -0
- package/src/scss/variables/_components.scss +65 -27
package/README.md
CHANGED
|
@@ -106,6 +106,30 @@ The Dark theme supports color accent variants:
|
|
|
106
106
|
|
|
107
107
|
## Component Classes
|
|
108
108
|
|
|
109
|
+
### Grid System
|
|
110
|
+
- `.pa-row` - Flex container for columns
|
|
111
|
+
- `.pa-col` - Auto-equal width column (flex: 1)
|
|
112
|
+
- `.pa-col-auto` - Content-based width
|
|
113
|
+
- **Percentage columns (5% increments):** `.pa-col-5`, `.pa-col-10`, ... `.pa-col-100`
|
|
114
|
+
- **Fraction columns:**
|
|
115
|
+
- `.pa-col-1-2` (50%), `.pa-col-1-3` (33.3%), `.pa-col-2-3` (66.7%)
|
|
116
|
+
- `.pa-col-1-4` (25%), `.pa-col-3-4` (75%)
|
|
117
|
+
- `.pa-col-1-5` (20%), `.pa-col-2-5` (40%), `.pa-col-3-5` (60%), `.pa-col-4-5` (80%)
|
|
118
|
+
- `.pa-col-1-6` (16.7%), `.pa-col-5-6` (83.3%)
|
|
119
|
+
- `.pa-col-1-12` (8.3%), `.pa-col-5-12` (41.7%), `.pa-col-7-12` (58.3%), `.pa-col-11-12` (91.7%)
|
|
120
|
+
- **Responsive breakpoints:** `.pa-col-sm-*`, `.pa-col-md-*`, `.pa-col-lg-*`, `.pa-col-xl-*`
|
|
121
|
+
- **Offsets:** `.pa-offset-5`, `.pa-offset-10`, ... `.pa-offset-95`
|
|
122
|
+
- **Row modifiers:**
|
|
123
|
+
- `.pa-row--no-gutter` - Remove column gutters
|
|
124
|
+
- `.pa-row--center` - Center columns horizontally
|
|
125
|
+
- `.pa-row--end` - Align columns to end
|
|
126
|
+
- `.pa-row--between` - Space between columns
|
|
127
|
+
- `.pa-row--around` - Space around columns
|
|
128
|
+
- `.pa-row--top` - Align columns to top
|
|
129
|
+
- `.pa-row--middle` - Align columns to middle
|
|
130
|
+
- `.pa-row--bottom` - Align columns to bottom
|
|
131
|
+
- `.pa-row--stretch` - Stretch columns to equal height
|
|
132
|
+
|
|
109
133
|
### Buttons
|
|
110
134
|
- `.pa-btn` - Base button
|
|
111
135
|
- `.pa-btn--primary/secondary/success/danger/warning/info` - Variants
|
|
@@ -171,6 +195,74 @@ The Dark theme supports color accent variants:
|
|
|
171
195
|
- `.pa-popover--sm/md/lg` - Sizes
|
|
172
196
|
- **JavaScript Required**: Popovers require `tooltips-popovers.js` and Floating UI library for positioning
|
|
173
197
|
|
|
198
|
+
### Tabs
|
|
199
|
+
- `.pa-tabs` - Base tabs container
|
|
200
|
+
- `.pa-tabs__item` - Tab button
|
|
201
|
+
- `.pa-tabs__item--active` - Active tab state
|
|
202
|
+
- `.pa-tabs__content` - Content wrapper
|
|
203
|
+
- `.pa-tabs__panel` - Tab panel (use `--active` to show)
|
|
204
|
+
- **Variants:**
|
|
205
|
+
- `.pa-tabs--pills` - Pill-style tabs
|
|
206
|
+
- `.pa-tabs--boxed` - Boxed tabs with background
|
|
207
|
+
- `.pa-tabs--vertical` - Vertical tab layout
|
|
208
|
+
- `.pa-tabs--scrollable` - Horizontally scrollable with arrows
|
|
209
|
+
- `.pa-tabs--collapse` - Icon-only tabs (active shows text)
|
|
210
|
+
- `.pa-tabs--full` - Full-width tabs
|
|
211
|
+
- `.pa-tabs--border-top` - Active indicator on top
|
|
212
|
+
- `.pa-tabs--centered` - Center-aligned tabs
|
|
213
|
+
- `.pa-tabs--nowrap` - Prevent wrapping
|
|
214
|
+
- **Sizes:** `.pa-tabs--sm`, `.pa-tabs--lg`
|
|
215
|
+
- **Containers:**
|
|
216
|
+
- `.pa-tabs__container--bordered` - Card-like border wrapper
|
|
217
|
+
- `.pa-tabs__container--card` - Card header style
|
|
218
|
+
- `.pa-tabs__vertical-layout` - Wrapper for vertical tabs + content
|
|
219
|
+
|
|
220
|
+
### Pagers
|
|
221
|
+
- `.pa-pager` - Pagination container
|
|
222
|
+
- `.pa-pager__container` - Inner container with controls and info
|
|
223
|
+
- `.pa-pager__controls` - Navigation buttons wrapper
|
|
224
|
+
- `.pa-pager__info` - Page info display
|
|
225
|
+
- `.pa-pager__input` - Page number input
|
|
226
|
+
- `.pa-pager__text` - Text labels
|
|
227
|
+
- `.pa-pager--left/center/right` - Alignment modifiers
|
|
228
|
+
|
|
229
|
+
### Load More
|
|
230
|
+
- `.pa-load-more` - Load more container
|
|
231
|
+
- `.pa-load-more__button` - Load more button
|
|
232
|
+
- `.pa-load-more__button--loading` - Loading state
|
|
233
|
+
- `.pa-load-more__spinner` - Loading spinner
|
|
234
|
+
- `.pa-load-more__text` - Button text
|
|
235
|
+
- `.pa-load-more__count` - Item count display
|
|
236
|
+
- `.pa-load-more--left/center/right` - Alignment modifiers
|
|
237
|
+
|
|
238
|
+
### Statistics
|
|
239
|
+
- `.pa-stat` - Base statistics component
|
|
240
|
+
- `.pa-stat__icon` - Icon container with color variants (`--primary/success/warning/info`)
|
|
241
|
+
- `.pa-stat__content` - Content wrapper
|
|
242
|
+
- `.pa-stat__number` - Large number display
|
|
243
|
+
- `.pa-stat__label` - Label text
|
|
244
|
+
- **Hero variant:** `.pa-stat--hero` - Large centered stat with value and change indicator
|
|
245
|
+
- `.pa-stat__value` - Hero number
|
|
246
|
+
- `.pa-stat__change` - Change indicator (`--positive/negative/neutral`)
|
|
247
|
+
- **Square variant:** `.pa-stat--square` - Colored square KPI card
|
|
248
|
+
- `.pa-stat__symbol` - Background symbol
|
|
249
|
+
- Color modifiers: `.pa-stat--primary/success/info/warning/danger/secondary`
|
|
250
|
+
- `.pa-kpi-grid` - Grid container for square stats
|
|
251
|
+
|
|
252
|
+
### Notifications
|
|
253
|
+
- `.pa-notifications` - Notification bell container
|
|
254
|
+
- `.pa-notifications__btn` - Bell button
|
|
255
|
+
- `.pa-notifications__icon` - Bell icon
|
|
256
|
+
- `.pa-notifications__badge` - Unread count badge
|
|
257
|
+
- `.pa-notifications__panel` - Dropdown panel (add `.is-open` to show)
|
|
258
|
+
- `.pa-notifications__header` - Panel header
|
|
259
|
+
- `.pa-notifications__list` - Notification list
|
|
260
|
+
- `.pa-notifications__item` - Individual notification (`--unread` for unread state)
|
|
261
|
+
- `.pa-notifications__icon-wrapper` - Item icon with variants (`--primary/success/warning/danger/secondary`)
|
|
262
|
+
- `.pa-notifications__content` - Item content (title, message)
|
|
263
|
+
- `.pa-notifications__time` - Timestamp
|
|
264
|
+
- `.pa-notifications__footer` - Panel footer with "View all" link
|
|
265
|
+
|
|
174
266
|
### Profile Panel
|
|
175
267
|
- `.pa-profile-panel` - Slide-in profile panel
|
|
176
268
|
- `.pa-profile-panel--open` - Open state
|