@tempots/ui 4.1.3 → 4.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tempots/ui",
3
- "version": "4.1.3",
3
+ "version": "4.2.1",
4
4
  "type": "module",
5
5
  "main": "./index.cjs",
6
6
  "module": "./index.js",
@@ -24,12 +24,12 @@ export type PopOverOptions = {
24
24
  * Specifies the placement of the PopOver.
25
25
  * This is an optional property.
26
26
  */
27
- readonly placement?: Placement;
27
+ readonly placement?: Value<Placement>;
28
28
  /**
29
29
  * Specifies the offset of the PopOver.
30
30
  * This is an optional property.
31
31
  */
32
- readonly offset?: {
32
+ readonly offset?: Value<{
33
33
  /**
34
34
  * Specifies the offset on the main axis.
35
35
  */
@@ -38,7 +38,7 @@ export type PopOverOptions = {
38
38
  * Specifies the offset on the cross axis.
39
39
  */
40
40
  readonly crossAxis?: number;
41
- };
41
+ }>;
42
42
  };
43
43
  /**
44
44
  * Renders a PopOver component.
@@ -47,4 +47,4 @@ export type PopOverOptions = {
47
47
  * @returns The rendered PopOver component.
48
48
  * @public
49
49
  */
50
- export declare const PopOver: ({ content, open, placement, offset: { mainAxis, crossAxis }, }: PopOverOptions) => import('@tempots/dom').Renderable;
50
+ export declare const PopOver: ({ content, open, placement: placementOption, offset, }: PopOverOptions) => import('@tempots/dom').Renderable;