@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.
Files changed (77) hide show
  1. package/README.md +85 -7
  2. package/dist/css/main.css +970 -434
  3. package/package.json +1 -1
  4. package/snippets/customization.html +1 -1
  5. package/snippets/forms.html +65 -8
  6. package/snippets/layout.html +4 -4
  7. package/snippets/manifest.json +329 -219
  8. package/snippets/profile.html +51 -3
  9. package/src/scss/_base-css-variables.scss +432 -422
  10. package/src/scss/_core.scss +105 -105
  11. package/src/scss/_fonts.scss +0 -14
  12. package/src/scss/_variables.scss +12 -14
  13. package/src/scss/core-components/_alerts.scss +7 -7
  14. package/src/scss/core-components/_base.scss +3 -3
  15. package/src/scss/core-components/_buttons.scss +425 -425
  16. package/src/scss/core-components/_callouts.scss +139 -139
  17. package/src/scss/core-components/_cards.scss +321 -321
  18. package/src/scss/core-components/_checkbox-lists.scss +2 -2
  19. package/src/scss/core-components/_code.scss +4 -4
  20. package/src/scss/core-components/_command-palette.scss +518 -518
  21. package/src/scss/core-components/_comparison.scss +3 -3
  22. package/src/scss/core-components/_file-selector.scss +780 -780
  23. package/src/scss/core-components/_forms.scss +16 -16
  24. package/src/scss/core-components/_layout.scss +15 -15
  25. package/src/scss/core-components/_lists.scss +7 -7
  26. package/src/scss/core-components/_logic-tree.scss +280 -280
  27. package/src/scss/core-components/_modals.scss +2 -2
  28. package/src/scss/core-components/_notifications.scss +7 -7
  29. package/src/scss/core-components/_pagers.scss +3 -3
  30. package/src/scss/core-components/_popconfirm.scss +1 -1
  31. package/src/scss/core-components/_profile.scss +400 -389
  32. package/src/scss/core-components/_scrollbars.scss +40 -40
  33. package/src/scss/core-components/_settings-panel.scss +5 -5
  34. package/src/scss/core-components/_statistics.scss +6 -6
  35. package/src/scss/core-components/_tables.scss +566 -566
  36. package/src/scss/core-components/_tabs.scss +493 -493
  37. package/src/scss/core-components/_timeline.scss +15 -15
  38. package/src/scss/core-components/_toasts.scss +4 -4
  39. package/src/scss/core-components/_tooltips.scss +8 -8
  40. package/src/scss/core-components/_utilities.scss +11 -30
  41. package/src/scss/core-components/_web-components-theme.scss +294 -294
  42. package/src/scss/core-components/badges/_composite-badge-variants.scss +3 -3
  43. package/src/scss/core-components/badges/_labels.scss +1 -1
  44. package/src/scss/core-components/forms/_checkboxes-radios.scss +2 -2
  45. package/src/scss/core-components/forms/_form-inputs.scss +33 -4
  46. package/src/scss/core-components/forms/_form-layout.scss +2 -2
  47. package/src/scss/core-components/forms/_form-states.scss +27 -1
  48. package/src/scss/core-components/forms/_input-wrapper.scss +1 -1
  49. package/src/scss/core-components/forms/_query-editor.scss +17 -17
  50. package/src/scss/core-components/layout/_layout-container.scss +1 -1
  51. package/src/scss/core-components/layout/_navbar-elements.scss +1 -1
  52. package/src/scss/core-components/layout/_sidebar.scss +5 -5
  53. package/src/scss/utilities.scss +24 -0
  54. package/src/scss/variables/_base.scss +20 -10
  55. package/src/scss/variables/_colors.scss +7 -6
  56. package/src/scss/variables/_components.scss +8 -11
  57. package/src/scss/variables/_index.scss +11 -7
  58. package/src/scss/variables/_spacing.scss +12 -0
  59. package/src/scss/variables/_typography.scss +2 -2
  60. package/dist/fonts/Delivery/Delivery_W_Bd.woff2 +0 -0
  61. package/dist/fonts/Delivery/Delivery_W_BdIt.woff2 +0 -0
  62. package/dist/fonts/Delivery/Delivery_W_CdBlk.woff2 +0 -0
  63. package/dist/fonts/Delivery/Delivery_W_CdLt.woff2 +0 -0
  64. package/dist/fonts/Delivery/Delivery_W_It.woff2 +0 -0
  65. package/dist/fonts/Delivery/Delivery_W_Lt.woff2 +0 -0
  66. package/dist/fonts/Delivery/Delivery_W_LtIt.woff2 +0 -0
  67. package/dist/fonts/Delivery/Delivery_W_Rg.woff2 +0 -0
  68. package/src/scss/themes/_dark-base.scss +0 -207
  69. package/src/scss/themes/audi-light.scss +0 -341
  70. package/src/scss/themes/audi.scss +0 -303
  71. package/src/scss/themes/corporate.scss +0 -229
  72. package/src/scss/themes/dark-blue.scss +0 -165
  73. package/src/scss/themes/dark-green.scss +0 -169
  74. package/src/scss/themes/dark-red.scss +0 -173
  75. package/src/scss/themes/dark.scss +0 -158
  76. package/src/scss/themes/express.scss +0 -294
  77. package/src/scss/themes/minimal.scss +0 -134
