@pathscale/ui 2.7.0 → 2.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/layouts.manifest.json +1 -1
- package/dist/styles/glass.d.ts +12 -2
- package/package.json +1 -1
package/dist/styles/glass.d.ts
CHANGED
|
@@ -68,8 +68,18 @@ export declare const GLASS_LIMITS: {
|
|
|
68
68
|
readonly max: 1;
|
|
69
69
|
};
|
|
70
70
|
};
|
|
71
|
-
/**
|
|
72
|
-
|
|
71
|
+
/**
|
|
72
|
+
* What the shipped themes use. Both land on the same numbers.
|
|
73
|
+
*
|
|
74
|
+
* Typed with every axis required, unlike `GlassTuning` itself. A theme may
|
|
75
|
+
* leave `controlTint` unset, but the defaults are what an unset axis resolves
|
|
76
|
+
* *to*, so there is nothing left to be undefined here. Typed as a plain
|
|
77
|
+
* `GlassTuning` it read back as `number | undefined` for callers that index it
|
|
78
|
+
* by a computed axis - `GLASS_DEFAULTS[mode][axis]`, which is exactly how a
|
|
79
|
+
* settings panel drives one slider per axis - and every one of those call sites
|
|
80
|
+
* broke on a value this object never contains.
|
|
81
|
+
*/
|
|
82
|
+
export declare const GLASS_DEFAULTS: Record<GlassMode, Required<GlassTuning>>;
|
|
73
83
|
/**
|
|
74
84
|
* The `--glass-*` custom properties three numbers imply.
|
|
75
85
|
*
|