@sessile/dom 0.0.0-stage → 0.1.0
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/LICENSE +373 -0
- package/dist/capabilities.d.ts +75 -0
- package/dist/capabilities.js +336 -0
- package/dist/cssSurface.d.ts +65 -0
- package/dist/cssSurface.js +348 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +10 -0
- package/dist/refractFilter.d.ts +56 -0
- package/dist/refractFilter.js +349 -0
- package/dist/surfaceController.d.ts +146 -0
- package/dist/surfaceController.js +685 -0
- package/package.json +33 -3
- package/README.md +0 -3
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Browser capability detection, reduced-motion observation, ResizeObserver wiring,
|
|
3
|
+
* and clamped requestAnimationFrame scheduling for `@sessile/dom`.
|
|
4
|
+
*
|
|
5
|
+
* SPDX-License-Identifier: MPL-2.0
|
|
6
|
+
*/
|
|
7
|
+
const DEFAULT_MAX_DT_SEC = 0.05;
|
|
8
|
+
const RESIZE_EPSILON_PX = 0.01;
|
|
9
|
+
let cachedSvgBackdropRefraction;
|
|
10
|
+
function resolveUserAgent(env) {
|
|
11
|
+
if (env && 'userAgent' in env) {
|
|
12
|
+
return env.userAgent;
|
|
13
|
+
}
|
|
14
|
+
return typeof navigator !== 'undefined' ? navigator.userAgent : undefined;
|
|
15
|
+
}
|
|
16
|
+
function resolveCssSupports(env) {
|
|
17
|
+
if (env && 'cssSupports' in env) {
|
|
18
|
+
return env.cssSupports;
|
|
19
|
+
}
|
|
20
|
+
if (typeof CSS !== 'undefined' && typeof CSS.supports === 'function') {
|
|
21
|
+
return (property, value) => CSS.supports(property, value);
|
|
22
|
+
}
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
function resolveMatchMedia(env) {
|
|
26
|
+
if (env && 'matchMedia' in env) {
|
|
27
|
+
return env.matchMedia;
|
|
28
|
+
}
|
|
29
|
+
if (typeof window !== 'undefined' && typeof window.matchMedia === 'function') {
|
|
30
|
+
return (query) => window.matchMedia(query);
|
|
31
|
+
}
|
|
32
|
+
if (typeof globalThis.matchMedia === 'function') {
|
|
33
|
+
return (query) => globalThis.matchMedia(query);
|
|
34
|
+
}
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
function evaluateSvgBackdropRefraction(env) {
|
|
38
|
+
const ua = resolveUserAgent(env);
|
|
39
|
+
const cssSupports = resolveCssSupports(env);
|
|
40
|
+
if (!ua || typeof cssSupports !== 'function') {
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
// Only Blink/Chromium evaluates SVG <filter> graphs inside `backdrop-filter: url(#id)`
|
|
44
|
+
// across live scrolling content; WebKit/Safari, all iOS browsers, and Gecko/Firefox either
|
|
45
|
+
// ignore url() backdrop filters or paint static/broken regions.
|
|
46
|
+
const isSafari = /Safari/i.test(ua) && !/(Chrome|Chromium|Edg|OPR)/i.test(ua);
|
|
47
|
+
const isIosBrowser = /(iPhone|iPad|iPod|CriOS|FxiOS|EdgiOS)/i.test(ua);
|
|
48
|
+
const isFirefox = /Firefox/i.test(ua);
|
|
49
|
+
if (isSafari || isIosBrowser || isFirefox) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
return Boolean(cssSupports('backdrop-filter', 'url(#x)'));
|
|
53
|
+
}
|
|
54
|
+
/** Resets the cached Chromium SVG backdrop-filter capability check (intended for tests). */
|
|
55
|
+
export function resetCapabilityCache() {
|
|
56
|
+
cachedSvgBackdropRefraction = undefined;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Returns whether the current browser reliably executes SVG `backdrop-filter: url(#id)`
|
|
60
|
+
* displacement refraction over live DOM content. Caches the global probe unless `env` is supplied.
|
|
61
|
+
*/
|
|
62
|
+
export function supportsSvgBackdropRefraction(env) {
|
|
63
|
+
if (env !== undefined) {
|
|
64
|
+
return evaluateSvgBackdropRefraction(env);
|
|
65
|
+
}
|
|
66
|
+
if (cachedSvgBackdropRefraction === undefined) {
|
|
67
|
+
cachedSvgBackdropRefraction = evaluateSvgBackdropRefraction();
|
|
68
|
+
}
|
|
69
|
+
return cachedSvgBackdropRefraction;
|
|
70
|
+
}
|
|
71
|
+
/** Queries `(prefers-reduced-motion: reduce)` safely in both browser and SSR environments. */
|
|
72
|
+
export function prefersReducedMotion(env) {
|
|
73
|
+
const matchMedia = resolveMatchMedia(env);
|
|
74
|
+
if (!matchMedia) {
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
return Boolean(matchMedia('(prefers-reduced-motion: reduce)')?.matches);
|
|
78
|
+
}
|
|
79
|
+
/** Subscribes to live `(prefers-reduced-motion: reduce)` changes and returns an idempotent disposer. */
|
|
80
|
+
export function observeReducedMotion(onChange, env) {
|
|
81
|
+
const matchMedia = resolveMatchMedia(env);
|
|
82
|
+
if (!matchMedia) {
|
|
83
|
+
return () => { };
|
|
84
|
+
}
|
|
85
|
+
const mql = matchMedia('(prefers-reduced-motion: reduce)');
|
|
86
|
+
if (!mql) {
|
|
87
|
+
return () => { };
|
|
88
|
+
}
|
|
89
|
+
let disposed = false;
|
|
90
|
+
const handleChange = (event) => {
|
|
91
|
+
if (disposed)
|
|
92
|
+
return;
|
|
93
|
+
const matches = typeof event?.matches === 'boolean' ? event.matches : mql.matches;
|
|
94
|
+
onChange(Boolean(matches));
|
|
95
|
+
};
|
|
96
|
+
if (typeof mql.addEventListener === 'function') {
|
|
97
|
+
mql.addEventListener('change', handleChange);
|
|
98
|
+
return () => {
|
|
99
|
+
if (disposed)
|
|
100
|
+
return;
|
|
101
|
+
disposed = true;
|
|
102
|
+
mql.removeEventListener('change', handleChange);
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
// Fallback for older Safari MediaQueryList instances that only implement addListener/removeListener.
|
|
106
|
+
if (typeof mql.addListener === 'function') {
|
|
107
|
+
mql.addListener(handleChange);
|
|
108
|
+
return () => {
|
|
109
|
+
if (disposed)
|
|
110
|
+
return;
|
|
111
|
+
disposed = true;
|
|
112
|
+
mql.removeListener(handleChange);
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
return () => {
|
|
116
|
+
disposed = true;
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
function getGlobalRequestAnimationFrame() {
|
|
120
|
+
if (typeof window !== 'undefined' && typeof window.requestAnimationFrame === 'function') {
|
|
121
|
+
return (cb) => window.requestAnimationFrame(cb);
|
|
122
|
+
}
|
|
123
|
+
if (typeof requestAnimationFrame === 'function') {
|
|
124
|
+
return requestAnimationFrame;
|
|
125
|
+
}
|
|
126
|
+
return null;
|
|
127
|
+
}
|
|
128
|
+
function getGlobalCancelAnimationFrame() {
|
|
129
|
+
if (typeof window !== 'undefined' && typeof window.cancelAnimationFrame === 'function') {
|
|
130
|
+
return (id) => window.cancelAnimationFrame(id);
|
|
131
|
+
}
|
|
132
|
+
if (typeof cancelAnimationFrame === 'function') {
|
|
133
|
+
return cancelAnimationFrame;
|
|
134
|
+
}
|
|
135
|
+
return null;
|
|
136
|
+
}
|
|
137
|
+
/** Collects runtime capabilities required by `GlassSurfaceController`. */
|
|
138
|
+
export function detectSurfaceCapabilities(env) {
|
|
139
|
+
return {
|
|
140
|
+
svgBackdropRefraction: supportsSvgBackdropRefraction(env),
|
|
141
|
+
reducedMotion: prefersReducedMotion(env),
|
|
142
|
+
resizeObserver: typeof ResizeObserver === 'function',
|
|
143
|
+
requestAnimationFrame: getGlobalRequestAnimationFrame() !== null,
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Resolves the effective surface render mode after applying progressive enhancement
|
|
148
|
+
* downgrades (`refract` -> `frosted` when SVG backdrop refraction is unsupported).
|
|
149
|
+
*/
|
|
150
|
+
export function resolveEffectiveRenderMode(requested, capabilities, options) {
|
|
151
|
+
if (requested === 'solid') {
|
|
152
|
+
return 'solid';
|
|
153
|
+
}
|
|
154
|
+
if (requested === 'refract' &&
|
|
155
|
+
(!capabilities.svgBackdropRefraction ||
|
|
156
|
+
(options?.disableRefractOnReducedMotion === true && capabilities.reducedMotion))) {
|
|
157
|
+
return 'frosted';
|
|
158
|
+
}
|
|
159
|
+
return requested;
|
|
160
|
+
}
|
|
161
|
+
/** Schedules an animation frame safely in browser and SSR runtimes. */
|
|
162
|
+
export function scheduleAnimationFrame(cb, scheduler) {
|
|
163
|
+
if (scheduler?.requestAnimationFrame) {
|
|
164
|
+
return scheduler.requestAnimationFrame(cb);
|
|
165
|
+
}
|
|
166
|
+
const raf = getGlobalRequestAnimationFrame();
|
|
167
|
+
return raf ? raf(cb) : 0;
|
|
168
|
+
}
|
|
169
|
+
/** Cancels a scheduled animation frame safely when `id` is non-zero. */
|
|
170
|
+
export function cancelAnimationFrameSafe(id, scheduler) {
|
|
171
|
+
if (!id)
|
|
172
|
+
return;
|
|
173
|
+
if (scheduler?.cancelAnimationFrame) {
|
|
174
|
+
scheduler.cancelAnimationFrame(id);
|
|
175
|
+
return;
|
|
176
|
+
}
|
|
177
|
+
const caf = getGlobalCancelAnimationFrame();
|
|
178
|
+
caf?.(id);
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* Creates a start/stop `requestAnimationFrame` driver with delta-time clamping
|
|
182
|
+
* and stale-callback cancellation guards.
|
|
183
|
+
*/
|
|
184
|
+
export function createFrameLoop(tick, options) {
|
|
185
|
+
const maxDtSec = options?.maxDtSec !== undefined && Number.isFinite(options.maxDtSec) && options.maxDtSec > 0
|
|
186
|
+
? options.maxDtSec
|
|
187
|
+
: DEFAULT_MAX_DT_SEC;
|
|
188
|
+
const scheduler = options?.scheduler;
|
|
189
|
+
const nowFn = scheduler?.now ??
|
|
190
|
+
(typeof performance !== 'undefined' && typeof performance.now === 'function'
|
|
191
|
+
? () => performance.now()
|
|
192
|
+
: () => Date.now());
|
|
193
|
+
let running = false;
|
|
194
|
+
let rafId = 0;
|
|
195
|
+
let lastTsMs = 0;
|
|
196
|
+
let runToken = 0;
|
|
197
|
+
const stop = () => {
|
|
198
|
+
if (!running && !rafId)
|
|
199
|
+
return;
|
|
200
|
+
running = false;
|
|
201
|
+
runToken += 1;
|
|
202
|
+
if (rafId) {
|
|
203
|
+
const idToCancel = rafId;
|
|
204
|
+
rafId = 0;
|
|
205
|
+
cancelAnimationFrameSafe(idToCancel, scheduler);
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
const start = () => {
|
|
209
|
+
if (running)
|
|
210
|
+
return;
|
|
211
|
+
running = true;
|
|
212
|
+
runToken += 1;
|
|
213
|
+
const token = runToken;
|
|
214
|
+
lastTsMs = nowFn();
|
|
215
|
+
const step = (nowMs) => {
|
|
216
|
+
if (!running || token !== runToken) {
|
|
217
|
+
return;
|
|
218
|
+
}
|
|
219
|
+
const rawDtSec = (nowMs - lastTsMs) / 1000;
|
|
220
|
+
const dtSec = Number.isFinite(rawDtSec) ? Math.min(maxDtSec, Math.max(0, rawDtSec)) : 0;
|
|
221
|
+
lastTsMs = nowMs;
|
|
222
|
+
rafId = 0;
|
|
223
|
+
const result = tick(dtSec, nowMs);
|
|
224
|
+
if (token !== runToken) {
|
|
225
|
+
// Tick stopped and/or started a newer loop generation; never clobber the replacement.
|
|
226
|
+
return;
|
|
227
|
+
}
|
|
228
|
+
if (!running || result === false) {
|
|
229
|
+
stop();
|
|
230
|
+
return;
|
|
231
|
+
}
|
|
232
|
+
rafId = scheduleAnimationFrame(step, scheduler);
|
|
233
|
+
if (!rafId) {
|
|
234
|
+
// SSR / unavailable rAF: exit running state rather than leaking an unscheduled loop.
|
|
235
|
+
running = false;
|
|
236
|
+
}
|
|
237
|
+
};
|
|
238
|
+
rafId = scheduleAnimationFrame(step, scheduler);
|
|
239
|
+
if (!rafId) {
|
|
240
|
+
running = false;
|
|
241
|
+
}
|
|
242
|
+
};
|
|
243
|
+
return {
|
|
244
|
+
start,
|
|
245
|
+
stop,
|
|
246
|
+
isRunning: () => running,
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* Measures an element's layout border-box size in logical CSS pixels without
|
|
251
|
+
* transform distortion when `ResizeObserverEntry.borderBoxSize` is available.
|
|
252
|
+
*/
|
|
253
|
+
export function measureElementBorderBox(el, entry) {
|
|
254
|
+
const box = entry?.borderBoxSize?.[0];
|
|
255
|
+
if (box &&
|
|
256
|
+
Number.isFinite(box.inlineSize) &&
|
|
257
|
+
Number.isFinite(box.blockSize) &&
|
|
258
|
+
(box.inlineSize > 0 || box.blockSize > 0)) {
|
|
259
|
+
return {
|
|
260
|
+
width: Math.max(0, box.inlineSize),
|
|
261
|
+
height: Math.max(0, box.blockSize),
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
const contentRect = entry?.contentRect;
|
|
265
|
+
if (contentRect &&
|
|
266
|
+
Number.isFinite(contentRect.width) &&
|
|
267
|
+
Number.isFinite(contentRect.height) &&
|
|
268
|
+
(contentRect.width > 0 || contentRect.height > 0)) {
|
|
269
|
+
return {
|
|
270
|
+
width: Math.max(0, contentRect.width),
|
|
271
|
+
height: Math.max(0, contentRect.height),
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
if (typeof el.getBoundingClientRect === 'function') {
|
|
275
|
+
const rect = el.getBoundingClientRect();
|
|
276
|
+
return {
|
|
277
|
+
width: Number.isFinite(rect.width) ? Math.max(0, rect.width) : 0,
|
|
278
|
+
height: Number.isFinite(rect.height) ? Math.max(0, rect.height) : 0,
|
|
279
|
+
};
|
|
280
|
+
}
|
|
281
|
+
return { width: 0, height: 0 };
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* Observes border-box size changes on `el`, suppressing sub-pixel jitter below 0.01px,
|
|
285
|
+
* and returns an idempotent cleanup callback.
|
|
286
|
+
*/
|
|
287
|
+
export function observeElementResize(el, onResize, options) {
|
|
288
|
+
const RO = options?.ResizeObserverCtor ??
|
|
289
|
+
(typeof ResizeObserver === 'function' ? ResizeObserver : undefined);
|
|
290
|
+
let disposed = false;
|
|
291
|
+
let lastWidth = Number.NaN;
|
|
292
|
+
let lastHeight = Number.NaN;
|
|
293
|
+
const emitIfChanged = (size) => {
|
|
294
|
+
if (disposed || !Number.isFinite(size.width) || !Number.isFinite(size.height)) {
|
|
295
|
+
return;
|
|
296
|
+
}
|
|
297
|
+
const w = Math.max(0, size.width);
|
|
298
|
+
const h = Math.max(0, size.height);
|
|
299
|
+
if (Number.isFinite(lastWidth) &&
|
|
300
|
+
Number.isFinite(lastHeight) &&
|
|
301
|
+
Math.abs(w - lastWidth) < RESIZE_EPSILON_PX &&
|
|
302
|
+
Math.abs(h - lastHeight) < RESIZE_EPSILON_PX) {
|
|
303
|
+
return;
|
|
304
|
+
}
|
|
305
|
+
lastWidth = w;
|
|
306
|
+
lastHeight = h;
|
|
307
|
+
onResize({ width: w, height: h });
|
|
308
|
+
};
|
|
309
|
+
if (options?.emitInitial) {
|
|
310
|
+
emitIfChanged(measureElementBorderBox(el));
|
|
311
|
+
}
|
|
312
|
+
if (!RO) {
|
|
313
|
+
return () => {
|
|
314
|
+
disposed = true;
|
|
315
|
+
};
|
|
316
|
+
}
|
|
317
|
+
const observer = new RO((entries) => {
|
|
318
|
+
if (disposed || entries.length === 0)
|
|
319
|
+
return;
|
|
320
|
+
let matchedEntry;
|
|
321
|
+
for (let i = 0; i < entries.length; i++) {
|
|
322
|
+
if (entries[i]?.target === el) {
|
|
323
|
+
matchedEntry = entries[i];
|
|
324
|
+
break;
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
emitIfChanged(measureElementBorderBox(el, matchedEntry ?? entries[0]));
|
|
328
|
+
});
|
|
329
|
+
observer.observe(el, { box: 'border-box' });
|
|
330
|
+
return () => {
|
|
331
|
+
if (disposed)
|
|
332
|
+
return;
|
|
333
|
+
disposed = true;
|
|
334
|
+
observer.disconnect();
|
|
335
|
+
};
|
|
336
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure standard CSS optical surface extraction and material composition for `@sessile/dom`.
|
|
3
|
+
*
|
|
4
|
+
* Reads only standard DOM computed styles (`backdrop-filter`, `background-color`,
|
|
5
|
+
* `border-top-*`, `box-shadow`, `border-top-left-radius`, `color-scheme`) without any
|
|
6
|
+
* host-specific CSS custom properties.
|
|
7
|
+
*
|
|
8
|
+
* SPDX-License-Identifier: MPL-2.0
|
|
9
|
+
*/
|
|
10
|
+
import { type BackdropVeilOptics, type ExtractedCssGlassSurface, type OpticalMaterial, type OpticalPresetVariant, type ThemeMode } from '@sessile/core';
|
|
11
|
+
export interface MeasuredCssGlassSurface {
|
|
12
|
+
surface: ExtractedCssGlassSurface;
|
|
13
|
+
backgroundRgba: [number, number, number, number];
|
|
14
|
+
blurPx: number | null;
|
|
15
|
+
saturation: number | null;
|
|
16
|
+
borderRadiusPx: number;
|
|
17
|
+
theme: ThemeMode;
|
|
18
|
+
}
|
|
19
|
+
export interface ResolveElementThemeOptions {
|
|
20
|
+
fallbackTheme?: ThemeMode;
|
|
21
|
+
getComputedStyle?: (el: Element) => CSSStyleDeclaration;
|
|
22
|
+
matchMedia?: ((query: string) => MediaQueryList | null) | null;
|
|
23
|
+
}
|
|
24
|
+
export interface ReadElementGlassSurfaceOptions extends ResolveElementThemeOptions {
|
|
25
|
+
/** Attribute temporarily stripped while reading resting computed styles (defaults to `'data-sessile-morphing'`). */
|
|
26
|
+
temporarilyClearAttribute?: string | null;
|
|
27
|
+
}
|
|
28
|
+
export interface BuildMaterialFromCssSurfaceOptions {
|
|
29
|
+
theme?: ThemeMode;
|
|
30
|
+
preset?: OpticalPresetVariant;
|
|
31
|
+
baseMaterial?: OpticalMaterial;
|
|
32
|
+
overrides?: Partial<OpticalMaterial>;
|
|
33
|
+
}
|
|
34
|
+
export interface BuildBackdropFilterCssParams {
|
|
35
|
+
blurPx: number;
|
|
36
|
+
saturation?: number;
|
|
37
|
+
veil?: BackdropVeilOptics;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Resolves the active light/dark theme for `el` using standard DOM attributes,
|
|
41
|
+
* `color-scheme`, `(prefers-color-scheme: light)`, and finally `fallbackTheme`.
|
|
42
|
+
*/
|
|
43
|
+
export declare function resolveElementTheme(el?: Element | null, options?: ResolveElementThemeOptions): ThemeMode;
|
|
44
|
+
/** Extracts the CSS `blur(<num>px)` (or `blur(0)`) radius from a filter string, or `null`. */
|
|
45
|
+
export declare function parseCssBackdropBlur(filterStr: string): number | null;
|
|
46
|
+
/** Extracts the cumulative `saturate(...)` multiplier from a CSS filter string, or `null`. */
|
|
47
|
+
export declare function parseCssBackdropSaturate(filterStr: string): number | null;
|
|
48
|
+
/**
|
|
49
|
+
* Reads resting computed glass optical properties from `el` using standard CSS properties only.
|
|
50
|
+
* Temporarily strips `temporarilyClearAttribute` (with transitions suppressed) so resting styles
|
|
51
|
+
* can be sampled cleanly even if an active morph rule overrides visual styles.
|
|
52
|
+
*/
|
|
53
|
+
export declare function readElementGlassSurface(el: HTMLElement, options?: ReadElementGlassSurfaceOptions): MeasuredCssGlassSurface;
|
|
54
|
+
/**
|
|
55
|
+
* Builds a complete `OpticalMaterial` from a measured CSS glass surface and explicit theme/preset defaults.
|
|
56
|
+
* Keeps `veil` (`brightness`/`contrast` affine optics) separate from `OpticalMaterial.contrast`, which
|
|
57
|
+
* represents a signed shader offset rather than a CSS filter multiplier.
|
|
58
|
+
*/
|
|
59
|
+
export declare function buildMaterialFromCssSurface(measured: MeasuredCssGlassSurface, options?: BuildMaterialFromCssSurfaceOptions): OpticalMaterial;
|
|
60
|
+
/** Formats normalized `[0..1]` RGBA channels into a standard CSS `rgba(...)` string. */
|
|
61
|
+
export declare function formatRgbaCss(rgba: readonly [number, number, number, number]): string;
|
|
62
|
+
/** Formats normalized `[0..1]` RGBA into an opaque `rgb(...)` background for `'solid'` fallback mode. */
|
|
63
|
+
export declare function formatOpaqueSolidCss(rgba: readonly [number, number, number, number], theme: ThemeMode): string;
|
|
64
|
+
/** Composes a standard CSS `backdrop-filter` declaration preserving affine brightness/contrast ordering. */
|
|
65
|
+
export declare function buildBackdropFilterCss({ blurPx, saturation, veil, }: BuildBackdropFilterCssParams): string;
|