@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.
@@ -519,7 +519,13 @@ function mergeStyles(...sources) {
519
519
  );
520
520
  }
521
521
  function getPresetDefaults(preset) {
522
- return presetDefaults[preset] ?? presetDefaults.default;
522
+ const defaults = presetDefaults[preset];
523
+ if (!defaults) {
524
+ throw new TypeError(
525
+ `Unknown Data Explorer theme preset "${String(preset)}". Expected one of: ${Object.keys(presetDefaults).join(", ")}.`
526
+ );
527
+ }
528
+ return defaults;
523
529
  }
524
530
  function resolveDataExplorerAppearance(appearance) {
525
531
  const preset = appearance?.preset ?? "default";