@@ -1,105 +1,105 @@
1
- /* Pure Admin Visual Framework - Core Styles */
2
-
3
- // Forward variables so they're available to files that @use this module
4
- @forward 'variables/index';
5
-
6
- /* ========================================
7
- Component Imports
8
- Each component is now in its own file for better maintainability
9
- ======================================== */
10
-
11
- // Base styles and resets
12
- @use 'core-components/base' as *;
13
-
14
- // Scrollbar styling (global)
15
- @use 'core-components/scrollbars' as *;
16
-
17
- // Layout components (header, sidebar, footer, responsive)
18
- @use 'core-components/layout' as *;
19
-
20
- // Grid system and component layouts
21
- @use 'core-components/grid' as *;
22
-
23
- // Card components
24
- @use 'core-components/cards' as *;
25
-
26
- // Tab components
27
- @use 'core-components/tabs' as *;
28
-
29
- // Statistics components
30
- @use 'core-components/statistics' as *;
31
-
32
- // List components
33
- @use 'core-components/lists' as *;
34
-
35
- // Badge components (standard and composite)
36
- @use 'core-components/badges' as *;
37
-
38
- // Button components
39
- @use 'core-components/buttons' as *;
40
-
41
- // Loader animations
42
- @use 'core-components/loaders' as *;
43
-
44
- // Tooltips and popovers
45
- @use 'core-components/tooltips' as *;
46
-
47
- // Alert components
48
- @use 'core-components/alerts' as *;
49
-
50
- // Callout components (documentation-style)
51
- @use 'core-components/callouts' as *;
52
-
53
- // Form elements
54
- @use 'core-components/forms' as *;
55
-
56
- // Web Components Theme Integration (for @keenmate components)
57
- @use 'core-components/web-components-theme' as *;
58
-
59
- // File selector components
60
- @use 'core-components/file-selector' as *;
61
-
62
- // Checkbox lists
63
- @use 'core-components/checkbox-lists' as *;
64
-
65
- // Table components
66
- @use 'core-components/tables' as *;
67
-
68
- // Comparison tables
69
- @use 'core-components/comparison' as *;
70
-
71
- // Code blocks and syntax display
72
- @use 'core-components/code' as *;
73
-
74
- // Pagination and load more
75
- @use 'core-components/pagers' as *;
76
-
77
- // Profile panel
78
- @use 'core-components/profile' as *;
79
-
80
- // Modal windows
81
- @use 'core-components/modals' as *;
82
-
83
- // Toast notifications
84
- @use 'core-components/toasts' as *;
85
-
86
- // Timeline components
87
- @use 'core-components/timeline' as *;
88
-
89
- // Command Palette
90
- @use 'core-components/command-palette' as *;
91
-
92
- // Logic Tree Renderer
93
- @use 'core-components/logic-tree' as *;
94
-
95
- // Notification bell
96
- @use 'core-components/notifications' as *;
97
-
98
- // Popconfirm (anchored confirmation dialogs)
99
- @use 'core-components/popconfirm' as *;
100
-
101
- // Settings Panel
102
- @use 'core-components/settings-panel' as *;
103
-
104
- // Utility classes and helpers
105
- @use 'core-components/utilities' as *;
1
+ /* Pure Admin Visual Framework - Core Styles */
2
+
3
+ // Forward variables so they're available to files that @use this module
4
+ @forward 'variables/index';
5
+
6
+ /* ========================================
7
+ Component Imports
8
+ Each component is now in its own file for better maintainability
9
+ ======================================== */
10
+
11
+ // Base styles and resets
12
+ @use 'core-components/base' as *;
13
+
14
+ // Scrollbar styling (global)
15
+ @use 'core-components/scrollbars' as *;
16
+
17
+ // Layout components (header, sidebar, footer, responsive)
18
+ @use 'core-components/layout' as *;
19
+
20
+ // Grid system and component layouts
21
+ @use 'core-components/grid' as *;
22
+
23
+ // Card components
24
+ @use 'core-components/cards' as *;
25
+
26
+ // Tab components
27
+ @use 'core-components/tabs' as *;
28
+
29
+ // Statistics components
30
+ @use 'core-components/statistics' as *;
31
+
32
+ // List components
33
+ @use 'core-components/lists' as *;
34
+
35
+ // Badge components (standard and composite)
36
+ @use 'core-components/badges' as *;
37
+
38
+ // Button components
39
+ @use 'core-components/buttons' as *;
40
+
41
+ // Loader animations
42
+ @use 'core-components/loaders' as *;
43
+
44
+ // Tooltips and popovers
45
+ @use 'core-components/tooltips' as *;
46
+
47
+ // Alert components
48
+ @use 'core-components/alerts' as *;
49
+
50
+ // Callout components (documentation-style)
51
+ @use 'core-components/callouts' as *;
52
+
53
+ // Form elements
54
+ @use 'core-components/forms' as *;
55
+
56
+ // Web Components Theme Integration (for @keenmate components)
57
+ @use 'core-components/web-components-theme' as *;
58
+
59
+ // File selector components
60
+ @use 'core-components/file-selector' as *;
61
+
62
+ // Checkbox lists
63
+ @use 'core-components/checkbox-lists' as *;
64
+
65
+ // Table components
66
+ @use 'core-components/tables' as *;
67
+
68
+ // Comparison tables
69
+ @use 'core-components/comparison' as *;
70
+
71
+ // Code blocks and syntax display
72
+ @use 'core-components/code' as *;
73
+
74
+ // Pagination and load more
75
+ @use 'core-components/pagers' as *;
76
+
77
+ // Profile panel
78
+ @use 'core-components/profile' as *;
79
+
80
+ // Modal windows
81
+ @use 'core-components/modals' as *;
82
+
83
+ // Toast notifications
84
+ @use 'core-components/toasts' as *;
85
+
86
+ // Timeline components
87
+ @use 'core-components/timeline' as *;
88
+
89
+ // Command Palette
90
+ @use 'core-components/command-palette' as *;
91
+
92
+ // Logic Tree Renderer
93
+ @use 'core-components/logic-tree' as *;
94
+
95
+ // Notification bell
96
+ @use 'core-components/notifications' as *;
97
+
98
+ // Popconfirm (anchored confirmation dialogs)
99
+ @use 'core-components/popconfirm' as *;
100
+
101
+ // Settings Panel
102
+ @use 'core-components/settings-panel' as *;
103
+
104
+ // Utility classes and helpers
105
+ @use 'core-components/utilities' as *;
@@ -2,12 +2,6 @@
2
2
 
