@praxisui/core 10.0.0-rc.8 → 10.0.0-rc.81
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 +508 -13
- package/ai/component-registry.json +649 -373
- package/fesm2022/praxisui-core-micro-visualization.mjs +239 -0
- package/fesm2022/praxisui-core-schema.mjs +3563 -606
- package/fesm2022/praxisui-core.mjs +87868 -42223
- package/package.json +5 -1
- package/theme-bridge.css +268 -9
- package/theming/_micro-visualization.scss +103 -0
- package/theming/_theming.scss +375 -102
- package/theming/index.scss +1 -0
- package/theming/workspace-themes.scss +519 -0
- package/types/praxisui-core-micro-visualization.d.ts +75 -0
- package/types/praxisui-core-schema.d.ts +1152 -169
- package/types/praxisui-core.d.ts +21274 -12587
|
@@ -0,0 +1,519 @@
|
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
Praxis Platform — Executive Workspace Theme Palettes & 3-Tier Gradient Architecture
|
|
3
|
+
|
|
4
|
+
Gradient & Surface Token Hierarchy:
|
|
5
|
+
1. --surface-gradient:
|
|
6
|
+
Expressive ambient/banner surface gradient for low-repetition hero cards
|
|
7
|
+
and executive banners.
|
|
8
|
+
2. --header-surface-gradient:
|
|
9
|
+
Balanced, low-chroma structural header gradient for high-repetition chrome
|
|
10
|
+
(WidgetShell headers, Table Toolbars, Modal/Dialog title bars) to preserve
|
|
11
|
+
visual continuity without chromatic fatigue on multi-widget dashboards.
|
|
12
|
+
3. --table-column-header-bg:
|
|
13
|
+
Solid, horizontally uniform elevated surface for table column headers (<tr>/<th>)
|
|
14
|
+
so adjacent cells never produce vertical gradient "sawtooth" seams.
|
|
15
|
+
4. --command-gradient:
|
|
16
|
+
High-emphasis interactive gradient reserved exclusively for the primary
|
|
17
|
+
Call-to-Action button in a surface.
|
|
18
|
+
========================================================================== */
|
|
19
|
+
$cosmos-action: #066afe;
|
|
20
|
+
|
|
21
|
+
:root[data-theme="classic"] {
|
|
22
|
+
--format-orange: #ad4b15;
|
|
23
|
+
--format-amber: #886009;
|
|
24
|
+
color-scheme: light;
|
|
25
|
+
--overlay: oklch(0.2 0.01 260 / 0.3);
|
|
26
|
+
--background: oklch(1 0 0);
|
|
27
|
+
--foreground: oklch(0.30610771 0.03497958 257.11003942);
|
|
28
|
+
--card: oklch(1 0 0);
|
|
29
|
+
--card-foreground: oklch(0.129 0.042 264.695);
|
|
30
|
+
--popover: oklch(1 0 0);
|
|
31
|
+
--popover-foreground: oklch(0.129 0.042 264.695);
|
|
32
|
+
--primary: oklch(0.54614972 0.21520775 262.88091714);
|
|
33
|
+
--primary-deep: oklch(0.48819831 0.21716546 264.37630409);
|
|
34
|
+
--primary-foreground: oklch(1 0 0);
|
|
35
|
+
--secondary: oklch(0.968 0.007 247.896);
|
|
36
|
+
--secondary-foreground: oklch(0.208 0.042 265.755);
|
|
37
|
+
--muted: oklch(0.968 0.007 247.896);
|
|
38
|
+
--muted-foreground: oklch(0.52 0.028 257);
|
|
39
|
+
--accent: oklch(0.968 0.007 247.896);
|
|
40
|
+
--accent-foreground: oklch(0.208 0.042 265.755);
|
|
41
|
+
--destructive: oklch(0.577 0.245 27.325);
|
|
42
|
+
--destructive-foreground: oklch(0.984 0.003 247.858);
|
|
43
|
+
--border: oklch(0.917 0.01 257);
|
|
44
|
+
--input: oklch(0.88 0.008 260);
|
|
45
|
+
--ring: var(--primary);
|
|
46
|
+
--canvas: oklch(0.97817619 0.00341787 247.85782574);
|
|
47
|
+
--workspace-surface: var(--background);
|
|
48
|
+
--category-teal: oklch(0.57852931 0.09591004 196.66336446);
|
|
49
|
+
--category-sky: oklch(0.52 0.12 230);
|
|
50
|
+
--category-violet: oklch(0.53 0.16 294);
|
|
51
|
+
--category-indigo: oklch(0.5 0.15 275);
|
|
52
|
+
--category-event: oklch(0.53 0.15 330);
|
|
53
|
+
--state-success: oklch(0.49 0.08 150);
|
|
54
|
+
--state-warning: oklch(0.56 0.12 77);
|
|
55
|
+
--node-shadow: 0 3px 8px oklch(0.30610771 0.03497958 257.11003942 / 0.05);
|
|
56
|
+
--float-shadow: 0 8px 24px oklch(0.30610771 0.03497958 257.11003942 / 0.09);
|
|
57
|
+
--command-gradient: linear-gradient(135deg, var(--primary), var(--primary-deep));
|
|
58
|
+
--surface-gradient: linear-gradient(100deg, var(--background), var(--canvas));
|
|
59
|
+
--header-surface-gradient: linear-gradient(180deg, oklch(0.996 0.002 257) 0%, oklch(0.978 0.005 257) 100%);
|
|
60
|
+
--table-column-header-bg: oklch(0.968 0.007 257);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
:root[data-theme="light-tech"] {
|
|
64
|
+
--format-orange: #ad4b15;
|
|
65
|
+
--format-amber: #886009;
|
|
66
|
+
color-scheme: light;
|
|
67
|
+
--overlay: oklch(0.2 0.01 260 / 0.3);
|
|
68
|
+
--background: oklch(0.994 0.003 240);
|
|
69
|
+
--foreground: oklch(0.28 0.035 245);
|
|
70
|
+
--card: oklch(1 0 0);
|
|
71
|
+
--card-foreground: var(--foreground);
|
|
72
|
+
--popover: oklch(1 0 0);
|
|
73
|
+
--popover-foreground: var(--foreground);
|
|
74
|
+
--primary: oklch(0.45 0.092 232);
|
|
75
|
+
--primary-deep: oklch(0.39 0.095 243);
|
|
76
|
+
--primary-foreground: oklch(1 0 0);
|
|
77
|
+
--secondary: oklch(0.954 0.016 240);
|
|
78
|
+
--secondary-foreground: var(--foreground);
|
|
79
|
+
--muted: oklch(0.958 0.01 240);
|
|
80
|
+
--muted-foreground: oklch(0.49 0.027 245);
|
|
81
|
+
--accent: oklch(0.939 0.022 230);
|
|
82
|
+
--accent-foreground: var(--primary);
|
|
83
|
+
--destructive: oklch(0.577 0.245 27.325);
|
|
84
|
+
--destructive-foreground: oklch(0.984 0.003 247.858);
|
|
85
|
+
--border: oklch(0.884 0.018 240);
|
|
86
|
+
--input: oklch(0.75 0.023 240);
|
|
87
|
+
--ring: var(--primary);
|
|
88
|
+
--canvas: oklch(0.96 0.013 240);
|
|
89
|
+
--workspace-surface: oklch(0.982 0.008 240);
|
|
90
|
+
--category-teal: oklch(0.46 0.085 195);
|
|
91
|
+
--category-sky: oklch(0.46 0.115 233);
|
|
92
|
+
--category-violet: oklch(0.48 0.16 295);
|
|
93
|
+
--category-indigo: oklch(0.46 0.14 274);
|
|
94
|
+
--category-event: oklch(0.46 0.13 333);
|
|
95
|
+
--state-success: oklch(0.44 0.09 163);
|
|
96
|
+
--state-warning: oklch(0.49 0.105 65);
|
|
97
|
+
--node-shadow: 0 2px 3px oklch(0.28 0.035 245 / 0.04), 0 8px 18px oklch(0.28 0.035 245 / 0.045);
|
|
98
|
+
--float-shadow: 0 8px 30px oklch(0.28 0.035 245 / 0.12);
|
|
99
|
+
--command-gradient: linear-gradient(135deg, var(--primary), var(--primary-deep));
|
|
100
|
+
--surface-gradient: linear-gradient(120deg, var(--card), var(--workspace-surface));
|
|
101
|
+
--header-surface-gradient: linear-gradient(120deg, var(--card), var(--workspace-surface));
|
|
102
|
+
--table-column-header-bg: oklch(0.966 0.011 240);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
:root[data-theme="dark-tech"] {
|
|
106
|
+
--format-orange: #ffae79;
|
|
107
|
+
--format-amber: #e9c76a;
|
|
108
|
+
color-scheme: dark;
|
|
109
|
+
--overlay: oklch(0.1 0.012 250 / 0.7);
|
|
110
|
+
--background: oklch(0.215 0.019 250);
|
|
111
|
+
--foreground: oklch(0.945 0.009 235);
|
|
112
|
+
--card: oklch(0.255 0.022 250);
|
|
113
|
+
--card-foreground: var(--foreground);
|
|
114
|
+
--popover: oklch(0.29 0.025 250);
|
|
115
|
+
--popover-foreground: var(--foreground);
|
|
116
|
+
--primary: oklch(0.8 0.1 220);
|
|
117
|
+
--primary-deep: oklch(0.75 0.11 235);
|
|
118
|
+
--primary-foreground: oklch(0.2 0.03 250);
|
|
119
|
+
--secondary: oklch(0.31 0.025 250);
|
|
120
|
+
--secondary-foreground: var(--foreground);
|
|
121
|
+
--muted: oklch(0.28 0.019 250);
|
|
122
|
+
--muted-foreground: oklch(0.755 0.025 245);
|
|
123
|
+
--accent: oklch(0.33 0.037 240);
|
|
124
|
+
--accent-foreground: var(--foreground);
|
|
125
|
+
--destructive: oklch(0.75 0.14 25);
|
|
126
|
+
--destructive-foreground: oklch(0.2 0.035 25);
|
|
127
|
+
--border: oklch(0.385 0.025 250);
|
|
128
|
+
--input: oklch(0.48 0.03 250);
|
|
129
|
+
--ring: var(--primary);
|
|
130
|
+
--canvas: oklch(0.18 0.015 250);
|
|
131
|
+
--workspace-surface: oklch(0.255 0.02 250);
|
|
132
|
+
--category-teal: oklch(0.8 0.105 190);
|
|
133
|
+
--category-sky: oklch(0.81 0.105 233);
|
|
134
|
+
--category-violet: oklch(0.8 0.115 295);
|
|
135
|
+
--category-indigo: oklch(0.79 0.105 274);
|
|
136
|
+
--category-event: oklch(0.8 0.115 333);
|
|
137
|
+
--state-success: oklch(0.79 0.12 162);
|
|
138
|
+
--state-warning: oklch(0.83 0.13 80);
|
|
139
|
+
--node-shadow: 0 2px 5px oklch(0.1 0.012 250 / 0.3), 0 8px 20px oklch(0.1 0.012 250 / 0.18);
|
|
140
|
+
--float-shadow: 0 12px 40px oklch(0.1 0.012 250 / 0.45);
|
|
141
|
+
--command-gradient: linear-gradient(125deg, oklch(0.84 0.11 205), oklch(0.77 0.125 252));
|
|
142
|
+
--surface-gradient: linear-gradient(
|
|
143
|
+
112deg,
|
|
144
|
+
oklch(0.285 0.052 242),
|
|
145
|
+
oklch(0.25 0.045 270) 58%,
|
|
146
|
+
oklch(0.265 0.043 295)
|
|
147
|
+
);
|
|
148
|
+
--header-surface-gradient: linear-gradient(
|
|
149
|
+
115deg,
|
|
150
|
+
oklch(0.272 0.024 245) 0%,
|
|
151
|
+
oklch(0.252 0.021 252) 58%,
|
|
152
|
+
oklch(0.258 0.022 262) 100%
|
|
153
|
+
);
|
|
154
|
+
--table-column-header-bg: oklch(0.232 0.019 250);
|
|
155
|
+
--dark-panel-gradient: linear-gradient(
|
|
156
|
+
155deg,
|
|
157
|
+
oklch(0.29 0.037 247),
|
|
158
|
+
var(--workspace-surface) 45%,
|
|
159
|
+
oklch(0.255 0.031 280)
|
|
160
|
+
);
|
|
161
|
+
--dark-canvas-gradient: radial-gradient(ellipse at 8% 0%, oklch(0.26 0.045 238 / 0.65), transparent 55%),
|
|
162
|
+
radial-gradient(ellipse at 100% 100%, oklch(0.25 0.04 285 / 0.45), transparent 60%);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
:root {
|
|
166
|
+
--workspace-card-surface: var(--dark-panel-gradient, linear-gradient(var(--card), var(--card)));
|
|
167
|
+
--workspace-card-outline: linear-gradient(
|
|
168
|
+
135deg,
|
|
169
|
+
color-mix(in oklab, var(--primary) 42%, var(--border)),
|
|
170
|
+
var(--border) 56%,
|
|
171
|
+
color-mix(in oklab, var(--primary) 18%, var(--border))
|
|
172
|
+
);
|
|
173
|
+
--workspace-card-outline-hover: linear-gradient(
|
|
174
|
+
135deg,
|
|
175
|
+
color-mix(in oklab, var(--primary) 75%, var(--border)),
|
|
176
|
+
var(--border) 56%,
|
|
177
|
+
color-mix(in oklab, var(--primary) 38%, var(--border))
|
|
178
|
+
);
|
|
179
|
+
--workspace-card-frame: var(--workspace-card-surface) padding-box,
|
|
180
|
+
var(--workspace-card-outline) border-box;
|
|
181
|
+
--font-sans: 'Source Sans 3', 'IBM Plex Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
182
|
+
--font-display: var(--font-sans);
|
|
183
|
+
--font-mono: 'JetBrains Mono', monospace;
|
|
184
|
+
--radius: 0.625rem;
|
|
185
|
+
--radius-sm: 6px;
|
|
186
|
+
--radius-md: 8px;
|
|
187
|
+
--radius-lg: 10px;
|
|
188
|
+
--radius-xl: 14px;
|
|
189
|
+
--radius-2xl: 18px;
|
|
190
|
+
--command-gradient: linear-gradient(135deg, var(--primary), var(--primary-deep, var(--primary)));
|
|
191
|
+
--surface-gradient: linear-gradient(120deg, var(--card), var(--workspace-surface, var(--background)));
|
|
192
|
+
--header-surface-gradient: var(--surface-gradient);
|
|
193
|
+
--table-column-header-bg: var(--muted);
|
|
194
|
+
--sidebar: var(--workspace-surface);
|
|
195
|
+
--sidebar-foreground: var(--foreground);
|
|
196
|
+
--sidebar-primary: var(--primary);
|
|
197
|
+
--sidebar-primary-foreground: var(--primary-foreground);
|
|
198
|
+
--sidebar-accent: var(--accent);
|
|
199
|
+
--sidebar-accent-foreground: var(--accent-foreground);
|
|
200
|
+
--sidebar-border: var(--border);
|
|
201
|
+
--ready: var(--state-success, oklch(0.45 0.1 163));
|
|
202
|
+
--warning: var(--state-warning, oklch(0.49 0.105 65));
|
|
203
|
+
--alert: var(--destructive);
|
|
204
|
+
--rh: var(--category-sky);
|
|
205
|
+
--operations: var(--warning);
|
|
206
|
+
--assets: var(--ready);
|
|
207
|
+
--supplies: var(--category-violet);
|
|
208
|
+
--risk: var(--destructive);
|
|
209
|
+
--cobalt: var(--category-indigo);
|
|
210
|
+
--command: var(--popover);
|
|
211
|
+
--command-foreground: var(--popover-foreground);
|
|
212
|
+
--shadow-panel: var(--node-shadow, 0 2px 8px oklch(0.3 0.03 245 / 0.08));
|
|
213
|
+
--shadow-command: var(--float-shadow, 0 8px 30px oklch(0.3 0.03 245 / 0.12));
|
|
214
|
+
--pdx-loading-overlay-bg: color-mix(in oklab, var(--card) 85%, transparent);
|
|
215
|
+
--pdx-loading-text: var(--foreground);
|
|
216
|
+
--pdx-loading-text-shadow: none;
|
|
217
|
+
--pdx-loading-spinner-track: color-mix(in oklab, var(--primary) 20%, transparent);
|
|
218
|
+
--pdx-loading-spinner-accent: var(--primary);
|
|
219
|
+
--pdx-loading-topbar-gradient: var(--command-gradient);
|
|
220
|
+
--pdx-loading-topbar-height: 3px;
|
|
221
|
+
--pdx-loading-topbar-text: var(--muted-foreground);
|
|
222
|
+
--pdx-loading-inline-bg: var(--card);
|
|
223
|
+
--pdx-loading-inline-border: 1px solid var(--border);
|
|
224
|
+
--praxis-layer-loading-blocking: 99999;
|
|
225
|
+
--praxis-layer-loading-inline: 120;
|
|
226
|
+
--prx-micro-tone-info: var(--category-sky);
|
|
227
|
+
--prx-micro-tone-info-text: var(--category-sky);
|
|
228
|
+
--prx-micro-tone-success: var(--ready);
|
|
229
|
+
--prx-micro-tone-success-text: var(--ready);
|
|
230
|
+
--prx-micro-tone-warning: var(--warning);
|
|
231
|
+
--prx-micro-tone-warning-text: var(--warning);
|
|
232
|
+
--prx-micro-tone-danger: var(--alert);
|
|
233
|
+
--prx-micro-tone-danger-text: var(--alert);
|
|
234
|
+
--prx-micro-track-color: var(--muted);
|
|
235
|
+
--prx-micro-text-color: var(--foreground);
|
|
236
|
+
--prx-micro-label-color: var(--muted-foreground);
|
|
237
|
+
--prx-micro-target-color: var(--foreground);
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/* Brasa — warm editorial amber and parchment day palette. */
|
|
241
|
+
:root[data-theme="brasa"] {
|
|
242
|
+
color-scheme: light;
|
|
243
|
+
--overlay: rgb(52 40 30 / 28%);
|
|
244
|
+
--background: #f4efe7;
|
|
245
|
+
--foreground: #282a29;
|
|
246
|
+
--card: #fcf9f4;
|
|
247
|
+
--card-foreground: var(--foreground);
|
|
248
|
+
--popover: #fcf9f4;
|
|
249
|
+
--popover-foreground: var(--foreground);
|
|
250
|
+
--primary: #a4472f;
|
|
251
|
+
--primary-deep: #8e3b28;
|
|
252
|
+
--primary-foreground: #ffffff;
|
|
253
|
+
--secondary: #ebe4da;
|
|
254
|
+
--secondary-foreground: var(--foreground);
|
|
255
|
+
--muted: #ebe4da;
|
|
256
|
+
--muted-foreground: #68635d;
|
|
257
|
+
--accent: #f2d0bb;
|
|
258
|
+
--accent-foreground: var(--foreground);
|
|
259
|
+
--destructive: #a33335;
|
|
260
|
+
--destructive-foreground: #ffffff;
|
|
261
|
+
--border: #d9d0c4;
|
|
262
|
+
--input: #887c6c;
|
|
263
|
+
--ring: var(--primary);
|
|
264
|
+
--canvas: #f4efe7;
|
|
265
|
+
--workspace-surface: #fcf9f4;
|
|
266
|
+
--sidebar: var(--card);
|
|
267
|
+
--sidebar-accent-foreground: var(--foreground);
|
|
268
|
+
--category-teal: #3f634a;
|
|
269
|
+
--category-sky: #41677b;
|
|
270
|
+
--category-violet: #6b527b;
|
|
271
|
+
--category-indigo: #4f5b7b;
|
|
272
|
+
--category-event: #a74d74;
|
|
273
|
+
--state-success: #3f634a;
|
|
274
|
+
--state-warning: #78520d;
|
|
275
|
+
--format-orange: #a4472f;
|
|
276
|
+
--format-amber: #78520d;
|
|
277
|
+
--node-shadow: 0 5px 10px rgb(89 67 42 / 3%), 0 17px 35px rgb(89 67 42 / 3%);
|
|
278
|
+
--float-shadow: 0 12px 32px rgb(89 67 42 / 14%);
|
|
279
|
+
--command-gradient: linear-gradient(150deg, var(--primary), var(--primary-deep));
|
|
280
|
+
--surface-gradient: linear-gradient(120deg, var(--card), var(--background));
|
|
281
|
+
--header-surface-gradient: linear-gradient(var(--card), var(--card));
|
|
282
|
+
--table-column-header-bg: var(--muted);
|
|
283
|
+
--font-sans: 'Source Sans 3', 'IBM Plex Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
284
|
+
--font-display: 'Source Sans 3', 'IBM Plex Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
285
|
+
--hero-reading-font: var(--font-sans);
|
|
286
|
+
--hero-small-text: 12px;
|
|
287
|
+
--hero-strong-weight: 600;
|
|
288
|
+
--radius-lg: 12px;
|
|
289
|
+
--radius-xl: 14px;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
/* Aura — spatial frosted pearl-iris glass over an organic chromatic mesh backlight harmonized
|
|
293
|
+
with a royal ultramarine (#2a2991) + aqua-lagoon + soft orchid & pearl-sage palette,
|
|
294
|
+
tactile grain, specular 1px light edges, and Newsreader editorial display.
|
|
295
|
+
Calibrated to WCAG 2.1 AA across both opaque fallbacks and alpha-composited glass. */
|
|
296
|
+
:root[data-theme="aura"] {
|
|
297
|
+
color-scheme: light;
|
|
298
|
+
--overlay: rgb(18 20 58 / 30%);
|
|
299
|
+
--background: #e9ecf7;
|
|
300
|
+
--canvas: #e1e6f4;
|
|
301
|
+
--workspace-surface: #f2f4fc;
|
|
302
|
+
--foreground: #1d2045;
|
|
303
|
+
--workspace-title: #131340;
|
|
304
|
+
--card: #f7f8fd;
|
|
305
|
+
--card-foreground: var(--foreground);
|
|
306
|
+
--popover: #fafbff;
|
|
307
|
+
--popover-foreground: var(--foreground);
|
|
308
|
+
--primary: #2a2991;
|
|
309
|
+
--primary-deep: #1e1d6e;
|
|
310
|
+
--primary-foreground: #f8f9ff;
|
|
311
|
+
--secondary: #e7eaf7;
|
|
312
|
+
--secondary-foreground: var(--foreground);
|
|
313
|
+
--muted: #e7eaf7;
|
|
314
|
+
--muted-foreground: #484d72;
|
|
315
|
+
--accent: #dfe4fa;
|
|
316
|
+
--accent-foreground: var(--workspace-title);
|
|
317
|
+
--destructive: #a32a3c;
|
|
318
|
+
--destructive-foreground: #ffffff;
|
|
319
|
+
--workspace-error-surface: rgb(253 228 234 / 84%);
|
|
320
|
+
--workspace-success-surface: rgb(220 244 236 / 84%);
|
|
321
|
+
--workspace-warning-surface: rgb(250 239 214 / 86%);
|
|
322
|
+
--border: rgb(74 82 138 / 18%);
|
|
323
|
+
--workspace-chrome-divider: 1px solid rgb(255 255 255 / 66%);
|
|
324
|
+
--input: #5a608a;
|
|
325
|
+
--ring: var(--primary);
|
|
326
|
+
--sidebar: linear-gradient(180deg, rgb(255 255 255 / 32%) 0%, rgb(242 245 255 / 14%) 100%);
|
|
327
|
+
--sidebar-foreground: var(--foreground);
|
|
328
|
+
--sidebar-primary: var(--primary);
|
|
329
|
+
--sidebar-primary-foreground: var(--primary-foreground);
|
|
330
|
+
--sidebar-accent: rgb(255 255 255 / 56%);
|
|
331
|
+
--sidebar-accent-foreground: var(--workspace-title);
|
|
332
|
+
--sidebar-border: rgb(255 255 255 / 68%);
|
|
333
|
+
--category-teal: #166570;
|
|
334
|
+
--category-sky: #1b5e91;
|
|
335
|
+
--category-violet: #583b8a;
|
|
336
|
+
--category-indigo: #2a2991;
|
|
337
|
+
--category-event: #843668;
|
|
338
|
+
--state-success: #1b654c;
|
|
339
|
+
--state-warning: #7c5310;
|
|
340
|
+
--format-orange: #8c481c;
|
|
341
|
+
--format-amber: #7c5310;
|
|
342
|
+
--aura-specular-border: 1px solid rgb(255 255 255 / 88%);
|
|
343
|
+
--aura-specular-border-subtle: 1px solid rgb(255 255 255 / 70%);
|
|
344
|
+
--aura-specular-highlight: inset 0 1px 0 rgb(255 255 255 / 96%), inset 1px 0 0 rgb(255 255 255 / 50%);
|
|
345
|
+
--aura-glass-card-bg: linear-gradient(155deg, rgb(255 255 255 / 76%) 0%, rgb(244 246 253 / 60%) 100%);
|
|
346
|
+
--aura-glass-elevated-bg: linear-gradient(145deg, rgb(255 255 255 / 90%) 0%, rgb(245 247 254 / 76%) 100%);
|
|
347
|
+
--aura-glass-overlay-bg: linear-gradient(155deg, rgb(250 251 255 / 86%) 0%, rgb(239 243 252 / 76%) 100%);
|
|
348
|
+
--aura-noise-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.85'/%3E%3C/svg%3E");
|
|
349
|
+
--aura-mesh-gradient:
|
|
350
|
+
radial-gradient(ellipse 62% 54% at 8% 96%, rgb(104 202 214 / 72%) 0%, rgb(142 216 212 / 34%) 46%, transparent 76%),
|
|
351
|
+
radial-gradient(ellipse 50% 46% at 38% 100%, rgb(212 220 176 / 54%) 0%, rgb(198 220 194 / 24%) 48%, transparent 76%),
|
|
352
|
+
radial-gradient(ellipse 56% 58% at 95% 80%, rgb(196 162 232 / 68%) 0%, rgb(210 176 228 / 30%) 48%, transparent 78%),
|
|
353
|
+
radial-gradient(ellipse 64% 52% at 88% 12%, rgb(166 196 244 / 74%) 0%, rgb(186 208 246 / 36%) 48%, transparent 78%),
|
|
354
|
+
radial-gradient(ellipse 58% 50% at 14% 8%, rgb(156 166 242 / 74%) 0%, rgb(178 188 246 / 32%) 50%, transparent 76%),
|
|
355
|
+
linear-gradient(145deg, #d7def4 0%, #e7eaf7 50%, #dcebe9 100%);
|
|
356
|
+
--node-shadow:
|
|
357
|
+
inset 0 1px 0 rgb(255 255 255 / 95%),
|
|
358
|
+
inset 1px 0 0 rgb(255 255 255 / 48%),
|
|
359
|
+
0 16px 38px -16px rgb(24 26 78 / 12%),
|
|
360
|
+
0 4px 12px -2px rgb(24 26 78 / 5%);
|
|
361
|
+
--float-shadow:
|
|
362
|
+
inset 0 1px 0 rgb(255 255 255 / 96%),
|
|
363
|
+
0 26px 60px -16px rgb(20 22 68 / 22%),
|
|
364
|
+
0 8px 20px -4px rgb(20 22 68 / 9%);
|
|
365
|
+
--command-gradient: linear-gradient(135deg, #4147bd 0%, #2a2991 54%, #1d1c6b 100%);
|
|
366
|
+
--command-shadow: 0 10px 24px -6px rgb(42 41 145 / 34%), inset 0 1px 0 rgb(244 246 255 / 44%);
|
|
367
|
+
--command-hover-shadow: 0 14px 28px -6px rgb(30 29 110 / 42%), inset 0 1px 0 rgb(244 246 255 / 54%);
|
|
368
|
+
--surface-gradient: var(--aura-glass-card-bg);
|
|
369
|
+
--header-surface-gradient: linear-gradient(180deg, rgb(255 255 255 / 60%) 0%, rgb(242 245 253 / 40%) 100%);
|
|
370
|
+
--table-column-header-bg: rgb(236 240 251 / 66%);
|
|
371
|
+
--dark-canvas-gradient: var(--aura-mesh-gradient);
|
|
372
|
+
--workspace-card-surface: var(--aura-glass-card-bg);
|
|
373
|
+
--workspace-card-outline: linear-gradient(
|
|
374
|
+
145deg,
|
|
375
|
+
rgb(255 255 255 / 96%) 0%,
|
|
376
|
+
rgb(255 255 255 / 74%) 52%,
|
|
377
|
+
rgb(236 241 255 / 86%) 100%
|
|
378
|
+
);
|
|
379
|
+
--workspace-card-outline-hover: linear-gradient(
|
|
380
|
+
145deg,
|
|
381
|
+
#ffffff 0%,
|
|
382
|
+
rgb(246 248 255 / 88%) 48%,
|
|
383
|
+
rgb(112 122 218 / 72%) 100%
|
|
384
|
+
);
|
|
385
|
+
--font-sans: 'Plus Jakarta Sans', 'Source Sans 3', 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
386
|
+
--font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
|
|
387
|
+
--hero-reading-font: var(--font-sans);
|
|
388
|
+
--hero-small-text: 12px;
|
|
389
|
+
--hero-strong-weight: 500;
|
|
390
|
+
--hero-emphasis-weight: 600;
|
|
391
|
+
--hero-label-tracking: 0.08em;
|
|
392
|
+
--radius: 0.9375rem;
|
|
393
|
+
--radius-sm: 9px;
|
|
394
|
+
--radius-md: 12px;
|
|
395
|
+
--radius-lg: 16px;
|
|
396
|
+
--radius-xl: 20px;
|
|
397
|
+
--radius-2xl: 26px;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
/* Azul Cosmos — structured enterprise daylight palette. */
|
|
401
|
+
:root[data-theme="azul-cosmos"] {
|
|
402
|
+
color-scheme: light;
|
|
403
|
+
--overlay: rgb(0 22 66 / 28%);
|
|
404
|
+
--background: #f3f3f3;
|
|
405
|
+
--foreground: #181818;
|
|
406
|
+
--workspace-title: #001642;
|
|
407
|
+
--card: #ffffff;
|
|
408
|
+
--card-foreground: var(--foreground);
|
|
409
|
+
--popover: var(--card);
|
|
410
|
+
--popover-foreground: var(--foreground);
|
|
411
|
+
--primary: #0250d9;
|
|
412
|
+
--primary-deep: #022ac0;
|
|
413
|
+
--primary-foreground: #ffffff;
|
|
414
|
+
--secondary: var(--background);
|
|
415
|
+
--secondary-foreground: var(--foreground);
|
|
416
|
+
--muted: var(--background);
|
|
417
|
+
--muted-foreground: #5c5c5c;
|
|
418
|
+
--accent: #edf4ff;
|
|
419
|
+
--accent-foreground: var(--primary);
|
|
420
|
+
--destructive: #b60554;
|
|
421
|
+
--destructive-foreground: #ffffff;
|
|
422
|
+
--workspace-error-surface: #fddde3;
|
|
423
|
+
--workspace-success-surface: #acf3e4;
|
|
424
|
+
--workspace-warning-surface: #f9e3b6;
|
|
425
|
+
--border: #c9c9c9;
|
|
426
|
+
--workspace-chrome-divider: 1px solid var(--border);
|
|
427
|
+
--input: #757575;
|
|
428
|
+
--ring: #{$cosmos-action};
|
|
429
|
+
--canvas: var(--background);
|
|
430
|
+
--workspace-surface: var(--card);
|
|
431
|
+
--category-teal: var(--ready);
|
|
432
|
+
--category-sky: #0b5cab;
|
|
433
|
+
--category-violet: #5a1ba9;
|
|
434
|
+
--category-indigo: var(--primary);
|
|
435
|
+
--category-event: var(--destructive);
|
|
436
|
+
--state-success: #056764;
|
|
437
|
+
--state-warning: #8c4b02;
|
|
438
|
+
--format-orange: var(--warning);
|
|
439
|
+
--format-amber: var(--warning);
|
|
440
|
+
--node-shadow: none;
|
|
441
|
+
--float-shadow: 0 8px 24px rgb(0 22 66 / 13%);
|
|
442
|
+
--command-gradient: #{$cosmos-action};
|
|
443
|
+
--command-hover-background: var(--primary);
|
|
444
|
+
--command-shadow: none;
|
|
445
|
+
--command-hover-shadow: none;
|
|
446
|
+
--command-hover-filter: none;
|
|
447
|
+
--command-hover-transform: none;
|
|
448
|
+
--surface-gradient: var(--card);
|
|
449
|
+
--table-column-header-bg: var(--background);
|
|
450
|
+
--font-sans: system-ui, 'Segoe UI', sans-serif;
|
|
451
|
+
--hero-reading-font: var(--font-sans);
|
|
452
|
+
--hero-small-text: 12px;
|
|
453
|
+
--hero-strong-weight: 600;
|
|
454
|
+
--hero-emphasis-weight: 600;
|
|
455
|
+
--hero-label-tracking: normal;
|
|
456
|
+
--radius: 8px;
|
|
457
|
+
--radius-sm: 4px;
|
|
458
|
+
--radius-lg: 12px;
|
|
459
|
+
--radius-xl: 12px;
|
|
460
|
+
--radius-2xl: 20px;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
/* Insígnia — navy sidebar & warm parchment enterprise palette. */
|
|
464
|
+
:root[data-theme="insignia"] {
|
|
465
|
+
color-scheme: light;
|
|
466
|
+
--overlay: rgb(13 27 42 / 35%);
|
|
467
|
+
--background: #f9f7f1;
|
|
468
|
+
--foreground: #0d1b2a;
|
|
469
|
+
--card: #f9f7f1;
|
|
470
|
+
--card-foreground: var(--foreground);
|
|
471
|
+
--popover: #f9f7f1;
|
|
472
|
+
--popover-foreground: var(--foreground);
|
|
473
|
+
--primary: #0d1b2a;
|
|
474
|
+
--primary-deep: #415a77;
|
|
475
|
+
--primary-foreground: #f9f7f1;
|
|
476
|
+
--secondary: #e6dcc6;
|
|
477
|
+
--secondary-foreground: var(--foreground);
|
|
478
|
+
--muted: #e6dcc6;
|
|
479
|
+
--muted-foreground: #415a77;
|
|
480
|
+
--accent: #e6dcc6;
|
|
481
|
+
--accent-foreground: var(--foreground);
|
|
482
|
+
--destructive: #a33335;
|
|
483
|
+
--destructive-foreground: #ffffff;
|
|
484
|
+
--border: #d2cbbd;
|
|
485
|
+
--input: #415a77;
|
|
486
|
+
--ring: #415a77;
|
|
487
|
+
--canvas: #f9f7f1;
|
|
488
|
+
--workspace-surface: #f9f7f1;
|
|
489
|
+
--sidebar: #0d1b2a;
|
|
490
|
+
--sidebar-foreground: #f9f7f1;
|
|
491
|
+
--sidebar-primary: #e6dcc6;
|
|
492
|
+
--sidebar-primary-foreground: #0d1b2a;
|
|
493
|
+
--sidebar-accent: #b8860b;
|
|
494
|
+
--sidebar-accent-foreground: #0d1b2a;
|
|
495
|
+
--sidebar-border: #415a77;
|
|
496
|
+
--category-teal: #3f634a;
|
|
497
|
+
--category-sky: #415a77;
|
|
498
|
+
--category-violet: #6b527b;
|
|
499
|
+
--category-indigo: #415a77;
|
|
500
|
+
--category-event: #954363;
|
|
501
|
+
--state-success: #3f634a;
|
|
502
|
+
--state-warning: #78520d;
|
|
503
|
+
--format-orange: #8a4b14;
|
|
504
|
+
--format-amber: #78520d;
|
|
505
|
+
--node-shadow: 0 3px 12px rgb(13 27 42 / 4%);
|
|
506
|
+
--float-shadow: 0 10px 28px rgb(13 27 42 / 14%);
|
|
507
|
+
--command-gradient: linear-gradient(#415a77, #415a77);
|
|
508
|
+
--hero-command-foreground: #f9f7f1;
|
|
509
|
+
--surface-gradient: linear-gradient(var(--card), var(--card));
|
|
510
|
+
--header-surface-gradient: linear-gradient(var(--card), var(--card));
|
|
511
|
+
--table-column-header-bg: var(--muted);
|
|
512
|
+
--font-sans: 'Source Sans 3', 'IBM Plex Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
513
|
+
--font-display: 'Source Sans 3', 'IBM Plex Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
514
|
+
--hero-reading-font: var(--font-sans);
|
|
515
|
+
--hero-small-text: 12px;
|
|
516
|
+
--hero-strong-weight: 600;
|
|
517
|
+
--radius-lg: 12px;
|
|
518
|
+
--radius-xl: 14px;
|
|
519
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as _praxisui_core from '@praxisui/core';
|
|
2
|
+
import { PraxisPresentationVisualizationConfig, PraxisMicroVisualizationSegmentActivateEvent, PraxisKpiResolvedViewModel } from '@praxisui/core';
|
|
3
|
+
import * as _angular_core from '@angular/core';
|
|
4
|
+
|
|
5
|
+
declare class PraxisMicroVisualizationComponent {
|
|
6
|
+
private readonly chartEngine;
|
|
7
|
+
private readonly vizHost;
|
|
8
|
+
visualizationInput: _angular_core.InputSignal<PraxisPresentationVisualizationConfig | null>;
|
|
9
|
+
fallbackInput: _angular_core.InputSignal<string>;
|
|
10
|
+
interactiveContainer: _angular_core.InputSignal<boolean>;
|
|
11
|
+
formatValue: _angular_core.InputSignal<((value: number, compactValue?: boolean) => string) | null | undefined>;
|
|
12
|
+
locale: _angular_core.InputSignal<string | null | undefined>;
|
|
13
|
+
idPrefix: _angular_core.InputSignal<string | null | undefined>;
|
|
14
|
+
disableTooltip: _angular_core.InputSignal<boolean>;
|
|
15
|
+
readonly segmentActivate: _angular_core.OutputEmitterRef<PraxisMicroVisualizationSegmentActivateEvent>;
|
|
16
|
+
private readonly normalized;
|
|
17
|
+
readonly kind: _angular_core.Signal<_praxisui_core.PraxisPresentationVisualizationKind | "fallback">;
|
|
18
|
+
readonly surface: _angular_core.Signal<_praxisui_core.PraxisPresentationVisualizationSurface | null>;
|
|
19
|
+
readonly size: _angular_core.Signal<_praxisui_core.PraxisPresentationVisualizationSize | null>;
|
|
20
|
+
readonly resolvedTone: _angular_core.Signal<_praxisui_core.PraxisPresentationVisualizationTone | null>;
|
|
21
|
+
readonly suppressedCountAttr: _angular_core.Signal<string | null>;
|
|
22
|
+
readonly engineId: _angular_core.Signal<string>;
|
|
23
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisMicroVisualizationComponent, never>;
|
|
24
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisMicroVisualizationComponent, "praxis-micro-visualization", never, { "visualizationInput": { "alias": "visualization"; "required": false; "isSignal": true; }; "fallbackInput": { "alias": "fallbackText"; "required": false; "isSignal": true; }; "interactiveContainer": { "alias": "interactiveContainer"; "required": false; "isSignal": true; }; "formatValue": { "alias": "formatValue"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "idPrefix": { "alias": "idPrefix"; "required": false; "isSignal": true; }; "disableTooltip": { "alias": "disableTooltip"; "required": false; "isSignal": true; }; }, { "segmentActivate": "segmentActivate"; }, never, never, true, never>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Pure, presentational executive KPI card view consuming a resolved
|
|
29
|
+
* `PraxisKpiResolvedViewModel`. Renders all 7 epistemic states, embeds
|
|
30
|
+
* `<praxis-micro-visualization>`, and isolates secondary controls outside the
|
|
31
|
+
* primary interactive surface to satisfy WCAG 2.2 AA without nested buttons.
|
|
32
|
+
*/
|
|
33
|
+
declare class PraxisKpiCardViewComponent {
|
|
34
|
+
private readonly i18n;
|
|
35
|
+
private readonly localeId;
|
|
36
|
+
readonly viewModel: _angular_core.InputSignal<PraxisKpiResolvedViewModel>;
|
|
37
|
+
readonly density: _angular_core.InputSignal<"comfortable" | "compact">;
|
|
38
|
+
readonly allowRetry: _angular_core.InputSignal<boolean>;
|
|
39
|
+
readonly allowDrillDown: _angular_core.InputSignal<boolean>;
|
|
40
|
+
readonly showProvenance: _angular_core.InputSignal<boolean>;
|
|
41
|
+
readonly provenanceExpanded: _angular_core.InputSignal<boolean>;
|
|
42
|
+
readonly provenancePanelId: _angular_core.InputSignal<string | null>;
|
|
43
|
+
readonly governed: _angular_core.InputSignal<boolean>;
|
|
44
|
+
readonly activate: _angular_core.OutputEmitterRef<void>;
|
|
45
|
+
readonly segmentActivate: _angular_core.OutputEmitterRef<PraxisMicroVisualizationSegmentActivateEvent>;
|
|
46
|
+
readonly retry: _angular_core.OutputEmitterRef<void>;
|
|
47
|
+
readonly openProvenance: _angular_core.OutputEmitterRef<void>;
|
|
48
|
+
readonly readingGuideOpenChange: _angular_core.OutputEmitterRef<boolean>;
|
|
49
|
+
readonly drillDown: _angular_core.OutputEmitterRef<void>;
|
|
50
|
+
readonly isLoading: _angular_core.Signal<boolean>;
|
|
51
|
+
readonly isReadyLike: _angular_core.Signal<boolean>;
|
|
52
|
+
readonly isInteractive: _angular_core.Signal<boolean>;
|
|
53
|
+
readonly hasInteractiveSegments: _angular_core.Signal<boolean>;
|
|
54
|
+
readonly isActive: _angular_core.Signal<boolean>;
|
|
55
|
+
readonly isGoverned: _angular_core.Signal<boolean>;
|
|
56
|
+
readonly canRetry: _angular_core.Signal<boolean>;
|
|
57
|
+
readonly hasReadingGuide: _angular_core.Signal<boolean>;
|
|
58
|
+
readonly canShowProvenance: _angular_core.Signal<boolean>;
|
|
59
|
+
readonly canShowReadingGuidePopover: _angular_core.Signal<boolean>;
|
|
60
|
+
readonly canDrillDown: _angular_core.Signal<boolean>;
|
|
61
|
+
readonly hasActions: _angular_core.Signal<boolean>;
|
|
62
|
+
readonly inlineFooterActions: _angular_core.Signal<boolean>;
|
|
63
|
+
readonly statusBadgeIcon: _angular_core.Signal<"privacy_tip" | "lock" | "error_outline" | "shield" | "horizontal_rule" | undefined>;
|
|
64
|
+
readonly activeFilterHint: _angular_core.Signal<string>;
|
|
65
|
+
readonly governedLabel: _angular_core.Signal<string>;
|
|
66
|
+
readonly retryLabel: _angular_core.Signal<string>;
|
|
67
|
+
readonly provenanceLabel: _angular_core.Signal<string>;
|
|
68
|
+
readonly provenanceTriggerLabel: _angular_core.Signal<string>;
|
|
69
|
+
readonly drillDownLabel: _angular_core.Signal<string>;
|
|
70
|
+
private resolveLocale;
|
|
71
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisKpiCardViewComponent, never>;
|
|
72
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisKpiCardViewComponent, "praxis-kpi-card-view", never, { "viewModel": { "alias": "viewModel"; "required": true; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; "allowRetry": { "alias": "allowRetry"; "required": false; "isSignal": true; }; "allowDrillDown": { "alias": "allowDrillDown"; "required": false; "isSignal": true; }; "showProvenance": { "alias": "showProvenance"; "required": false; "isSignal": true; }; "provenanceExpanded": { "alias": "provenanceExpanded"; "required": false; "isSignal": true; }; "provenancePanelId": { "alias": "provenancePanelId"; "required": false; "isSignal": true; }; "governed": { "alias": "governed"; "required": false; "isSignal": true; }; }, { "activate": "activate"; "segmentActivate": "segmentActivate"; "retry": "retry"; "openProvenance": "openProvenance"; "readingGuideOpenChange": "readingGuideOpenChange"; "drillDown": "drillDown"; }, never, never, true, never>;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export { PraxisKpiCardViewComponent, PraxisMicroVisualizationComponent };
|