@keenmate/pure-admin-core 1.0.0 → 1.1.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 +85 -7
- package/dist/css/main.css +970 -434
- package/package.json +1 -1
- package/snippets/customization.html +1 -1
- package/snippets/forms.html +65 -8
- package/snippets/layout.html +4 -4
- package/snippets/manifest.json +329 -219
- package/snippets/profile.html +51 -3
- package/src/scss/_base-css-variables.scss +432 -422
- package/src/scss/_core.scss +105 -105
- package/src/scss/_fonts.scss +0 -14
- package/src/scss/_variables.scss +12 -14
- package/src/scss/core-components/_alerts.scss +7 -7
- package/src/scss/core-components/_base.scss +3 -3
- package/src/scss/core-components/_buttons.scss +425 -425
- package/src/scss/core-components/_callouts.scss +139 -139
- package/src/scss/core-components/_cards.scss +321 -321
- package/src/scss/core-components/_checkbox-lists.scss +2 -2
- package/src/scss/core-components/_code.scss +4 -4
- package/src/scss/core-components/_command-palette.scss +518 -518
- package/src/scss/core-components/_comparison.scss +3 -3
- package/src/scss/core-components/_file-selector.scss +780 -780
- package/src/scss/core-components/_forms.scss +16 -16
- package/src/scss/core-components/_layout.scss +15 -15
- package/src/scss/core-components/_lists.scss +7 -7
- package/src/scss/core-components/_logic-tree.scss +280 -280
- package/src/scss/core-components/_modals.scss +2 -2
- package/src/scss/core-components/_notifications.scss +7 -7
- package/src/scss/core-components/_pagers.scss +3 -3
- package/src/scss/core-components/_popconfirm.scss +1 -1
- package/src/scss/core-components/_profile.scss +400 -389
- package/src/scss/core-components/_scrollbars.scss +40 -40
- package/src/scss/core-components/_settings-panel.scss +5 -5
- package/src/scss/core-components/_statistics.scss +6 -6
- package/src/scss/core-components/_tables.scss +566 -566
- package/src/scss/core-components/_tabs.scss +493 -493
- package/src/scss/core-components/_timeline.scss +15 -15
- package/src/scss/core-components/_toasts.scss +4 -4
- package/src/scss/core-components/_tooltips.scss +8 -8
- package/src/scss/core-components/_utilities.scss +11 -30
- package/src/scss/core-components/_web-components-theme.scss +294 -294
- package/src/scss/core-components/badges/_composite-badge-variants.scss +3 -3
- package/src/scss/core-components/badges/_labels.scss +1 -1
- package/src/scss/core-components/forms/_checkboxes-radios.scss +2 -2
- package/src/scss/core-components/forms/_form-inputs.scss +33 -4
- package/src/scss/core-components/forms/_form-layout.scss +2 -2
- package/src/scss/core-components/forms/_form-states.scss +27 -1
- package/src/scss/core-components/forms/_input-wrapper.scss +1 -1
- package/src/scss/core-components/forms/_query-editor.scss +17 -17
- package/src/scss/core-components/layout/_layout-container.scss +1 -1
- package/src/scss/core-components/layout/_navbar-elements.scss +1 -1
- package/src/scss/core-components/layout/_sidebar.scss +5 -5
- package/src/scss/utilities.scss +24 -0
- package/src/scss/variables/_base.scss +20 -10
- package/src/scss/variables/_colors.scss +7 -6
- package/src/scss/variables/_components.scss +8 -11
- package/src/scss/variables/_index.scss +11 -7
- package/src/scss/variables/_spacing.scss +12 -0
- package/src/scss/variables/_typography.scss +2 -2
- package/dist/fonts/Delivery/Delivery_W_Bd.woff2 +0 -0
- package/dist/fonts/Delivery/Delivery_W_BdIt.woff2 +0 -0
- package/dist/fonts/Delivery/Delivery_W_CdBlk.woff2 +0 -0
- package/dist/fonts/Delivery/Delivery_W_CdLt.woff2 +0 -0
- package/dist/fonts/Delivery/Delivery_W_It.woff2 +0 -0
- package/dist/fonts/Delivery/Delivery_W_Lt.woff2 +0 -0
- package/dist/fonts/Delivery/Delivery_W_LtIt.woff2 +0 -0
- package/dist/fonts/Delivery/Delivery_W_Rg.woff2 +0 -0
- package/src/scss/themes/_dark-base.scss +0 -207
- package/src/scss/themes/audi-light.scss +0 -341
- package/src/scss/themes/audi.scss +0 -303
- package/src/scss/themes/corporate.scss +0 -229
- package/src/scss/themes/dark-blue.scss +0 -165
- package/src/scss/themes/dark-green.scss +0 -169
- package/src/scss/themes/dark-red.scss +0 -173
- package/src/scss/themes/dark.scss +0 -158
- package/src/scss/themes/express.scss +0 -294
- package/src/scss/themes/minimal.scss +0 -134
package/package.json
CHANGED
|
@@ -120,7 +120,7 @@ Future versions may include CSS variables for:
|
|
|
120
120
|
- Animation timing customization
|
|
121
121
|
|
|
122
122
|
For now, use SCSS variables for deep customization:
|
|
123
|
-
$
|
|
123
|
+
$main-bg: #your-color;
|
|
124
124
|
$accent-color: #your-accent;
|
|
125
125
|
@import '@pure-admin/core/scss';
|
|
126
126
|
-->
|
package/snippets/forms.html
CHANGED
|
@@ -78,15 +78,62 @@
|
|
|
78
78
|
<!-- Success State -->
|
|
79
79
|
<div class="pa-form-group pa-form-group--success">
|
|
80
80
|
<label class="pa-form-label" for="valid-input">Valid Input</label>
|
|
81
|
-
<input type="text" class="pa-input
|
|
82
|
-
<small class="pa-form-
|
|
81
|
+
<input type="text" class="pa-input" id="valid-input" value="Valid value">
|
|
82
|
+
<small class="pa-form-help pa-form-help--success">Looks good!</small>
|
|
83
|
+
</div>
|
|
84
|
+
|
|
85
|
+
<!-- Warning State -->
|
|
86
|
+
<div class="pa-form-group pa-form-group--warning">
|
|
87
|
+
<label class="pa-form-label" for="warning-input">Warning Input</label>
|
|
88
|
+
<input type="text" class="pa-input" id="warning-input" value="Check this">
|
|
89
|
+
<small class="pa-form-help pa-form-help--warning">Please verify this field.</small>
|
|
83
90
|
</div>
|
|
84
91
|
|
|
85
92
|
<!-- Error State -->
|
|
86
93
|
<div class="pa-form-group pa-form-group--error">
|
|
87
94
|
<label class="pa-form-label" for="invalid-input">Invalid Input</label>
|
|
88
|
-
<input type="text" class="pa-input
|
|
89
|
-
<small class="pa-form-
|
|
95
|
+
<input type="text" class="pa-input" id="invalid-input" value="Invalid value">
|
|
96
|
+
<small class="pa-form-help pa-form-help--error">Please provide a valid value.</small>
|
|
97
|
+
</div>
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
<!-- THEME COLOR VARIANTS -->
|
|
101
|
+
<!-- Use --pa-color-1 through --pa-color-9 CSS variables (set by theme) -->
|
|
102
|
+
|
|
103
|
+
<!-- Color 1 with matching help text -->
|
|
104
|
+
<div class="pa-form-group">
|
|
105
|
+
<label class="pa-form-label" for="color1-input">Color 1</label>
|
|
106
|
+
<input type="text" class="pa-input pa-input--color-1" id="color1-input" value="Color 1 input">
|
|
107
|
+
<small class="pa-form-help pa-form-help--color-1">Colored help text</small>
|
|
108
|
+
</div>
|
|
109
|
+
|
|
110
|
+
<!-- Color 2 with matching help text -->
|
|
111
|
+
<div class="pa-form-group">
|
|
112
|
+
<label class="pa-form-label" for="color2-input">Color 2</label>
|
|
113
|
+
<input type="text" class="pa-input pa-input--color-2" id="color2-input" value="Color 2 input">
|
|
114
|
+
<small class="pa-form-help pa-form-help--color-2">Colored help text</small>
|
|
115
|
+
</div>
|
|
116
|
+
|
|
117
|
+
<!-- Color 3 with gray help text (no color class) -->
|
|
118
|
+
<div class="pa-form-group">
|
|
119
|
+
<label class="pa-form-label" for="color3-input">Color 3</label>
|
|
120
|
+
<input type="text" class="pa-input pa-input--color-3" id="color3-input" value="Color 3 input">
|
|
121
|
+
<small class="pa-form-help">Gray help text (no color class)</small>
|
|
122
|
+
</div>
|
|
123
|
+
|
|
124
|
+
<!-- Select with color variant -->
|
|
125
|
+
<div class="pa-form-group">
|
|
126
|
+
<label class="pa-form-label" for="color-select">Color Select</label>
|
|
127
|
+
<select class="pa-select pa-select--color-1" id="color-select">
|
|
128
|
+
<option>Option 1</option>
|
|
129
|
+
<option>Option 2</option>
|
|
130
|
+
</select>
|
|
131
|
+
</div>
|
|
132
|
+
|
|
133
|
+
<!-- Textarea with color variant -->
|
|
134
|
+
<div class="pa-form-group">
|
|
135
|
+
<label class="pa-form-label" for="color-textarea">Color Textarea</label>
|
|
136
|
+
<textarea class="pa-textarea pa-textarea--color-2" id="color-textarea">Color 2 textarea</textarea>
|
|
90
137
|
</div>
|
|
91
138
|
|
|
92
139
|
|
|
@@ -433,19 +480,27 @@ FORM ELEMENTS:
|
|
|
433
480
|
- .pa-form-group--required: Shows required indicator
|
|
434
481
|
- .pa-form-group--horizontal: Label-left, input-right layout
|
|
435
482
|
- .pa-form-group--success: Success validation state
|
|
483
|
+
- .pa-form-group--warning: Warning validation state
|
|
436
484
|
- .pa-form-group--error: Error validation state
|
|
437
485
|
- .pa-form-label: Form label
|
|
438
486
|
|
|
439
487
|
INPUTS:
|
|
440
488
|
- .pa-input: Text input base class
|
|
441
489
|
- .pa-input--xs, --sm, --lg, --xl: Size variants
|
|
442
|
-
- .pa-input--success, --error: Validation states
|
|
490
|
+
- .pa-input--success, --warning, --error: Validation states
|
|
491
|
+
- .pa-input--color-1 through --color-9: Theme color variants
|
|
443
492
|
|
|
444
493
|
TEXTAREA:
|
|
445
494
|
- .pa-textarea: Textarea element
|
|
495
|
+
- .pa-textarea--xs, --sm, --lg, --xl: Size variants
|
|
496
|
+
- .pa-textarea--success, --warning, --error: Validation states
|
|
497
|
+
- .pa-textarea--color-1 through --color-9: Theme color variants
|
|
446
498
|
|
|
447
499
|
SELECT:
|
|
448
500
|
- .pa-select: Select dropdown
|
|
501
|
+
- .pa-select--xs, --sm, --lg, --xl: Size variants
|
|
502
|
+
- .pa-select--success, --warning, --error: Validation states
|
|
503
|
+
- .pa-select--color-1 through --color-9: Theme color variants
|
|
449
504
|
|
|
450
505
|
CHECKBOXES (custom tri-state):
|
|
451
506
|
- .pa-checkbox: Checkbox wrapper label
|
|
@@ -466,9 +521,11 @@ INPUT GROUPS:
|
|
|
466
521
|
- .pa-input-group__button: Button addon
|
|
467
522
|
|
|
468
523
|
HELP TEXT:
|
|
469
|
-
- .pa-form-
|
|
470
|
-
- .pa-form-
|
|
471
|
-
- .pa-form-
|
|
524
|
+
- .pa-form-help: Help/hint text below inputs
|
|
525
|
+
- .pa-form-help--success: Success message
|
|
526
|
+
- .pa-form-help--warning: Warning message
|
|
527
|
+
- .pa-form-help--error: Error message
|
|
528
|
+
- .pa-form-help--color-1 through --color-9: Theme color variants
|
|
472
529
|
|
|
473
530
|
GRID LAYOUT (for multi-column forms):
|
|
474
531
|
- .pa-row: Row container (flexbox)
|
package/snippets/layout.html
CHANGED
|
@@ -411,7 +411,7 @@
|
|
|
411
411
|
|
|
412
412
|
<!--
|
|
413
413
|
SIDEBAR WIDTH OPTIONS:
|
|
414
|
-
1. Default: Uses CSS variable --pa-sidebar-width (28.8rem)
|
|
414
|
+
1. Default: Uses CSS variable --pa-local-sidebar-width (28.8rem)
|
|
415
415
|
2. Resizable: Add --resizable class, user can drag to resize (180-500px range)
|
|
416
416
|
3. Fixed width: Add wr-* utility class (e.g., wr-20, wr-25, wr-30)
|
|
417
417
|
4. Minimum width: Add minwr-* utility class (e.g., minwr-15, minwr-20)
|
|
@@ -654,7 +654,7 @@ SIDEBAR MODES (modifiers on .pa-layout__sidebar):
|
|
|
654
654
|
- .pa-layout__sidebar--resizable - Drag right edge to resize (opt-in)
|
|
655
655
|
|
|
656
656
|
SIDEBAR WIDTH CONTROL:
|
|
657
|
-
- Default width: 28.8rem (288px) via CSS variable --pa-sidebar-width
|
|
657
|
+
- Default width: 28.8rem (288px) via CSS variable --pa-local-sidebar-width
|
|
658
658
|
- Resizable: Add --resizable class for drag-to-resize (180-500px range)
|
|
659
659
|
- Fixed width: Add .wr-* utility class (e.g., wr-25 = 250px) - overrides resize
|
|
660
660
|
- Min width: Add .minwr-* utility class (e.g., minwr-20) - sets floor for resize
|
|
@@ -692,8 +692,8 @@ JAVASCRIPT:
|
|
|
692
692
|
- Stores state in localStorage for persistence across page loads
|
|
693
693
|
|
|
694
694
|
PROFILE PANEL WIDTH CONTROL:
|
|
695
|
-
- Default width: 20vw via CSS variable --pa-profile-panel-width
|
|
696
|
-
- Default max-width: 48rem (480px) via CSS variable --pa-profile-panel-max-width
|
|
695
|
+
- Default width: 20vw via CSS variable --pa-local-profile-panel-width
|
|
696
|
+
- Default max-width: 48rem (480px) via CSS variable --pa-local-profile-panel-max-width
|
|
697
697
|
- Override with utility classes: Add .wr-* to .pa-profile-panel__content
|
|
698
698
|
- Examples:
|
|
699
699
|
- .wr-30 = fixed 30rem (300px) width
|