3
3
  // Default framework fonts - themes can override these
4
4
 
5
- // Delivery Font (framework default)
6
- @font-face {
7
- font-family: "Delivery";
8
- src: url(/fonts/Delivery/Delivery_W_Rg.woff2) format("woff2");
9
- }
10
-
11
5
  // Font size classes
12
6
  .font-size-small {
13
7
  font-size: 14px;
@@ -53,14 +47,6 @@
53
47
  .font-family-mono {
54
48
  font-family: "Courier New", Courier, monospace;
55
49
 
56
- *, h1, h2, h3, h4, h5, h6, p, div, span, button, input, textarea, select {
57
- font-family: inherit;
58
- }
59
- }
60
-
61
- .font-family-delivery {
62
- font-family: "Delivery", system-ui, sans-serif;
63
-
64
50
  *, h1, h2, h3, h4, h5, h6, p, div, span, button, input, textarea, select {
65
51
  font-family: inherit;
66
52
  }
@@ -1,14 +1,12 @@
1
- /* Pure Admin Visual Framework - SCSS Variables Only */
2
- /* NOTE: 10px rem base - all rem values are now in 10px units (1rem = 10px) */
3
-
4
- // ============================================================================
5
- // BACKWARD COMPATIBILITY AGGREGATOR
6
- // This file re-exports all variables from the modular variables/ directory.
7
- // For new code, prefer importing from variables/ directly:
8
- // @use 'variables' as *;
9
- // or specific modules:
10
- // @use 'variables/colors' as colors;
11
- // @use 'variables/layout' as layout;
12
- // ============================================================================
13
-
14
- @forward 'variables/index';
1
+ /* Pure Admin Visual Framework - SCSS Variables Only */
2
+ /* NOTE: 10px rem base - all rem values are now in 10px units (1rem = 10px) */
3
+
4
+ // ============================================================================
5
+ // BACKWARD COMPATIBILITY AGGREGATOR
6
+ // This file imports all variables from the modular variables/ directory.
7
+ // IMPORTANT: We use @import (not @forward) to ensure variables share the global
8
+ // scope. This allows themes to set $base-* variables BEFORE importing this file,
9
+ // and the !default flags will skip already-defined variables.
10
+ // ============================================================================
11
+
12
+ @import 'variables/index';
@@ -33,8 +33,8 @@
33
33
  }
34
34
 
35
35
  &--secondary {
36
- color: var(--pa-text-secondary);
37
- background-color: color-mix(in srgb, var(--pa-text-secondary) 15%, transparent);
36
+ color: var(--pa-text-color-2);
37
+ background-color: color-mix(in srgb, var(--pa-text-color-2) 15%, transparent);
38
38
  border-color: var(--pa-border-color);
39
39
  }
40
40
 
@@ -64,15 +64,15 @@
64
64
  }
