@keenmate/pure-admin-core 1.4.1 → 1.5.1
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 +97 -8
- package/dist/css/main.css +472 -63
- package/package.json +1 -1
- package/snippets/buttons.html +4 -4
- package/snippets/forms.html +534 -534
- package/snippets/layout.html +11 -11
- package/snippets/tables.html +8 -8
- package/snippets/tabs.html +6 -6
- package/snippets/timeline.html +24 -24
- package/snippets/tooltips.html +2 -2
- package/snippets/typography.html +101 -101
- package/snippets/utilities.html +3 -3
- package/src/scss/core-components/_buttons.scss +2 -2
- package/src/scss/core-components/_cards.scss +23 -0
- package/src/scss/core-components/_data-display.scss +514 -19
- package/src/scss/core-components/_detail-panel.scss +6 -0
- package/src/scss/core-components/_pagers.scss +4 -4
- package/src/scss/core-components/_tables.scss +11 -4
- package/src/scss/core-components/_tabs.scss +0 -2
- package/src/scss/core-components/_timeline.scss +4 -4
- package/src/scss/core-components/_tooltips.scss +1 -2
- package/src/scss/core-components/_utilities.scss +0 -11
- package/src/scss/core-components/layout/_layout-container.scss +7 -7
- package/src/scss/core-components/layout/_navbar-elements.scss +5 -5
- package/src/scss/core-components/layout/_navbar.scss +3 -3
- package/src/scss/utilities.scss +13 -8
- package/src/scss/variables/_components.scss +98 -1
package/README.md
CHANGED
|
@@ -180,6 +180,13 @@ Sizes: `0`, `xs`, `sm`, `md`, `base`, `lg`, `xl`, `2xl`, `auto`
|
|
|
180
180
|
- **Theme color variants:** `.pa-card--color-1` through `.pa-card--color-9`
|
|
181
181
|
- Uses `--pa-color-N` for header background and border
|
|
182
182
|
- Text color automatically adjusts via `--pa-color-N-text` for readability
|
|
183
|
+
- `.pa-card--ghost` - Invisible container (no background, border, or shadow) — layout wrapper only
|
|
184
|
+
- `.pa-card--stat` - Compact padding for stat cards
|
|
185
|
+
- **Card tabs:**
|
|
186
|
+
- `.pa-card__tabs` - Tab navigation below header
|
|
187
|
+
- `.pa-card__tab` / `.pa-card__tab--active` - Tab buttons
|
|
188
|
+
- `.pa-card__tab-content` / `.pa-card__tab-content--active` - Tab panels
|
|
189
|
+
- `.pa-card__tabs--inline` - Pill-style tabs inside header
|
|
183
190
|
|
|
184
191
|
### Layout & Sidebar
|
|
185
192
|
- `.pa-layout` - Main layout container
|
|
@@ -194,23 +201,23 @@ Sizes: `0`, `xs`, `sm`, `md`, `base`, `lg`, `xl`, `2xl`, `auto`
|
|
|
194
201
|
- `.pa-navbar` - Fixed navbar container
|
|
195
202
|
- `.pa-navbar__inner` - Inner content wrapper
|
|
196
203
|
- **Three-section layout:**
|
|
197
|
-
- `.pa-
|
|
204
|
+
- `.pa-header__start` - Start section (burger, brand, nav) - stays anchored to start
|
|
198
205
|
- `.pa-header__center` - Center section (page title) - flexible
|
|
199
|
-
- `.pa-
|
|
206
|
+
- `.pa-header__end` - End section (notifications, profile) - stays anchored to end
|
|
200
207
|
- `.pa-header__burger` - Hamburger menu button
|
|
201
208
|
- `.pa-header__brand` - Brand/logo container
|
|
202
209
|
- `.pa-header__nav` - Navigation links container
|
|
203
|
-
- `.pa-header__nav--
|
|
210
|
+
- `.pa-header__nav--start/--end` - Navigation position
|
|
204
211
|
- `.pa-header__title` - Page title
|
|
205
212
|
- `.pa-header__profile-btn` - Profile button
|
|
206
213
|
|
|
207
214
|
### Footer
|
|
208
215
|
- `.pa-layout__footer` - Footer container (uses `min-height`, can expand)
|
|
209
216
|
- **Three-section layout:**
|
|
210
|
-
- `.pa-
|
|
217
|
+
- `.pa-footer__start` - Start section (copyright) - stays anchored to start
|
|
211
218
|
- `.pa-footer__center` - Center section (optional) - flexible
|
|
212
|
-
- `.pa-
|
|
213
|
-
- `.pa-
|
|
219
|
+
- `.pa-footer__end` - End section (version info, links) - stays anchored to end
|
|
220
|
+
- `.pa-footer__end--vertical` - Stack items vertically
|
|
214
221
|
|
|
215
222
|
### Forms
|
|
216
223
|
- `.pa-input` - Text inputs
|
|
@@ -311,7 +318,7 @@ Works with both `pa-table` and `web-grid` component. First/last columns automati
|
|
|
311
318
|
- `.pa-pager__info` - Page info display
|
|
312
319
|
- `.pa-pager__input` - Page number input
|
|
313
320
|
- `.pa-pager__text` - Text labels
|
|
314
|
-
- `.pa-pager--
|
|
321
|
+
- `.pa-pager--start/center/end` - Alignment modifiers
|
|
315
322
|
|
|
316
323
|
### Load More
|
|
317
324
|
- `.pa-load-more` - Load more container
|
|
@@ -320,7 +327,7 @@ Works with both `pa-table` and `web-grid` component. First/last columns automati
|
|
|
320
327
|
- `.pa-load-more__spinner` - Loading spinner
|
|
321
328
|
- `.pa-load-more__text` - Button text
|
|
322
329
|
- `.pa-load-more__count` - Item count display
|
|
323
|
-
- `.pa-load-more--
|
|
330
|
+
- `.pa-load-more--start/center/end` - Alignment modifiers
|
|
324
331
|
|
|
325
332
|
### Statistics
|
|
326
333
|
- `.pa-stat` - Base statistics component
|
|
@@ -380,6 +387,88 @@ Works with both `pa-table` and `web-grid` component. First/last columns automati
|
|
|
380
387
|
- `.pa-profile-panel__favorite-item` - Favorite link (with remove button)
|
|
381
388
|
- `.pa-profile-panel__actions` - Action buttons (Sign Out, etc.)
|
|
382
389
|
|
|
390
|
+
### Data Display
|
|
391
|
+
|
|
392
|
+
Read-only label-value patterns for displaying structured data. All patterns support RTL via CSS logical properties and respond to container width via CSS Container Queries.
|
|
393
|
+
|
|
394
|
+
#### Fields (label-value pairs)
|
|
395
|
+
- `.pa-field` - Single label-value pair
|
|
396
|
+
- `.pa-field__label` - Label element
|
|
397
|
+
- `.pa-field__value` - Value element
|
|
398
|
+
- `.pa-fields` - Container for multiple fields (stacked list)
|
|
399
|
+
- `.pa-fields--cols-2/3/4` - Multi-column grid layout
|
|
400
|
+
- `.pa-fields--horizontal` - Side-by-side label/value layout
|
|
401
|
+
- `.pa-fields--table` - Table-like alignment with fixed label width
|
|
402
|
+
- `.pa-fields--bordered` - Bottom borders between fields
|
|
403
|
+
- `.pa-fields--striped` - Alternating row backgrounds
|
|
404
|
+
- `.pa-fields--compact` - Reduced spacing
|
|
405
|
+
- `.pa-fields--inline` - Inline horizontal flow
|
|
406
|
+
- `.pa-fields--relaxed` - Extra spacing
|
|
407
|
+
- `.pa-fields--row` - Horizontal row with wrapping
|
|
408
|
+
- `.pa-fields--filled` - Tinted label backgrounds
|
|
409
|
+
- `.pa-fields--no-border` - Remove all borders
|
|
410
|
+
- `.pa-fields--linear` - Underline-style fields (label above, value with bottom border)
|
|
411
|
+
- `.pa-fields--chips` - Chip/tag style values with color variants
|
|
412
|
+
- `.pa-fields--color-1` through `--color-9` - Theme color accents
|
|
413
|
+
- `.pa-field--full` - Full-width field spanning all columns
|
|
414
|
+
- `.pa-field--copy-btn/--copy-click/--copy-hover` - Copy-to-clipboard patterns
|
|
415
|
+
- `.pa-field-group` - Group fields under a titled section
|
|
416
|
+
- `.pa-field__value--success/warning/danger` - Semantic chip color variants (with `--chips`)
|
|
417
|
+
|
|
418
|
+
#### Desc Table (CSS Grid description list)
|
|
419
|
+
- `.pa-desc-table` - Grid-based label-value table (auto label width)
|
|
420
|
+
- `.pa-desc-table--cols-2` - Two-column layout
|
|
421
|
+
- `.pa-desc-table--fixed` - Fixed label width (configurable via `--label-width`)
|
|
422
|
+
- `.pa-desc-table--middle` - Vertically center labels and values
|
|
423
|
+
- `.pa-desc-table--label-end` - Right-align labels
|
|
424
|
+
- `.pa-desc-table--label-center` - Center-align labels
|
|
425
|
+
- `.pa-desc-table--truncate` - Truncate overflow with ellipsis
|
|
426
|
+
- `.pa-desc-table__label` - Label cell
|
|
427
|
+
- `.pa-desc-table__value` - Value cell
|
|
428
|
+
- `.pa-desc-table__value--full` - Value spanning full row width
|
|
429
|
+
|
|
430
|
+
#### Dot Leaders (receipt/invoice style)
|
|
431
|
+
- `.pa-dot-leaders` - Container for dot-leader items
|
|
432
|
+
- `.pa-dot-leaders__item` - Single row
|
|
433
|
+
- `.pa-dot-leaders__item--total` - Bold total row with top border
|
|
434
|
+
- `.pa-dot-leaders__label` - Label text
|
|
435
|
+
- `.pa-dot-leaders__leader` - Dotted fill between label and value
|
|
436
|
+
- `.pa-dot-leaders__value` - Right-aligned value
|
|
437
|
+
|
|
438
|
+
#### Property Card (grouped key-value card)
|
|
439
|
+
- `.pa-prop-card` - Self-contained card with header + rows
|
|
440
|
+
- `.pa-prop-card__header` - Colored header bar
|
|
441
|
+
- `.pa-prop-card__row` - Key-value row with bottom border
|
|
442
|
+
- `.pa-prop-card__label` - Row label
|
|
443
|
+
- `.pa-prop-card__value` - Row value
|
|
444
|
+
- `.pa-prop-card__value--bold` - Bold value text
|
|
445
|
+
|
|
446
|
+
#### Banded (label column with tinted background)
|
|
447
|
+
- `.pa-banded` - Container for banded rows
|
|
448
|
+
- `.pa-banded__row` - Horizontal label-value row
|
|
449
|
+
- `.pa-banded__label` - Label with tinted background band
|
|
450
|
+
- `.pa-banded__value` - Value cell
|
|
451
|
+
- `.pa-banded--narrow` - Narrower label column
|
|
452
|
+
- `.pa-banded--wide` - Wider label column
|
|
453
|
+
- `.pa-banded--middle` - Vertically center content
|
|
454
|
+
- `.pa-banded--label-end` - Right-align labels
|
|
455
|
+
- `.pa-banded--label-center` - Center-align labels
|
|
456
|
+
- `.pa-banded--truncate` - Truncate overflow with ellipsis
|
|
457
|
+
|
|
458
|
+
#### Accent Grid (color-coded items)
|
|
459
|
+
- `.pa-accent-grid` - Grid container with color-coded left borders
|
|
460
|
+
- `.pa-accent-grid__item` - Grid item with accent border
|
|
461
|
+
- `.pa-accent-grid__item--success/warning/danger/info` - Semantic color variants
|
|
462
|
+
- `.pa-accent-grid__label` - Item label
|
|
463
|
+
- `.pa-accent-grid__value` - Item value
|
|
464
|
+
|
|
465
|
+
#### Container Query Wrappers
|
|
466
|
+
Wrap data display components in these containers to enable responsive behavior based on the container width (not viewport):
|
|
467
|
+
- `.pa-fields-container` - Container for `.pa-fields` (collapses multi-column to single column)
|
|
468
|
+
- `.pa-desc-container` - Container for `.pa-desc-table` (collapses to narrower layout)
|
|
469
|
+
- `.pa-banded-container` - Container for `.pa-banded` (stacks label above value)
|
|
470
|
+
- `.pa-cq` - General-purpose container query utility (`container-type: inline-size`)
|
|
471
|
+
|
|
383
472
|
## Utility Classes
|
|
384
473
|
|
|
385
474
|
### Flexbox Alignment
|