@keenmate/pure-admin-core 2.3.1 → 2.3.3
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 +30 -9
- package/dist/css/main.css +205 -190
- package/package.json +1 -1
- package/snippets/buttons.html +375 -365
- package/snippets/command-palette.html +15 -13
- package/src/scss/_base-css-variables.scss +10 -0
- package/src/scss/_core.scss +121 -121
- package/src/scss/core-components/_alerts.scss +227 -227
- package/src/scss/core-components/_badges.scss +16 -16
- package/src/scss/core-components/_base.scss +125 -125
- package/src/scss/core-components/_buttons.scss +31 -16
- package/src/scss/core-components/_callouts.scss +152 -152
- package/src/scss/core-components/_cards.scss +488 -488
- package/src/scss/core-components/_checkbox-lists.scss +289 -289
- package/src/scss/core-components/_code.scss +141 -141
- package/src/scss/core-components/_command-palette.scss +518 -509
- package/src/scss/core-components/_comparison.scss +172 -172
- package/src/scss/core-components/_data-display.scss +9 -9
- package/src/scss/core-components/_data-viz.scss +9 -9
- package/src/scss/core-components/_detail-panel.scss +1 -1
- package/src/scss/core-components/_file-selector.scss +780 -780
- package/src/scss/core-components/_filter-card.scss +58 -58
- package/src/scss/core-components/_forms.scss +16 -16
- package/src/scss/core-components/_grid.scss +293 -293
- package/src/scss/core-components/_layout.scss +15 -15
- package/src/scss/core-components/_lists.scss +211 -211
- package/src/scss/core-components/_loaders.scss +277 -277
- package/src/scss/core-components/_logic-tree.scss +280 -280
- package/src/scss/core-components/_modals.scss +203 -203
- package/src/scss/core-components/_notifications.scss +320 -320
- package/src/scss/core-components/_pagers.scss +141 -141
- package/src/scss/core-components/_popconfirm.scss +170 -170
- package/src/scss/core-components/_profile.scss +405 -405
- package/src/scss/core-components/_scrollbars.scss +40 -40
- package/src/scss/core-components/_settings-panel.scss +141 -141
- package/src/scss/core-components/_statistics.scss +200 -201
- package/src/scss/core-components/_tables.scss +900 -900
- package/src/scss/core-components/_tabs.scss +504 -504
- package/src/scss/core-components/_timeline.scss +589 -589
- package/src/scss/core-components/_toasts.scss +425 -425
- package/src/scss/core-components/_tooltips.scss +605 -605
- package/src/scss/core-components/_utilities.scss +1 -1
- package/src/scss/core-components/_web-components-theme.scss +21 -21
- package/src/scss/core-components/badges/_badge-base.scss +121 -121
- package/src/scss/core-components/badges/_badge-group.scss +25 -25
- package/src/scss/core-components/badges/_composite-badge-variants.scss +396 -396
- package/src/scss/core-components/badges/_composite-badge.scss +70 -70
- package/src/scss/core-components/badges/_index.scss +10 -10
- package/src/scss/core-components/badges/_labels.scss +155 -155
- package/src/scss/core-components/forms/_checkboxes-radios.scss +205 -205
- package/src/scss/core-components/forms/_form-inputs.scss +3 -3
- package/src/scss/core-components/forms/_form-layout.scss +66 -66
- package/src/scss/core-components/forms/_form-states.scss +115 -115
- package/src/scss/core-components/forms/_index.scss +12 -12
- package/src/scss/core-components/forms/_input-groups.scss +154 -154
- package/src/scss/core-components/forms/_input-wrapper.scss +89 -89
- package/src/scss/core-components/forms/_query-editor.scss +313 -313
- package/src/scss/core-components/layout/_index.scss +11 -11
- package/src/scss/core-components/layout/_layout-container.scss +168 -168
- package/src/scss/core-components/layout/_layout-responsive.scss +99 -99
- package/src/scss/core-components/layout/_navbar-elements.scss +250 -250
- package/src/scss/core-components/layout/_navbar.scss +83 -83
- package/src/scss/core-components/layout/_sidebar-states.scss +237 -237
- package/src/scss/core-components/layout/_sidebar.scss +234 -234
- package/src/scss/main.scss +7 -7
- package/src/scss/utilities.scss +740 -740
- package/src/scss/variables/_base.scss +228 -228
- package/src/scss/variables/_components.scss +748 -748
- package/src/scss/variables/_layout.scss +65 -65
- package/src/scss/variables/_typography.scss +37 -37
package/README.md
CHANGED
|
@@ -2,18 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Lightweight, data-focused CSS/SCSS admin framework with Corporate theme as default.
|
|
4
4
|
|
|
5
|
-
## What's New in 2.3.
|
|
5
|
+
## What's New in 2.3.3
|
|
6
6
|
|
|
7
|
-
- **
|
|
8
|
-
- **
|
|
9
|
-
- **Button label element** — New `pa-btn__label` for proper horizontal centering of icon+text in `pa-btn--align-center` buttons
|
|
10
|
-
- **Select descender fix** — Added `line-height: normal` to `.pa-select` to prevent clipping on native selects
|
|
7
|
+
- **Command palette rewrite** — Multi-step command wizards (`/deploy`, `/assign`, `/go`, `/theme`), context search (`:p`, `:u`, `:o`), global search, inline/tokens display modes matching keen-pure-admin
|
|
8
|
+
- **Dark theme fixes** — Command palette loading overlay, key badges, and item badges all use CSS variables instead of SCSS defaults stuck on light mode
|
|
11
9
|
|
|
12
|
-
## What's New in 2.3.
|
|
10
|
+
## What's New in 2.3.2
|
|
13
11
|
|
|
14
|
-
- **
|
|
15
|
-
- **
|
|
16
|
-
- **
|
|
12
|
+
- **Themeable border-radius via CSS variables** — All components now use `var(--pa-border-radius)`. Themes override in `:root` (same pattern as colors). Fixes long-standing issue where `@use` module isolation prevented theme control of border-radius
|
|
13
|
+
- **Outline-secondary button contrast** — New `--pa-btn-secondary-outline-color` variable, readable on all dark themes
|
|
14
|
+
- **Split button dropdown rework** — Two-container pattern (`__menu` + `__menu-inner`) matching web-multiselect. New `__item-row` element for rows with action buttons. Container handles `overflow: hidden` + `border-radius`
|
|
15
|
+
- **Removed hover lift** — `translateY(-1px)` removed from buttons and stat cards for consistency
|
|
17
16
|
|
|
18
17
|
## Installation
|
|
19
18
|
|
|
@@ -338,6 +337,28 @@ Works with both `pa-table` and `web-grid` component. First/last columns automati
|
|
|
338
337
|
- `.pa-modal__container--sm/md/lg/xl/xxl` - Sizes
|
|
339
338
|
- `.pa-modal--primary/success/danger/warning` - Themed headers
|
|
340
339
|
|
|
340
|
+
### Command Palette
|
|
341
|
+
- `.pa-command-palette` - Base container (add `--active` to show)
|
|
342
|
+
- `.pa-command-palette__backdrop` - Overlay backdrop
|
|
343
|
+
- `.pa-command-palette__container` - Modal dialog
|
|
344
|
+
- `.pa-command-palette__search` - Search area (input + tokens + context)
|
|
345
|
+
- `.pa-command-palette__tokens` - Token badges container (for token display mode)
|
|
346
|
+
- `.pa-command-palette__input-wrapper` - Wraps input + context label (positioning anchor)
|
|
347
|
+
- `.pa-command-palette__input` - Search input
|
|
348
|
+
- `.pa-command-palette__context` - Context label (e.g., "Assign to User", "Searching in Products")
|
|
349
|
+
- `.pa-command-palette__results` - Scrollable results area
|
|
350
|
+
- `.pa-command-palette__item` - Result row (`--active` for keyboard-highlighted)
|
|
351
|
+
- `.pa-command-palette__item-icon` - Item icon
|
|
352
|
+
- `.pa-command-palette__item-content` - Title + subtitle wrapper
|
|
353
|
+
- `.pa-command-palette__item-title` - Item title (supports `<mark>` for search highlights)
|
|
354
|
+
- `.pa-command-palette__item-meta` - Subtitle/metadata
|
|
355
|
+
- `.pa-command-palette__preview` - Command step preview text
|
|
356
|
+
- `.pa-command-palette__footer` - Keyboard hints bar
|
|
357
|
+
- `.pa-command-palette__key` - Keyboard shortcut badge
|
|
358
|
+
- `.pa-command-palette__token-prompt` - Step prompt text between token badges
|
|
359
|
+
- **Modes:** `/` commands, `:` context search, plain text global search
|
|
360
|
+
- **Display styles:** Inline (everything in input) or Tokens (selections as badges)
|
|
361
|
+
|
|
341
362
|
### Toasts
|
|
342
363
|
- `.pa-toast` - Base toast
|
|
343
364
|
- `.pa-toast--primary/success/danger/warning/info` - Variants
|