@keenmate/pure-admin-core 1.1.3 → 1.3.0
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 +36 -0
- package/dist/css/main.css +1138 -29
- package/package.json +1 -1
- package/snippets/detail-panel.html +138 -0
- package/src/scss/_base-css-variables.scss +7 -0
- package/src/scss/_core.scss +6 -0
- package/src/scss/core-components/_data-display.scss +347 -0
- package/src/scss/core-components/_detail-panel.scss +335 -0
- package/src/scss/core-components/_grid.scss +4 -0
- package/src/scss/core-components/_tables.scss +277 -0
- package/src/scss/variables/_components.scss +47 -0
package/README.md
CHANGED
|
@@ -77,6 +77,7 @@ The `snippets/` directory contains clean HTML patterns for all components:
|
|
|
77
77
|
- `utilities.html` - Utility classes
|
|
78
78
|
- `virtual-scroll.html` - Virtual scrolling
|
|
79
79
|
- `web-daterangepicker.html` - Date range picker web component
|
|
80
|
+
- `detail-panel.html` - Detail panel (inline, overlay, full-screen)
|
|
80
81
|
- `web-multiselect.html` - Multiselect web component
|
|
81
82
|
|
|
82
83
|
These snippets are the canonical reference for building framework components in any frontend framework (React, Vue, Svelte, etc.).
|
|
@@ -205,9 +206,24 @@ This enables dark mode support for web components like `@keenmate/web-grid` that
|
|
|
205
206
|
### Tables
|
|
206
207
|
- `.pa-table` - Base table
|
|
207
208
|
- `.pa-table--striped` - Striped rows
|
|
209
|
+
- `.pa-table--bordered` - Full cell borders on all sides
|
|
208
210
|
- `.pa-table--hover` - Row hover effects
|
|
209
211
|
- `.pa-table--compact` - Reduced padding
|
|
210
212
|
|
|
213
|
+
### Table Cards
|
|
214
|
+
Card container specifically designed for tables and web-grids:
|
|
215
|
+
- `.pa-table-card` - Base table card container
|
|
216
|
+
- `.pa-table-card__header` - Header with title and actions
|
|
217
|
+
- `.pa-table-card__body` - Body for table/grid content (no padding)
|
|
218
|
+
- `.pa-table-card__footer` - Footer with summary/actions
|
|
219
|
+
- `.pa-table-card__title` - Title element
|
|
220
|
+
- `.pa-table-card__actions` - Actions container for buttons
|
|
221
|
+
- **Semantic variants:** `.pa-table-card--primary/success/danger/warning`
|
|
222
|
+
- **Theme color variants:** `.pa-table-card--color-1` through `.pa-table-card--color-9`
|
|
223
|
+
- **Plain variant:** `.pa-table-card--plain` - No border/shadow/background, keeps grid behavior
|
|
224
|
+
|
|
225
|
+
Works with both `pa-table` and `web-grid` component. First/last columns automatically align with header/footer padding.
|
|
226
|
+
|
|
211
227
|
### Alerts
|
|
212
228
|
- `.pa-alert` - Base alert
|
|
213
229
|
- `.pa-alert--primary/success/danger/warning/info` - Variants
|
|
@@ -310,6 +326,26 @@ This enables dark mode support for web components like `@keenmate/web-grid` that
|
|
|
310
326
|
- `.pa-notifications__time` - Timestamp
|
|
311
327
|
- `.pa-notifications__footer` - Panel footer with "View all" link
|
|
312
328
|
|
|
329
|
+
### Detail Panel
|
|
330
|
+
- `.pa-detail-view` - Flex wrapper for inline split-view (table + panel side by side)
|
|
331
|
+
- `.pa-detail-view__main` - Left side (table area), `flex: 1`
|
|
332
|
+
- `.pa-detail-view__panel` - Right side panel, hidden by default (`width: 0`)
|
|
333
|
+
- `.pa-detail-view__panel--open` - Shows panel with configured width
|
|
334
|
+
- `.pa-detail-view--overlay` - Card overlay modifier (panel overlays table within card)
|
|
335
|
+
- `.pa-detail-view__overlay` - Backdrop element (click to close), use `--visible` to show
|
|
336
|
+
- `.pa-detail-panel--overlay` - Full-screen overlay mode (fixed position, like profile panel)
|
|
337
|
+
- `.pa-detail-panel--open` - Makes overlay panel visible with slide-in transition
|
|
338
|
+
- `.pa-detail-panel__content` - Panel content wrapper (flex column: header/body/footer)
|
|
339
|
+
- `.pa-detail-panel__header` - Panel header with title, optional action buttons, close button
|
|
340
|
+
- `.pa-detail-panel__title` - Truncated panel title
|
|
341
|
+
- `.pa-detail-panel__close` - Close button
|
|
342
|
+
- `.pa-detail-panel__tabs` - Optional tab navigation (between header and body)
|
|
343
|
+
- `.pa-detail-panel__body` - Scrollable body area
|
|
344
|
+
- `.pa-detail-panel__footer` - Fixed footer with action buttons
|
|
345
|
+
- `.pa-detail-panel__overlay` - Backdrop (overlay mode, click to close)
|
|
346
|
+
- `.pa-detail-panel-resize` - Drag handle on left edge for resizing
|
|
347
|
+
- `.is-selected` - Applied to `<tr>` to highlight selected row
|
|
348
|
+
|
|
313
349
|
### Profile Panel
|
|
314
350
|
- `.pa-profile-panel` - Slide-in profile panel
|
|
315
351
|
- `.pa-profile-panel--open` - Open state
|