65
65
 
66
66
  &--light {
67
- color: var(--pa-text-primary);
68
- background-color: color-mix(in srgb, var(--pa-text-primary) 5%, transparent);
67
+ color: var(--pa-text-color-1);
68
+ background-color: color-mix(in srgb, var(--pa-text-color-1) 5%, transparent);
69
69
  border-color: var(--pa-border-color);
70
70
  }
71
71
 
72
72
  &--dark {
73
- color: var(--pa-text-primary);
74
- background-color: color-mix(in srgb, var(--pa-text-primary) 5%, transparent);
75
- border-color: color-mix(in srgb, var(--pa-text-primary) 10%, transparent);
73
+ color: var(--pa-text-color-1);
74
+ background-color: color-mix(in srgb, var(--pa-text-color-1) 5%, transparent);
75
+ border-color: color-mix(in srgb, var(--pa-text-color-1) 10%, transparent);
76
76
  }
77
77
 
78
78
  // Outline variants
@@ -83,10 +83,10 @@ figure {
83
83
  body {
84
84
  margin: 0;
85
85
  padding: 0;
86
- font-family: $body-font-family;
86
+ font-family: var(--base-font-family);
87
87
  font-size: 1.6rem; // 16px default text (with 10px rem base)
88
- color: var(--pa-text-primary);
89
- background-color: var(--pa-primary-bg);
88
+ color: var(--pa-text-color-1);
89
+ background-color: var(--pa-main-bg);
90
90
  line-height: $line-height-base;
91
91
  overflow-x: hidden; // Hide horizontal scrollbar when sidebar slides out on mobile
92
92
  overflow-y: scroll; // Always show vertical scrollbar gutter to prevent layout shift