@pathscale/ui 2.7.0 → 2.7.2

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.
@@ -195,7 +195,7 @@
195
195
  .ui-select__trigger,
196
196
  .language-switcher__trigger,
197
197
  .dropdown__trigger,
198
- .toggle__track,
198
+ .switch__control,
199
199
  [data-control-material="solid"]
200
200
  ):not([data-control-material="glass"]) {
201
201
  background-color: rgb(
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "format": "solid-layouts-library-v2",
3
3
  "package": "@pathscale/ui",
4
- "version": "2.7.0",
4
+ "version": "2.7.2",
5
5
  "components": {
6
6
  "Accordion": {
7
7
  "kind": "embedded"
@@ -68,8 +68,18 @@ export declare const GLASS_LIMITS: {
68
68
  readonly max: 1;
69
69
  };
70
70
  };
71
- /** What the shipped themes use. Both land on the same numbers. */
72
- export declare const GLASS_DEFAULTS: Record<GlassMode, GlassTuning>;
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
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pathscale/ui",
3
- "version": "2.7.0",
3
+ "version": "2.7.2",
4
4
  "author": "pathscale",
5
5
  "repository": {
6
6
  "type": "git",