@tempots/ui 13.2.0 → 14.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tempots/ui",
3
- "version": "13.2.0",
3
+ "version": "14.0.0",
4
4
  "type": "module",
5
5
  "main": "./index.cjs",
6
6
  "module": "./index.js",
@@ -40,7 +40,7 @@
40
40
  "@floating-ui/dom": "^1.7.1"
41
41
  },
42
42
  "peerDependencies": {
43
- "@tempots/dom": "^34.2.0",
43
+ "@tempots/dom": "^35.0.0",
44
44
  "@tempots/std": "^0.24.0"
45
45
  }
46
46
  }
@@ -1,4 +1,4 @@
1
- import { Provider, Signal, Value } from '@tempots/dom';
1
+ import { Provider, Signal, SplitValue } from '@tempots/dom';
2
2
  import { LocationData } from './location-data';
3
3
  import { NavigationOptions } from './navigation-options';
4
4
  export type { NavigationOptions } from './navigation-options';
@@ -115,7 +115,7 @@ export type LocationHandle = {
115
115
  /**
116
116
  * Returns a reactive signal that mirrors the result of `match`.
117
117
  */
118
- matchSignal: (matcher: Value<string | RegExp | ((location: LocationData) => boolean)>, options?: LocationMatchOptions) => Signal<boolean>;
118
+ matchSignal: (matcher: SplitValue<string | RegExp | ((location: LocationData) => boolean)>, options?: LocationMatchOptions) => Signal<boolean>;
119
119
  };
120
120
  /**
121
121
  * Draft object provided inside `LocationHandle.run` for staged updates.