@dataworkz/crystal 0.1.0-beta.10 → 0.1.0-beta.11
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/CHANGELOG.md +14 -0
- package/fesm2022/dataworkz-crystal-primeng.mjs +3 -298
- package/fesm2022/dataworkz-crystal-primeng.mjs.map +1 -1
- package/fesm2022/dataworkz-crystal.mjs +320 -12
- package/fesm2022/dataworkz-crystal.mjs.map +1 -1
- package/index.d.ts +696 -17
- package/package.json +1 -1
- package/primeng/index.d.ts +1 -663
- package/styles/components/form.css +12 -0
- package/styles/components/navigation.css +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this package. Versions follow [semver](https://semver.org); betas may still change the API.
|
|
4
4
|
|
|
5
|
+
## 0.1.0-beta.11 — 2026-11-05
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- `dw-select` / `dw-multiselect` `variant="plain"`: reads as the text around it (a table cell, a sentence), no border,
|
|
9
|
+
fill or start padding until hovered; the focus ring stays.
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
- `provideCrystal()` sets PrimeNG up itself (crystal's preset, dark mode, z-index layers, pass-through defaults), so an
|
|
13
|
+
app needs only `provideCrystal()`. `CrystalConfig.primeng` takes PrimeNG settings to merge over crystal's, or
|
|
14
|
+
`false`. The preset and `provideCrystalPrimeNG()` move to the main entry point; `@dataworkz/crystal/primeng` still
|
|
15
|
+
re-exports them. An app that calls both drops `provideCrystalPrimeNG()`.
|
|
16
|
+
- The empty PrimeNG host inside `dw-menu` and `dw-popover` takes no layout (`display: contents`), so a menu or
|
|
17
|
+
popover in a flex row adds no gap of its own.
|
|
18
|
+
|
|
5
19
|
## 0.1.0-beta.10 — 2026-11-05
|
|
6
20
|
|
|
7
21
|
### Added
|
|
@@ -1,306 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
import { definePreset } from '@primeng/themes';
|
|
3
|
-
import { providePrimeNG } from 'primeng/config';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Azure Electric primary ramp. Same hex values as `--dw-primary-*` in
|
|
7
|
-
* tokens/primitives.css — PrimeNG needs literal hex for the
|
|
8
|
-
* primitive ramp because it derives other tokens from it at build time.
|
|
9
|
-
*/
|
|
10
|
-
const AZURE_PRIMARY_RAMP = {
|
|
11
|
-
50: '#ecf3ff',
|
|
12
|
-
100: '#d6e5ff',
|
|
13
|
-
200: '#b0ccff',
|
|
14
|
-
300: '#82abff',
|
|
15
|
-
400: '#4d84ff',
|
|
16
|
-
500: '#2463f5',
|
|
17
|
-
600: '#144ce6',
|
|
18
|
-
700: '#113dc2',
|
|
19
|
-
800: '#16359b',
|
|
20
|
-
900: '#19327b',
|
|
21
|
-
950: '#101d49',
|
|
22
|
-
};
|
|
23
|
-
const primaryRefs = Object.fromEntries(Object.keys(AZURE_PRIMARY_RAMP).map((step) => [step, `{blue.${step}}`]));
|
|
24
|
-
/** The same (variable-driven) component tokens for light and dark. */
|
|
25
|
-
const bothSchemes = (scheme) => ({ light: scheme, dark: scheme });
|
|
26
|
-
/** Shorthand for a design-system CSS variable reference. */
|
|
27
|
-
const dw = (token) => `var(--dw-${token})`;
|
|
28
|
-
/**
|
|
29
|
-
* PrimeNG color scheme, used for both light and dark. Every value points at a
|
|
30
|
-
* design-system CSS variable, so PrimeNG follows the semantic tokens (tokens/semantic.css
|
|
31
|
-
* and semantic-dark.css): switching theme re-points the variables, the preset
|
|
32
|
-
* never changes. (The surface ramp is the raw neutral scale, light → dark,
|
|
33
|
-
* which is the order Aura's own light and dark schemes expect.)
|
|
34
|
-
*/
|
|
35
|
-
const DW_COLOR_SCHEME = {
|
|
36
|
-
surface: {
|
|
37
|
-
0: dw('neutral-0'),
|
|
38
|
-
50: dw('neutral-50'),
|
|
39
|
-
100: dw('neutral-100'),
|
|
40
|
-
200: dw('neutral-200'),
|
|
41
|
-
300: dw('neutral-300'),
|
|
42
|
-
400: dw('neutral-400'),
|
|
43
|
-
500: dw('neutral-500'),
|
|
44
|
-
600: dw('neutral-600'),
|
|
45
|
-
700: dw('neutral-700'),
|
|
46
|
-
800: dw('neutral-800'),
|
|
47
|
-
900: dw('neutral-900'),
|
|
48
|
-
950: dw('neutral-950'),
|
|
49
|
-
},
|
|
50
|
-
primary: {
|
|
51
|
-
color: dw('accent'),
|
|
52
|
-
contrastColor: dw('text-inverse'),
|
|
53
|
-
hoverColor: dw('accent-hover'),
|
|
54
|
-
activeColor: dw('accent-active'),
|
|
55
|
-
},
|
|
56
|
-
highlight: {
|
|
57
|
-
background: dw('accent-tint'),
|
|
58
|
-
focusBackground: dw('accent-tint-strong'),
|
|
59
|
-
color: dw('accent-text'),
|
|
60
|
-
focusColor: dw('accent-text'),
|
|
61
|
-
},
|
|
62
|
-
mask: {
|
|
63
|
-
background: dw('scrim'),
|
|
64
|
-
color: dw('border'),
|
|
65
|
-
},
|
|
66
|
-
formField: {
|
|
67
|
-
background: dw('surface'),
|
|
68
|
-
disabledBackground: dw('surface-disabled'),
|
|
69
|
-
filledBackground: dw('surface-section'),
|
|
70
|
-
filledHoverBackground: dw('surface-section'),
|
|
71
|
-
filledFocusBackground: dw('surface-section'),
|
|
72
|
-
borderColor: dw('border-strong'),
|
|
73
|
-
hoverBorderColor: dw('border-hover'),
|
|
74
|
-
focusBorderColor: dw('focus-border'),
|
|
75
|
-
invalidBorderColor: dw('danger-solid'),
|
|
76
|
-
color: dw('text'),
|
|
77
|
-
disabledColor: dw('text-muted'),
|
|
78
|
-
placeholderColor: dw('text-muted'),
|
|
79
|
-
invalidPlaceholderColor: dw('status-danger-fg'),
|
|
80
|
-
floatLabelColor: dw('text-secondary'),
|
|
81
|
-
floatLabelFocusColor: dw('accent'),
|
|
82
|
-
floatLabelActiveColor: dw('text-secondary'),
|
|
83
|
-
floatLabelInvalidColor: dw('status-danger-fg'),
|
|
84
|
-
iconColor: dw('text-muted'),
|
|
85
|
-
shadow: dw('shadow-xs'),
|
|
86
|
-
},
|
|
87
|
-
text: {
|
|
88
|
-
color: dw('text'),
|
|
89
|
-
hoverColor: dw('text-strong'),
|
|
90
|
-
mutedColor: dw('text-secondary'),
|
|
91
|
-
hoverMutedColor: dw('text'),
|
|
92
|
-
},
|
|
93
|
-
content: {
|
|
94
|
-
background: dw('surface'),
|
|
95
|
-
hoverBackground: dw('surface-hover'),
|
|
96
|
-
borderColor: dw('border'),
|
|
97
|
-
color: dw('text'),
|
|
98
|
-
hoverColor: dw('text-strong'),
|
|
99
|
-
},
|
|
100
|
-
overlay: {
|
|
101
|
-
select: { background: dw('surface'), borderColor: dw('border'), color: dw('text') },
|
|
102
|
-
popover: { background: dw('surface'), borderColor: dw('border'), color: dw('text') },
|
|
103
|
-
modal: { background: dw('surface'), borderColor: dw('border'), color: dw('text') },
|
|
104
|
-
},
|
|
105
|
-
list: {
|
|
106
|
-
option: {
|
|
107
|
-
focusBackground: dw('surface-hover'),
|
|
108
|
-
selectedBackground: dw('surface-selected'),
|
|
109
|
-
selectedFocusBackground: dw('accent-tint-strong'),
|
|
110
|
-
color: dw('text'),
|
|
111
|
-
focusColor: dw('text-strong'),
|
|
112
|
-
selectedColor: dw('accent-text'),
|
|
113
|
-
selectedFocusColor: dw('accent-text'),
|
|
114
|
-
icon: { color: dw('text-muted'), focusColor: dw('text-secondary') },
|
|
115
|
-
},
|
|
116
|
-
optionGroup: { background: 'transparent', color: dw('text-secondary') },
|
|
117
|
-
},
|
|
118
|
-
navigation: {
|
|
119
|
-
item: {
|
|
120
|
-
focusBackground: dw('surface-hover'),
|
|
121
|
-
activeBackground: dw('surface-selected'),
|
|
122
|
-
color: dw('text'),
|
|
123
|
-
focusColor: dw('text-strong'),
|
|
124
|
-
activeColor: dw('accent-text'),
|
|
125
|
-
icon: { color: dw('text-muted'), focusColor: dw('text-secondary'), activeColor: dw('accent') },
|
|
126
|
-
},
|
|
127
|
-
submenuLabel: { background: 'transparent', color: dw('text-secondary') },
|
|
128
|
-
submenuIcon: { color: dw('text-muted'), focusColor: dw('text-secondary'), activeColor: dw('accent') },
|
|
129
|
-
},
|
|
130
|
-
};
|
|
131
|
-
/**
|
|
132
|
-
* Overrides layered on top of Aura. Aura's `blue` primitive is replaced with
|
|
133
|
-
* the Azure ramp so every `{primary.*}` resolves to Azure; semantic and
|
|
134
|
-
* component tokens are bound to the `--dw-*` CSS variables.
|
|
135
|
-
*/
|
|
136
|
-
const DW_PRESET_OVERRIDES = {
|
|
137
|
-
primitive: {
|
|
138
|
-
blue: { ...AZURE_PRIMARY_RAMP },
|
|
139
|
-
},
|
|
140
|
-
semantic: {
|
|
141
|
-
primary: primaryRefs,
|
|
142
|
-
transitionDuration: dw('dur-micro'),
|
|
143
|
-
disabledOpacity: '0.6',
|
|
144
|
-
focusRing: {
|
|
145
|
-
width: '0',
|
|
146
|
-
style: 'none',
|
|
147
|
-
color: 'transparent',
|
|
148
|
-
offset: '0',
|
|
149
|
-
shadow: dw('focus-ring'),
|
|
150
|
-
},
|
|
151
|
-
formField: {
|
|
152
|
-
paddingX: '0.75rem',
|
|
153
|
-
// Large (default) fields: 7px + 20px line + 7px + 1px borders = 36px (--dw-size-control-lg)
|
|
154
|
-
paddingY: '0.4375rem',
|
|
155
|
-
// pSize="small": as tall as a small dw-button (28px), with its 12px text
|
|
156
|
-
sm: { fontSize: dw('font-size-12'), paddingX: '0.625rem', paddingY: '0.3125rem' },
|
|
157
|
-
borderRadius: dw('radius-control'),
|
|
158
|
-
// Focused fields (inputs, search, selects): just a focus-blue border, no glow — the
|
|
159
|
-
// 1px border plus a 0.5px inset line reads as 1.5px without shifting the content
|
|
160
|
-
focusRing: {
|
|
161
|
-
width: '0',
|
|
162
|
-
style: 'none',
|
|
163
|
-
color: 'transparent',
|
|
164
|
-
offset: '0',
|
|
165
|
-
shadow: dw('focus-border-ring'),
|
|
166
|
-
},
|
|
167
|
-
},
|
|
168
|
-
list: {
|
|
169
|
-
option: { borderRadius: dw('radius-sm') },
|
|
170
|
-
},
|
|
171
|
-
content: {
|
|
172
|
-
borderRadius: dw('radius-card'),
|
|
173
|
-
},
|
|
174
|
-
navigation: {
|
|
175
|
-
item: { borderRadius: dw('radius-sm') },
|
|
176
|
-
},
|
|
177
|
-
overlay: {
|
|
178
|
-
select: { borderRadius: dw('radius-overlay'), shadow: dw('shadow-popover') },
|
|
179
|
-
popover: { borderRadius: dw('radius-overlay'), padding: '0.75rem', shadow: dw('shadow-popover') },
|
|
180
|
-
modal: { borderRadius: dw('radius-modal'), padding: '1.25rem', shadow: dw('shadow-modal') },
|
|
181
|
-
navigation: { shadow: dw('shadow-menu') },
|
|
182
|
-
},
|
|
183
|
-
colorScheme: {
|
|
184
|
-
light: DW_COLOR_SCHEME,
|
|
185
|
-
dark: DW_COLOR_SCHEME,
|
|
186
|
-
},
|
|
187
|
-
},
|
|
188
|
-
components: {
|
|
189
|
-
button: {
|
|
190
|
-
root: {
|
|
191
|
-
borderRadius: dw('radius-control'),
|
|
192
|
-
label: { fontWeight: '500' },
|
|
193
|
-
},
|
|
194
|
-
},
|
|
195
|
-
datatable: {
|
|
196
|
-
headerCell: {
|
|
197
|
-
padding: '0.625rem 0.75rem',
|
|
198
|
-
background: dw('surface-section'),
|
|
199
|
-
color: dw('text-label'),
|
|
200
|
-
// Sorted column looks like any other header; only the sort arrow marks it
|
|
201
|
-
selectedBackground: dw('surface-section'),
|
|
202
|
-
selectedColor: dw('text-label'),
|
|
203
|
-
},
|
|
204
|
-
bodyCell: { padding: '0.625rem 0.75rem' },
|
|
205
|
-
colorScheme: bothSchemes({
|
|
206
|
-
root: { borderColor: dw('border') },
|
|
207
|
-
row: { stripedBackground: dw('surface-hover') },
|
|
208
|
-
}),
|
|
209
|
-
},
|
|
210
|
-
// Compact, right-aligned bar: 28px buttons, a little room above and more below so it
|
|
211
|
-
// doesn't sit on the bottom edge of the table's card
|
|
212
|
-
paginator: {
|
|
213
|
-
root: { padding: '0.25rem 0.75rem 0.5rem', gap: '0.125rem' },
|
|
214
|
-
navButton: { width: '1.75rem', height: '1.75rem', borderRadius: dw('radius-control') },
|
|
215
|
-
},
|
|
216
|
-
dialog: {
|
|
217
|
-
title: { fontSize: dw('font-size-16'), fontWeight: '600' },
|
|
218
|
-
},
|
|
219
|
-
drawer: {
|
|
220
|
-
title: { fontSize: dw('font-size-16'), fontWeight: '600' },
|
|
221
|
-
},
|
|
222
|
-
tooltip: {
|
|
223
|
-
colorScheme: bothSchemes({
|
|
224
|
-
root: { background: dw('surface-inverse'), color: dw('text-inverse') },
|
|
225
|
-
}),
|
|
226
|
-
},
|
|
227
|
-
tabs: {
|
|
228
|
-
tab: { padding: '0.625rem 1rem', fontWeight: '500' },
|
|
229
|
-
},
|
|
230
|
-
toggleswitch: {
|
|
231
|
-
colorScheme: bothSchemes({
|
|
232
|
-
root: {
|
|
233
|
-
checkedBackground: dw('accent'),
|
|
234
|
-
checkedHoverBackground: dw('accent-hover'),
|
|
235
|
-
},
|
|
236
|
-
}),
|
|
237
|
-
},
|
|
238
|
-
skeleton: {
|
|
239
|
-
colorScheme: bothSchemes({
|
|
240
|
-
root: { background: dw('skeleton-base'), animationBackground: dw('skeleton-shine') },
|
|
241
|
-
}),
|
|
242
|
-
},
|
|
243
|
-
},
|
|
244
|
-
};
|
|
245
|
-
/** Dataworkz PrimeNG preset: Aura retargeted to the design system. */
|
|
246
|
-
const DwPreset = definePreset(Aura, DW_PRESET_OVERRIDES);
|
|
247
|
-
|
|
248
|
-
/** PrimeNG's dark mode follows the attribute ThemeService (and provideCrystal()) put on `<html>`. */
|
|
249
|
-
const DW_DARK_MODE_SELECTOR = '[data-theme="dark"]';
|
|
250
|
-
/** Panel class that sizes a select's option list for a small trigger (components/form.css). */
|
|
251
|
-
const DW_SELECT_PANEL_SM = 'dw-select-panel--sm';
|
|
252
|
-
/** The small-panel class for an overlay whose select is `size="small"`, wherever the list is appended. */
|
|
253
|
-
const smallPanel = ({ instance }) => instance?.size?.() === 'small' ? { class: DW_SELECT_PANEL_SM } : {};
|
|
254
|
-
/**
|
|
255
|
-
* Crystal's pass-through defaults: a small `p-select` / `p-multiselect` gets small options even when its list is
|
|
256
|
-
* appended to `<body>` (where CSS can't see the trigger).
|
|
257
|
-
*/
|
|
258
|
-
const DW_PRIMENG_PT = {
|
|
259
|
-
select: { overlay: smallPanel },
|
|
260
|
-
multiselect: { overlay: smallPanel },
|
|
261
|
-
};
|
|
262
|
-
/**
|
|
263
|
-
* PrimeNG's z-index bases, with tooltips raised to 5000: PrimeNG already stacks a tooltip above the overlays it manages
|
|
264
|
-
* (dialogs, drawers, popovers), and the higher base keeps it above layers that set their own z-index too (a panel or
|
|
265
|
-
* page chrome with `z-index` in CSS), so a tooltip is never hidden under what it describes.
|
|
266
|
-
*/
|
|
267
|
-
const DW_PRIMENG_Z_INDEX = { modal: 1100, overlay: 1000, menu: 1000, tooltip: 5000 };
|
|
268
|
-
/**
|
|
269
|
-
* PrimeNG with the Dataworkz preset, dark mode on `[data-theme="dark"]`. Pass app-specific PrimeNG settings
|
|
270
|
-
* (ripple, zIndex, translation…) as `config`; its `theme.options` are merged over crystal's.
|
|
271
|
-
*
|
|
272
|
-
* ```ts
|
|
273
|
-
* providers: [provideCrystal(), provideCrystalPrimeNG({ ripple: false })]
|
|
274
|
-
* ```
|
|
275
|
-
*/
|
|
276
|
-
function provideCrystalPrimeNG(config = {}) {
|
|
277
|
-
const theme = typeof config.theme === 'object' ? config.theme : {};
|
|
278
|
-
const pt = (config.pt ?? {});
|
|
279
|
-
return providePrimeNG({
|
|
280
|
-
...config,
|
|
281
|
-
zIndex: { ...DW_PRIMENG_Z_INDEX, ...(config.zIndex ?? {}) },
|
|
282
|
-
// An app's own pass-through settings are merged over crystal's, section by section.
|
|
283
|
-
pt: {
|
|
284
|
-
...pt,
|
|
285
|
-
select: { ...DW_PRIMENG_PT.select, ...pt['select'] },
|
|
286
|
-
multiselect: { ...DW_PRIMENG_PT.multiselect, ...pt['multiselect'] },
|
|
287
|
-
},
|
|
288
|
-
theme: {
|
|
289
|
-
preset: DwPreset,
|
|
290
|
-
...theme,
|
|
291
|
-
options: { darkModeSelector: DW_DARK_MODE_SELECTOR, ...(theme.options ?? {}) },
|
|
292
|
-
},
|
|
293
|
-
});
|
|
294
|
-
}
|
|
1
|
+
export { AZURE_PRIMARY_RAMP, DW_COLOR_SCHEME, DW_DARK_MODE_SELECTOR, DW_PRESET_OVERRIDES, DW_PRIMENG_PT, DW_PRIMENG_Z_INDEX, DW_SELECT_PANEL_SM, DwPreset, provideCrystalPrimeNG } from '@dataworkz/crystal';
|
|
295
2
|
|
|
296
3
|
/*
|
|
297
|
-
* @dataworkz/crystal/primeng — the Dataworkz PrimeNG preset and provideCrystalPrimeNG()
|
|
298
|
-
*
|
|
4
|
+
* @dataworkz/crystal/primeng — kept for existing imports: the Dataworkz PrimeNG preset and provideCrystalPrimeNG() now
|
|
5
|
+
* live in the main entry point, and provideCrystal() sets PrimeNG up itself (CrystalConfig.primeng).
|
|
299
6
|
*/
|
|
300
7
|
|
|
301
8
|
/**
|
|
302
9
|
* Generated bundle index. Do not edit.
|
|
303
10
|
*/
|
|
304
|
-
|
|
305
|
-
export { AZURE_PRIMARY_RAMP, DW_COLOR_SCHEME, DW_DARK_MODE_SELECTOR, DW_PRESET_OVERRIDES, DW_PRIMENG_PT, DW_PRIMENG_Z_INDEX, DW_SELECT_PANEL_SM, DwPreset, provideCrystalPrimeNG };
|
|
306
11
|
//# sourceMappingURL=dataworkz-crystal-primeng.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataworkz-crystal-primeng.mjs","sources":["../../../../packages/crystal/primeng/src/dw-preset.ts","../../../../packages/crystal/primeng/src/provide-crystal-primeng.ts","../../../../packages/crystal/primeng/src/index.ts","../../../../packages/crystal/primeng/src/dataworkz-crystal-primeng.ts"],"sourcesContent":["import Aura from '@primeng/themes/aura';\nimport { definePreset } from '@primeng/themes';\n\n/**\n * Azure Electric primary ramp. Same hex values as `--dw-primary-*` in\n * tokens/primitives.css — PrimeNG needs literal hex for the\n * primitive ramp because it derives other tokens from it at build time.\n */\nexport const AZURE_PRIMARY_RAMP = {\n 50: '#ecf3ff',\n 100: '#d6e5ff',\n 200: '#b0ccff',\n 300: '#82abff',\n 400: '#4d84ff',\n 500: '#2463f5',\n 600: '#144ce6',\n 700: '#113dc2',\n 800: '#16359b',\n 900: '#19327b',\n 950: '#101d49',\n} as const;\n\nconst primaryRefs = Object.fromEntries(\n Object.keys(AZURE_PRIMARY_RAMP).map((step) => [step, `{blue.${step}}`]),\n) as Record<keyof typeof AZURE_PRIMARY_RAMP, string>;\n\n/** The same (variable-driven) component tokens for light and dark. */\nconst bothSchemes = <T>(scheme: T): { light: T; dark: T } => ({ light: scheme, dark: scheme });\n\n/** Shorthand for a design-system CSS variable reference. */\nconst dw = (token: string): string => `var(--dw-${token})`;\n\n/**\n * PrimeNG color scheme, used for both light and dark. Every value points at a\n * design-system CSS variable, so PrimeNG follows the semantic tokens (tokens/semantic.css\n * and semantic-dark.css): switching theme re-points the variables, the preset\n * never changes. (The surface ramp is the raw neutral scale, light → dark,\n * which is the order Aura's own light and dark schemes expect.)\n */\nexport const DW_COLOR_SCHEME = {\n surface: {\n 0: dw('neutral-0'),\n 50: dw('neutral-50'),\n 100: dw('neutral-100'),\n 200: dw('neutral-200'),\n 300: dw('neutral-300'),\n 400: dw('neutral-400'),\n 500: dw('neutral-500'),\n 600: dw('neutral-600'),\n 700: dw('neutral-700'),\n 800: dw('neutral-800'),\n 900: dw('neutral-900'),\n 950: dw('neutral-950'),\n },\n primary: {\n color: dw('accent'),\n contrastColor: dw('text-inverse'),\n hoverColor: dw('accent-hover'),\n activeColor: dw('accent-active'),\n },\n highlight: {\n background: dw('accent-tint'),\n focusBackground: dw('accent-tint-strong'),\n color: dw('accent-text'),\n focusColor: dw('accent-text'),\n },\n mask: {\n background: dw('scrim'),\n color: dw('border'),\n },\n formField: {\n background: dw('surface'),\n disabledBackground: dw('surface-disabled'),\n filledBackground: dw('surface-section'),\n filledHoverBackground: dw('surface-section'),\n filledFocusBackground: dw('surface-section'),\n borderColor: dw('border-strong'),\n hoverBorderColor: dw('border-hover'),\n focusBorderColor: dw('focus-border'),\n invalidBorderColor: dw('danger-solid'),\n color: dw('text'),\n disabledColor: dw('text-muted'),\n placeholderColor: dw('text-muted'),\n invalidPlaceholderColor: dw('status-danger-fg'),\n floatLabelColor: dw('text-secondary'),\n floatLabelFocusColor: dw('accent'),\n floatLabelActiveColor: dw('text-secondary'),\n floatLabelInvalidColor: dw('status-danger-fg'),\n iconColor: dw('text-muted'),\n shadow: dw('shadow-xs'),\n },\n text: {\n color: dw('text'),\n hoverColor: dw('text-strong'),\n mutedColor: dw('text-secondary'),\n hoverMutedColor: dw('text'),\n },\n content: {\n background: dw('surface'),\n hoverBackground: dw('surface-hover'),\n borderColor: dw('border'),\n color: dw('text'),\n hoverColor: dw('text-strong'),\n },\n overlay: {\n select: { background: dw('surface'), borderColor: dw('border'), color: dw('text') },\n popover: { background: dw('surface'), borderColor: dw('border'), color: dw('text') },\n modal: { background: dw('surface'), borderColor: dw('border'), color: dw('text') },\n },\n list: {\n option: {\n focusBackground: dw('surface-hover'),\n selectedBackground: dw('surface-selected'),\n selectedFocusBackground: dw('accent-tint-strong'),\n color: dw('text'),\n focusColor: dw('text-strong'),\n selectedColor: dw('accent-text'),\n selectedFocusColor: dw('accent-text'),\n icon: { color: dw('text-muted'), focusColor: dw('text-secondary') },\n },\n optionGroup: { background: 'transparent', color: dw('text-secondary') },\n },\n navigation: {\n item: {\n focusBackground: dw('surface-hover'),\n activeBackground: dw('surface-selected'),\n color: dw('text'),\n focusColor: dw('text-strong'),\n activeColor: dw('accent-text'),\n icon: { color: dw('text-muted'), focusColor: dw('text-secondary'), activeColor: dw('accent') },\n },\n submenuLabel: { background: 'transparent', color: dw('text-secondary') },\n submenuIcon: { color: dw('text-muted'), focusColor: dw('text-secondary'), activeColor: dw('accent') },\n },\n};\n\n/**\n * Overrides layered on top of Aura. Aura's `blue` primitive is replaced with\n * the Azure ramp so every `{primary.*}` resolves to Azure; semantic and\n * component tokens are bound to the `--dw-*` CSS variables.\n */\nexport const DW_PRESET_OVERRIDES = {\n primitive: {\n blue: { ...AZURE_PRIMARY_RAMP },\n },\n semantic: {\n primary: primaryRefs,\n transitionDuration: dw('dur-micro'),\n disabledOpacity: '0.6',\n focusRing: {\n width: '0',\n style: 'none',\n color: 'transparent',\n offset: '0',\n shadow: dw('focus-ring'),\n },\n formField: {\n paddingX: '0.75rem',\n // Large (default) fields: 7px + 20px line + 7px + 1px borders = 36px (--dw-size-control-lg)\n paddingY: '0.4375rem',\n // pSize=\"small\": as tall as a small dw-button (28px), with its 12px text\n sm: { fontSize: dw('font-size-12'), paddingX: '0.625rem', paddingY: '0.3125rem' },\n borderRadius: dw('radius-control'),\n // Focused fields (inputs, search, selects): just a focus-blue border, no glow — the\n // 1px border plus a 0.5px inset line reads as 1.5px without shifting the content\n focusRing: {\n width: '0',\n style: 'none',\n color: 'transparent',\n offset: '0',\n shadow: dw('focus-border-ring'),\n },\n },\n list: {\n option: { borderRadius: dw('radius-sm') },\n },\n content: {\n borderRadius: dw('radius-card'),\n },\n navigation: {\n item: { borderRadius: dw('radius-sm') },\n },\n overlay: {\n select: { borderRadius: dw('radius-overlay'), shadow: dw('shadow-popover') },\n popover: { borderRadius: dw('radius-overlay'), padding: '0.75rem', shadow: dw('shadow-popover') },\n modal: { borderRadius: dw('radius-modal'), padding: '1.25rem', shadow: dw('shadow-modal') },\n navigation: { shadow: dw('shadow-menu') },\n },\n colorScheme: {\n light: DW_COLOR_SCHEME,\n dark: DW_COLOR_SCHEME,\n },\n },\n components: {\n button: {\n root: {\n borderRadius: dw('radius-control'),\n label: { fontWeight: '500' },\n },\n },\n datatable: {\n headerCell: {\n padding: '0.625rem 0.75rem',\n background: dw('surface-section'),\n color: dw('text-label'),\n // Sorted column looks like any other header; only the sort arrow marks it\n selectedBackground: dw('surface-section'),\n selectedColor: dw('text-label'),\n },\n bodyCell: { padding: '0.625rem 0.75rem' },\n colorScheme: bothSchemes({\n root: { borderColor: dw('border') },\n row: { stripedBackground: dw('surface-hover') },\n }),\n },\n // Compact, right-aligned bar: 28px buttons, a little room above and more below so it\n // doesn't sit on the bottom edge of the table's card\n paginator: {\n root: { padding: '0.25rem 0.75rem 0.5rem', gap: '0.125rem' },\n navButton: { width: '1.75rem', height: '1.75rem', borderRadius: dw('radius-control') },\n },\n dialog: {\n title: { fontSize: dw('font-size-16'), fontWeight: '600' },\n },\n drawer: {\n title: { fontSize: dw('font-size-16'), fontWeight: '600' },\n },\n tooltip: {\n colorScheme: bothSchemes({\n root: { background: dw('surface-inverse'), color: dw('text-inverse') },\n }),\n },\n tabs: {\n tab: { padding: '0.625rem 1rem', fontWeight: '500' },\n },\n toggleswitch: {\n colorScheme: bothSchemes({\n root: {\n checkedBackground: dw('accent'),\n checkedHoverBackground: dw('accent-hover'),\n },\n }),\n },\n skeleton: {\n colorScheme: bothSchemes({\n root: { background: dw('skeleton-base'), animationBackground: dw('skeleton-shine') },\n }),\n },\n },\n};\n\n/** Dataworkz PrimeNG preset: Aura retargeted to the design system. */\nexport const DwPreset = definePreset(Aura, DW_PRESET_OVERRIDES);\n","import { EnvironmentProviders } from '@angular/core';\nimport { PrimeNGConfigType, providePrimeNG } from 'primeng/config';\nimport { DwPreset } from './dw-preset';\n\n/** PrimeNG's dark mode follows the attribute ThemeService (and provideCrystal()) put on `<html>`. */\nexport const DW_DARK_MODE_SELECTOR = '[data-theme=\"dark\"]';\n\n/** Panel class that sizes a select's option list for a small trigger (components/form.css). */\nexport const DW_SELECT_PANEL_SM = 'dw-select-panel--sm';\n\ntype SizedInstance = { size?: () => string | null | undefined };\n\n/** The small-panel class for an overlay whose select is `size=\"small\"`, wherever the list is appended. */\nconst smallPanel = ({ instance }: { instance?: SizedInstance }) =>\n instance?.size?.() === 'small' ? { class: DW_SELECT_PANEL_SM } : {};\n\n/**\n * Crystal's pass-through defaults: a small `p-select` / `p-multiselect` gets small options even when its list is\n * appended to `<body>` (where CSS can't see the trigger).\n */\nexport const DW_PRIMENG_PT = {\n select: { overlay: smallPanel },\n multiselect: { overlay: smallPanel },\n} as const;\n\n/**\n * PrimeNG's z-index bases, with tooltips raised to 5000: PrimeNG already stacks a tooltip above the overlays it manages\n * (dialogs, drawers, popovers), and the higher base keeps it above layers that set their own z-index too (a panel or\n * page chrome with `z-index` in CSS), so a tooltip is never hidden under what it describes.\n */\nexport const DW_PRIMENG_Z_INDEX = { modal: 1100, overlay: 1000, menu: 1000, tooltip: 5000 } as const;\n\n/**\n * PrimeNG with the Dataworkz preset, dark mode on `[data-theme=\"dark\"]`. Pass app-specific PrimeNG settings\n * (ripple, zIndex, translation…) as `config`; its `theme.options` are merged over crystal's.\n *\n * ```ts\n * providers: [provideCrystal(), provideCrystalPrimeNG({ ripple: false })]\n * ```\n */\nexport function provideCrystalPrimeNG(config: PrimeNGConfigType = {}): EnvironmentProviders {\n const theme = typeof config.theme === 'object' ? config.theme : {};\n const pt = (config.pt ?? {}) as Record<string, Record<string, unknown> | undefined>;\n return providePrimeNG({\n ...config,\n zIndex: { ...DW_PRIMENG_Z_INDEX, ...(config.zIndex ?? {}) },\n // An app's own pass-through settings are merged over crystal's, section by section.\n pt: {\n ...pt,\n select: { ...DW_PRIMENG_PT.select, ...pt['select'] },\n multiselect: { ...DW_PRIMENG_PT.multiselect, ...pt['multiselect'] },\n } as PrimeNGConfigType['pt'],\n theme: {\n preset: DwPreset,\n ...theme,\n options: { darkModeSelector: DW_DARK_MODE_SELECTOR, ...(theme.options ?? {}) },\n },\n });\n}\n","/*\n * @dataworkz/crystal/primeng — the Dataworkz PrimeNG preset and provideCrystalPrimeNG().\n * Needs the optional peer @primeng/themes.\n */\nexport * from './dw-preset';\nexport * from './provide-crystal-primeng';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA;;;;AAIG;AACI,MAAM,kBAAkB,GA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MAAM,CAAC,KAAK,GAAG,EAAE;IAClE,MAAM,EAAE,IAAI,MAAM,CAAC,EAAE,IAAI,EAAE,CAAwD;AACnF,IAAA,OAAO,cAAc,CAAC;AACpB,QAAA,GAAG,MAAM;AACT,QAAA,MAAM,EAAE,EAAE,GAAG,kBAAkB,EAAE,IAAI,MAAM,CAAC,MAAM,IAAI,EAAE,CAAC,EAAE;;AAE3D,QAAA,EAAE,EAAE;AACF,YAAA,GAAG,EAAE;AACL,YAAA,MAAM,EAAE,EAAE,GAAG,aAAa,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,EAAE;AACpD,YAAA,WAAW,EAAE,EAAE,GAAG,aAAa,CAAC,WAAW,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,EAAE;AACzC,SAAA;AAC5B,QAAA,KAAK,EAAE;AACL,YAAA,MAAM,EAAE,QAAQ;AAChB,YAAA,GAAG,KAAK;AACR,YAAA,OAAO,EAAE,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,IAAI,KAAK,CAAC,OAAO,IAAI,EAAE,CAAC,EAAE;AAC/E,SAAA;AACF,KAAA,CAAC;AACJ;;AC1DA;;;AAGG;;ACHH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"dataworkz-crystal-primeng.mjs","sources":["../../../../packages/crystal/primeng/src/index.ts","../../../../packages/crystal/primeng/src/dataworkz-crystal-primeng.ts"],"sourcesContent":["/*\n * @dataworkz/crystal/primeng — kept for existing imports: the Dataworkz PrimeNG preset and provideCrystalPrimeNG() now\n * live in the main entry point, and provideCrystal() sets PrimeNG up itself (CrystalConfig.primeng).\n */\nexport {\n AZURE_PRIMARY_RAMP,\n DW_COLOR_SCHEME,\n DW_DARK_MODE_SELECTOR,\n DW_PRESET_OVERRIDES,\n DW_PRIMENG_PT,\n DW_PRIMENG_Z_INDEX,\n DW_SELECT_PANEL_SM,\n DwPreset,\n provideCrystalPrimeNG,\n} from '@dataworkz/crystal';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAAA;;;AAGG;;ACHH;;AAEG"}
|