@inf-monkeys-tech/monkeys-design 1.0.111 → 1.0.112

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.
@@ -496,7 +496,13 @@ function mergeStyles(...sources) {
496
496
  );
497
497
  }
498
498
  function getPresetDefaults(preset) {
499
- return presetDefaults[preset] ?? presetDefaults.default;
499
+ const defaults = presetDefaults[preset];
500
+ if (!defaults) {
501
+ throw new TypeError(
502
+ `Unknown Data Explorer theme preset "${String(preset)}". Expected one of: ${Object.keys(presetDefaults).join(", ")}.`
503
+ );
504
+ }
505
+ return defaults;
500
506
  }
501
507
  function resolveDataExplorerAppearance(appearance) {
502
508
  const preset = appearance?.preset ?? "default";